Author Topic: Second SMTP port  (Read 9731 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
Second SMTP port
« on: July 26, 2017, 02:58:02 PM »
Hello.

I want to configure postifx to use 2525 as second SMTP port.
I added in master.cf line

smtp      inet  n       -       n       -       -       smtpd
2525      inet  n       -       n       -       -       smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings

Problem is that every rebuild postfix configuration line
2525      inet  n       -       n       -       -       smtpd

is removed.

How can set up it permanently ?
Is ./usr/libexec/postfix/master.cf file
is used for rebuild ??
« Last Edit: July 26, 2017, 02:59:57 PM by become »

Offline
*
Re: Second SMTP port
« Reply #1 on: July 26, 2017, 03:36:26 PM »
idea of rebuild of the configuration is to get all default settings so that how this needs to be done.
Since you need different custom configuration after rebuild the you need to make custom script which you can execute after rebuild or do it manually.

Why would you even need to rebuild configuration after your changes if all works.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Second SMTP port
« Reply #2 on: April 14, 2018, 09:57:47 PM »
Hello.

I want to configure postifx to use 2525 as second SMTP port.
I added in master.cf line

smtp      inet  n       -       n       -       -       smtpd
2525      inet  n       -       n       -       -       smtpd
  -o content_filter=smtp-amavis:127.0.0.1:10024
  -o receive_override_options=no_address_mappings

Problem is that every rebuild postfix configuration line
2525      inet  n       -       n       -       -       smtpd

is removed.

How can set up it permanently ?
Is ./usr/libexec/postfix/master.cf file
is used for rebuild ??
Why you want to change port?