Frank,
> i set in the config:
> @mynetworks = qw( 192.168.1.0/24 );
> $policy_bank{'MYNETS'} = { # mail originating from our users
> allow_disclaimers => 1,
> };
> Mar 9 13:01:14 test amavis[13797]: (13797-01) mangling NO: 0 (orig:
> disclaimer), discl_allowed=0, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
> Mar 9 13:01:14 test amavis[13797]: (13797-01) final_destiny PASS, recip
> [EMAIL PROTECTED]
>
> Global work disclaimer fine.
Somehow the MYNETS policy did not get activated.
Here are some likely reasons:
- the smtp client's IP address was not in the network 192.168.1.0/24;
- the info on IP address was not transferred from Postfix to amavisd,
which can happen if the 'smtp-amavis' Postfix service (in master.cf)
did not specify option '-o smtp_send_xforward_command=yes' (or its
lmtp equivalent if using lmtp)
Check the log. It should show something like:
amavis[96146]: (96146-06) Passed CLEAN, MYNETS [192.168.1.65] <...> ...
Mark
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/