From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020205 BuildID: 0.9.8 I use Ssh forwarding to get into my employer's network for mail reading via IMAP and sending via SMTP. But sending via SMTP over forwarded connection doesn't work because Mozilla ignores smtp port config. I have the following line in my prefs.js (I'm not sure anymore where I found this originally or if it ever worked). user_pref("mail.smtpserver.smtp1.port", 10025); Mozilla seems to ignore this as mail goes out via my local sendmail on port 25. I didn't notice this for a long time as it's only a problem when I try to send to some company mailing lists that can only be reached from my company's internal network. Reproducible: Always Steps to Reproduce: 1. set up an ssh forwarded connection to some other mail server, i.e. "ssh -L 10025:smtp.someco.com:25 somehost.someco.com" 2. put this line in your prefs.js user_pref("mail.smtpserver.smtp1.port", 10025); 3. send some mail and check your logs or the 'Received' headers to see where it actually went Actual Results: goes out via my local sendmail on port 25 Expected Results: should never hit my local sendmail, instead go to smtp relay at my company.
dup of 52330 Support non-default SMTP Port *** This bug has been marked as a duplicate of 52330 ***