How to enable port 587 (submission) in postfix

How to enable port 587 (submission) in postfix

Some internet access providers have port 25 disabled in their routers to prevent spam. If you run your own email server in a data center, you might have to enable the submission port (587) in postfix to be able to send emails from your local email client to your own mail server.

Enable Submission Port 587 in Postfix

To enable port 587, edit the file /etc/postfix/master.cf

nano /etc/postfix/master.cf

and remove the # in front of the line:

# submission inet n - y - - smtpd

so that it looks like this:

Sponsored
submission inet n - y - - smtpd

and restart postfix:

systemctl restart postfix
Sponsored

The post How to enable port 587 (submission) in postfix appeared first on FAQforge.


Discover more from Ubuntu-Server.com

Subscribe to get the latest posts sent to your email.

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply