I set up a Postfix server on my Ubuntu VPS and it works for sending email from the
When I try to set up my server (borogov.es) with my mail client, and I use “mail.borogov.es” as my outgoing mail server, I get “Server not responding.” I feel like this is an access issue of some sort, but I’m not sure.
I’m not running a firewall. What could be going on?
You should not be attempting to send mail from your email client on port 25; rather using 587 (the standard submission port). Port 25 is meant for transfer between mail servers, and many home ISPs block it to reduce spam from compromised home computers.
Your Postfix server isn’t listening on port 587:
$ telnet mail.borogov.es 587 Trying 22.214.171.124... telnet: connect to address 126.96.36.199: Connection refused
This means you probably forgot to set up a
submission section in Postfix’s
master.cf configuration file. It should look something like:
submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.