Postfix listing on additional port?

3 posts / 0 new
Last post
#1 Mon, 05/01/2006 - 23:55
DaveK

Postfix listing on additional port?

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?

Tue, 05/02/2006 - 07:54
Joe
Joe's picture

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!

Tue, 05/02/2006 - 09:34
DaveK

Thanks Joe -- used the command line and it worked perfectly.

Topic locked