Control Web Panel

WebPanel => Postfix => Topic started by: teksuporte on October 31, 2019, 11:50:06 AM

Title: Change postfix sendig IP problem
Post by: teksuporte 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