Control Web Panel

WebPanel => Postfix => Topic started by: become on July 26, 2017, 02:58:02 PM

Title: Second SMTP port
Post by: become 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 ??
Title: Re: Second SMTP port
Post by: studio4host 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.
Title: Re: Second SMTP port
Post by: kashifkiduniya 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?