New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Second SMTP port

Started by become, July 26, 2017, 02:58:02 PM

Previous topic - Next topic

become

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 ??

studio4host

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.

kashifkiduniya

Quote from: 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 ??
Why you want to change port?