Difference between revisions of "Setting up a mail server on port 587"

From Linuxintro
imported>ThorstenStaerk
(Created page with "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. Po...")
 
 
Line 3: Line 3:
 
and restart postfix:
 
and restart postfix:
 
  /etc/init.d/postfix restart
 
  /etc/init.d/postfix restart
 +
 +
Then you set up your mail client to do TLS (accept all certificates) via port 587 and require authentication.

Latest revision as of 18:36, 14 November 2015

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.