Closed Bug 318481 Opened 20 years ago Closed 15 years ago

[rfe] thunderbird should support imap over ssh

Categories

(MailNews Core :: Networking, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 200864

People

(Reporter: desrt, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051123 Ubuntu/1.4.99+1.5rc3.dfsg-1ubuntu3 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051123 Ubuntu/1.4.99+1.5rc3.dfsg-1ubuntu3 Firefox/1.5 A number of mail clients support the concept of executing a shell command in order to connect to an IMAP server. Ximian Evolution, for example, allows you to specify a command with a default something like: ssh -C -l %u %h exec /usr/sbin/imapd which will log you into a remote host over ssh and invoke the imapd server locally. If you run imapd as a logged-in user then you get something like: * PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED NAMESPACE] Logged in as desrt and you are preauthenticated (since obviously if you ran imapd as you then you've already authenticated as yourself somehow). From this point the mail client can issue commands to the spawned process as if it were a socket connected to a remote IMAP server. If you have ssh-agent setup or a passwordless RSA key (ow) then this is extremely convenient. Even if you don't then ssh-askpass is invoked which pops up a dialog asking for your passphrase or password. Thunderbird should support this. It's extremely convenient and secure (like most things that use SSH are). Reproducible: Always Steps to Reproduce:
Related to Core bug 136129?
No. This is different. Bug bug 136129 uses the port-forwarding mechanism of SSH to send the data through a sideband channel of the SSH session. Normal TCP/IP sockets are used. What is being requested in this bug sends the data through the primary SSH dataflow. It essentially uses SSH as a serial protocol for communicating IMAP. If you ignore the fact that, ultimately, SSH is implimented over TCP then from the viewpoint of the email client TCP isn't used at all.
Assignee: mscott → nobody
Component: General → Networking
Product: Thunderbird → MailNews Core
QA Contact: general → mailnews.networking
Seems like a feature that would get some frustrated Evolution users to move to Thunderbird, see http://www.advogato.org/person/dwmw2/diary/202.html
Status: UNCONFIRMED → NEW
Ever confirmed: true
Since any framework to open a connection via SSH would likely be multiprotocol, this seems a duplicate of bug 200864 to me.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
What is being asked here is to allow specification of an (arbitrary) external command to connect to the IMAP/POP/whatever server, instead of a hostname/port pair (and proxy). TB would then execute the command and use its standard input/output instead of opening a socket to the server. Even if said command would typically be SSH, it has nothing to do with SSH from Thunderbird's point of view. Like the "ProxyCommand" option of SSH. This bug is NOT a duplicate of bug 200864, which is a wishlist of many (unprecise) features about SSH integration.
You need to log in before you can comment on or make changes to this bug.