Linode Forum
https://forum.linode.com/

Email server can receive but not send
https://forum.linode.com/viewtopic.php?f=11&t=3844
Page 1 of 1

Author:  joshsmoore [ Sat Jan 24, 2009 9:38 am ]
Post subject:  Email server can receive but not send

Hi, I am a complete beginner and I have worked through a tutorial to setup an email server. I am using ubuntu 8.10 and I have setup an email server using postfix and courier. I have setup my DNS so that mail.codingforrent.com points to both my SMTP and pop3 server (the same machine). I have set up Thunderbird for this account and I can receive email no problem. The problem is when I go to send email I get this error message (from Thunderbird) "The message could not be sent because connecting to SMTP server mail.codingforrent.com failed. The server may be unavailable or is refusing SMTP connections." I can use telnet to access mail.codingforrent.com (on port 25). But, I am not sure why Thunderbird cannot. In addition when I check the logs I do not see any messages of an attempt to send. Does anybody have any ideas of what might be going on?

Author:  hybinet [ Sat Jan 24, 2009 3:20 pm ]
Post subject: 

Is your firewall blocking connections from your home to your linode's port 25? (This is different from telnet'ing from the same machine.)

Does your ISP block port 25? (Many ISP's do. In that case you need to set up Postfix to listen to a different port.)

Author:  Stever [ Sat Jan 24, 2009 3:32 pm ]
Post subject: 

Your server looks fine to me - I think it is probably your client machine that is causing your problems.

Try disabling any local firewall on the client machine?

Are you telnetting from the client machine, or from the server itself?

P.S. Once you get things working, for security you should consider disabling plaintext auth unless you make a TLS connection:

smtpd_tls_auth_only = yes

Author:  Vance [ Sat Jan 24, 2009 11:54 pm ]
Post subject: 

Authenticated mail submission is typically done on port 587 now, so you should make sure your firewall permits that. A quick test shows that you currently are not allowing connections to 587.

Author:  joshsmoore [ Thu Jan 29, 2009 9:17 am ]
Post subject: 

Thanks, the problem was on the client side. Thanks for the help in fixing that. Sorry for the slow response (I am actually on vacation).

Thanks again!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/