Enabling Port 465 on a Postfix Mail Server

Configuring a mail server can become more challenging due to the default port used for mail delivery (port 25), which is increasingly blocked by internet service providers. To overcome this issue and enable both sending and receiving emails using IMAP/POP/SMTP, you can activate port 465 (smtps) in Postfix.

To do this, edit the file « /etc/postfix/ » 

Remove the # at the beginning of the following line:

#smtps     inet  n       -       -       -       -       smtpd

Save the file, then restart Postfix using the following command:

/etc/init.d/postfix restart

You should now be able to send emails via SMTP using port 465.

Categories : Linux

By Guillaume - 12/19/2013 at 11:01 pm

Shar this article :

Similar articles

How to resolve the Possible attack detected message in ISPConfig ?

If you are managing a web server with ISPConfig, you may encounter the warning message "Possible attack detected. This action has been logged." on the web interface, making access impossible. This alert can be triggered for various reasons, but its resolution is simple. Here's how to resolve...

Postfix : Fixing email sending issues to Gmail due to IPv6

If you are unable to send emails to Gmail addresses from your server and you encounter the following error, it is likely a configuration issue if you have both IPv4 and IPv6: Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and...

Automatically Start Node.js on Server Boot

If you've ever created programs using Node.js, you've probably encountered this issue: Node.js scripts don't automatically restart when you reboot your server. Therefore, you need to manually reconnect to restart them, which can be quite inconvenient. Here's a small shell script that allows you to...