Nitin N:
> Hi,
> 
> I am running Postfix ver 3.6.3 on FreeBSD 13.
> 
> I am trying to run multiple instances of Postfix using Postmulti on a
> single NIC using aliased IPs. Postmulti doesn't seem to bind the instances
> to the aliased IPs. I do not get any errors in the maillog and all
> instances are shown as having started fine.
> 
> I can telnet locally to the first domain as its IP is the real IP, but not
> the second domain as its IP is an aliased one. Postfix doesn't seem to bind
> itself to the aliased IP:port i.e. 192.168.1.12:2526  I have even added
> smtp_bind_address in this case for the said IP, but no luck.
> 
> Running sockstat -4 -l shows only one instance:
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> 
> postfix  postscreen 64369 6  tcp4   192.168.1.11:2525     *:*
> root     master     25573 13 tcp4   192.168.1.11:2525     *:*
> root     master     25573 26 tcp4   192.168.0.11:5871     *:*

Your "second" instance is bound to 192.168.0.11 port 5871, NOT
192.168.1.12:2526. If you were to telnet to 192.168.0.11 port 5871,
then the master should create a postscreen process.

Your "first" instance is bound to 192.168.1.11 port 2525. You
recently made a connection to that address and port, and the master
has created a postscreen process with that address and port.

As for your configuration exceeding the 40kbyte limit, I suspect
that is caused by the -o override parameters that you added to the
postscreen daemon that do absolutely nothing, like smtp_bind_address.

        Wietse

Reply via email to