Hi,
In my configuration, I have a MYNETS policy block that disables SPAM
tagging for outbound mail (that is, mail originating from my internal
network as defined in @mynetworks). However, I'd like to have mail
destined to one specific user always tagged as SPAM, regardless of the
client IP connecting to my mail server. Since we utilize LDAP for user
management, I've added the following LDAP attributes to the user in
question:
amavisBypassSpamChecks: FALSE
amavisBypassVirusChecks: FALSE
amavisBypassBannedChecks: FALSE
amavisBypassHeaderChecks: FALSE
amavisSpamLover: TRUE
I'd expect this to overwrite the associated configuration parameters in
the MYNETS policy bank, but it doesn't appear to be: in the logs, I see
"Passed CLEAN, MYNETS LOCAL". Am I missing something obvious here or does
MYNETS always overrule LDAP in this case? For completeness sake, the
relevant parts of my MYNETS policy bank:
$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
bypass_spam_checks_maps => [ 1 ], # Turn off spam checking
for locally originated emails
bypass_banned_checks_maps => [ 1 ], # Turn off banned
checking for locally originated emails
spam_lovers_maps => [ 1 ],
banned_files_lovers_maps => [ 1 ],
bypass_header_checks_maps => [ 1 ],
warnbannedsender => undef,
os_fingerprint_method => undef,
};
I am using amavisd-new 2.4.3 20060930.
Thanks for your assistance,
Steve
--
Steve Bernacki, Jr
To date, the Pan-Massachusetts Challenge has raised 171 million
dollars for cancer research. Get involved! http://www.pmc.org/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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/