Author Topic: Second SMTP port  (Read 671 times)

0 Members and 1 Guest are viewing this topic.

Second SMTP port
« on: July 26, 2017, 02:58:02 PM »

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

smtp      inet  n       -       n       -       -       smtpd
2525      inet  n       -       n       -       -       smtpd
  -o content_filter=smtp-amavis:
  -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/ file
is used for rebuild ??
« Last Edit: July 26, 2017, 02:59:57 PM by become »

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.

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