On 11 December 2016 at 09:33, Dusan Obradovic <du...@euracks.net> wrote: > >> On Dec 11, 2016, at 07:24, Asif Iqbal <vad...@gmail.com> wrote: >> >> How do I make sure it is working? After I configured like below, I restarted >> amavisd and postfix and I am seeing a lot of >> ``RelayedOpenRelay'' like below.. > > You should configure @local_domains_maps and @mynetworks, for amavisd to be > able to distinguish {RelayedInbound} and {RelayedOutbound} traffic. > > @local_domains_maps = ( [ ".example.com" ] ); > @mynetworks = qw( 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 ); >
Thanks for the tip Dusan, I've implemented that.