Thunderbird unable to use imap servers tunneled from localhost on some machines



12 years ago
10 years ago


(Reporter: Dewey Sasser, Assigned: Scott MacGregor)


Windows XP

Firefox Tracking Flags

(Not tracked)


(Whiteboard: CLOSEME 2008-04-16)



12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20060508 Firefox/
Build Identifier: Thunderbird/

On a machine provided by my company and through the company network...

I have ports 143 and 25 tunneled via cygwin ssh from my local machine to my server.  Thunderbird and below have no problem with this configuration when the "mail server" is set to "localhost".  

When T-bird upgraded to automatically I now get the message "Could not connect to mail server localhost; the connection was refused."  I get the same message when I use "" as server name.

I verified the same behavior with a new profile and on the latest nightly build "version 3 alpha 1 (20060604)" with both old and new profiles.

On a machine within my home network the same tunneling appears to work without a problem in

Reproducible: Always

Steps to Reproduce:
1. set up local ssh tunnel redirecting imap and smtp.
(here is the excerpt from my ~/.ssh/config file)
Host hometunnel
User me
Compression yes
TCPKeepAlive yes
LocalForward 25 mail:25
LocalForward 143 mail:143
2. (probably optional) Install Thunderbird  Create a profile with mail server "localhost" for both incoming and outgoing and server type imap.  Observe  that a connection is made and mail is retrieved.
3. Install Thunderbird or version 3 alpha (20060604).  Start Thunderbird on the same profile or create a new profile. Observe that the connection is reportedly refused.
4. Downgrade to Thundebird  Verify that the mail is still retrieved.

Actual Results:  
see above

Expected Results:  
see above

If you have any suggestions about the possible differences in environment I'd be happy to investigate from this end.

Comment 1

12 years ago
Are you sure there isn't another app binding to those ports on localhost? Are the ports available?
Version: unspecified → 1.5

Comment 2

12 years ago
>Are you sure there isn't another app binding to those ports on localhost? Are
the ports available?

Yes.  I don't change the tunneling configuration between runs of T-bird.  Also, even while T-bird refuses to connect I can telnet to the appropriate port and see the mail server greeting messages.
Dewey, could you please check to see if the issue still occurs in the latest supported version or trunk nightlies?
Whiteboard: CLOSEME 2008-04-16
No information for ~3 weeks since last comment, resolving incomplete.

Please comment if the issue still occurs in the latest supported 2.0.0.x or trunk nightlies.
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.