How to change smpt port in postfix?

To change the smtp port for postfix from 25 to 1025, you can follow the steps given below:

===
1. Open the file master.cf

vi /etc/postfix/master.cf

2. Enter the line

1025 inet n – n – – smtpd

3. Restart postfix

/etc/init.d/postfix restart
===

You must make sure that the port 1025 is not blocked in the server firewall.

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: