Frank wrote: > Gary,
> Gary V <lists <at> johnmecham.com> writes: >> > All is commented out so everything is enabled - right? >> Not on Debian. >> They have this perverse method of enabling/disabling these checks. >> Either uncomment these or look in one of the files in >> /usr/share/amavis/conf.d/ and comment out the lines that bypass >> scanning there. One or the other. > that's very interesting as the file /usr/share/amavis/conf.d/20-package > has both lines enabled: > @bypass_virus_checks_maps = (1); # DISABLE anti-virus code by default > @bypass_spam_checks_maps = (1); # DISABLE anti-spam code by default > And this is the description: > # These settings are here just to enable a Debian package that does not > # depend on clamav. The local admin is expected to override them > # in /etc/amavis/conf.d/15-content_filter_mode, if any sort of antivirus > # support is wanted > # These settings are here just to enable a Debian package that does not > # depend on spamassassin. The local admin is expected to override them > # in /etc/amavis/conf.d/15-content_filter_mode, if spamassassin support > # is wanted > I thought I had overrided the settings in 15-content_filter_mode as the > lines are commented out - or do I have to remove the # from 15-content...? > Regards, > Frank If these 2 lines are commented out, virus and spam scanning is enabled. If these 2 lines are left uncommented, spam and virs checks are disabled. This file is read prior to 15-content_filter_mode so the result is spam and virus checks are disabled (the Debian default). Later, in 15-content_filter_mode you can re-enable spam and virus checks by setting them back to their defaults (uncommenting the default settings). As I said, either comment out these 2 lines, or uncomment the 4 lines in 15-content_filter_mode. Given this choice, I would comment these 2 out. It's the double negatives and the perverse method of undoing one setting by enabling another setting that is confusing. It would have been better if they had left it alone and simply had: # @bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code # @bypass_spam_checks_maps = (1); # uncomment to DISABLE anti-spam code Gary V ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
