Jeff wrote: > When I read into:
> @bypass_virus_checks_maps = (\%bypass_virus_checks, [EMAIL PROTECTED], > \$bypass_virus_checks_re); > @bypass_spam_checks_maps = (\%bypass_spam_checks, [EMAIL PROTECTED], > \$bypass_spam_checks_re); > I understood these to behave opposite. ie. they 'bypassed' spam and virus > checks so to enable them they needed to be commented out. > However, this was the problem. My spam headers are now being inserted > properly. Thanks. What you may not notice with the Debian package are the settings in: /usr/share/amavis/conf.d/20-package: @bypass_virus_checks_maps = (1); # DISABLE anti-virus code by default @bypass_spam_checks_maps = (1); # DISABLE anti-spam code by default So, spam and virus checks are disabled by default. Uncommenting these in /etc/amavis/conf.d/15-content_filter_mode (which is read after /usr/share/amavis/conf.d/20-package): @bypass_virus_checks_maps = (\%bypass_virus_checks, [EMAIL PROTECTED], \$bypass_virus_checks_re); @bypass_spam_checks_maps = (\%bypass_spam_checks, [EMAIL PROTECTED], \$bypass_spam_checks_re); sets them back to their default values (which is to load stuff in from the items listed). By default %bypass_spam_checks, @bypass_spam_checks_acl and $bypass_spam_checks_re are all undefined. So in effect, once you uncomment these two settings, you are telling @bypass_virus_checks_maps and @bypass_spam_checks_maps to bypass nothing. Convoluted, yes? Gary V ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
