Author Topic: Change postfix sendig IP problem  (Read 11780 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Change postfix sendig IP problem
« on: October 31, 2019, 11:50:06 AM »
When i try to change the postfix sending IP by using:

smtp_bind_address = 1.2.3.4

I get errors in Amavis:

(!)DENIED ACCESS from IP 1.2.3.4, policy bank ''

I tried to add 1.2.3.4 to amavisd.conf at:

@mynetworks = qw( 1.2.3.4/32 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 );

and also add the IP to /etc/postfix/mynetworks

but to no effect. The Amavis error keeps popping up and mail stays in the queue.

Anyone has a solution?

Thank you

Cheers

Carlos