Setting up a mail server on port 587

From Linuxintro
Revision as of 18:36, 14 November 2015 by 77.2.177.237 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

When you set up your mail server for sending you might find out that your internet service provider has blocked port 25. In this case it is useful to use port 587 instead. Port 587's application is called submission. To do this, add the following line to /etc/postfix/master.cf:

submission inet n       -       n       -       -       smtpd

and restart postfix:

/etc/init.d/postfix restart

Then you set up your mail client to do TLS (accept all certificates) via port 587 and require authentication.