Mark Martinec schrieb:
>
> @mynetworks = qw( ... );
>
> $policy_bank{'MYNETS'} = { # mail originating from our users
> allow_disclaimers => 1,
> # ...and other settings if needed
> }
>
> You may turn on the variable globally too, but the syntax is different,
> it is a normal variable assignment then (not a key/value pair as in a hash):
>
> $allow_disclaimers = 1;
>
> It is generally not a good idea to turn on $allow_disclaimers globally,
Hallo Mark,
i set in the config:
@mynetworks = qw( 192.168.1.0/24 );
$policy_bank{'MYNETS'} = { # mail originating from our users
allow_disclaimers => 1,
};
lookup: (scalar) matches, result="disclaimer"
Mar 9 13:01:14 test amavis[13797]: (13797-01) lookup => true,
"[EMAIL PROTECTED]" matches, result="disclaimer",
matching_key="(constant:disclaimer)"
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.
Frank
-------------------------------------------------------------------------
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/