This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Several email users have ISP's which block port 25 for connecting to SMTP servers. Is there any way to set Postfix to listen on an additional port, say 2525?
Transport Type: Internet
Enabled: Yes
Server name/port: 2525
Process command: smtpd (if using smtpd auth, you would use the Process command "smtpd -o smtpd_sasl_auth_enable=yes")
Private to mail system?: No
Run as Postfix user?: Default (Yes)
Chroot to mail queue directory?: No
Automatically wake up process?: Default
Maximum processes: Default
Save it. Restart postfix. Test it.
Also, if you're not afraid of the command line, you might find it easier just to open up the /etc/postfix/master.cf file and duplicate the smtp line like so (this example includes the smtp auth):
<i>smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes
2525 inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes</i>
Hey Dave,
Yep. And it's pretty easy to do.
In the Postfix module, click on Server Processes.
Click on "Add a new server process"
Fill in the following:
Transport Type: Internet
Enabled: Yes
Server name/port: 2525
Process command: smtpd (if using smtpd auth, you would use the Process command "smtpd -o smtpd_sasl_auth_enable=yes")
Private to mail system?: No
Run as Postfix user?: Default (Yes)
Chroot to mail queue directory?: No
Automatically wake up process?: Default
Maximum processes: Default
Save it. Restart postfix. Test it.
Also, if you're not afraid of the command line, you might find it easier just to open up the /etc/postfix/master.cf file and duplicate the smtp line like so (this example includes the smtp auth):
<i>smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes
2525 inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes</i>
--
Check out the forum guidelines!
Thanks Joe -- used the command line and it worked perfectly.