[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amavis-user
Subject:    Re: [AMaViS-user] How to disable Razor in SpamAssassin?
From:       Mark Martinec <Mark.Martinec () ijs ! si>
Date:       2002-11-27 15:40:48
[Download RAW message or body]

Gary,

|  > You can also disable all external tests performed by SA
|  > by setting '$sa_local_tests_only = 1;' in amavisd.conf
| 
| This is what I was looking for. I presume this tells SA to skip all 
| virus checks also? I've been commenting out the entire @av_scanners 
| section when I want to test something. This would be much easier.

I don't think SpamAssassin does any virus checking at all.

To turn off virus checks performed by amavisd-new,
use the @bypass_virus_checks_acl setting, as suggested in amavisd.conf :

# Here is a QUICK WAY to completely DISABLE some sections of code
# that WE DO NOT WANT (it won't even be compiled-in).
# For more refined controls leave the following two lines commented out,
# and see below what these two lookup list really mean.
#
# @bypass_virus_checks_acl = qw( . );  # uncomment to DISABLE ANTI-VIRUS code
# @bypass_spam_checks_acl  = qw( . );  # uncomment to DISABLE ANTI-SPAM code
#
# Any setting can be changed with a new assignment, so make sure
# you do not unintentionally override these settings further down!


| I've been commenting out the entire @av_scanners 

This is ok as well, it achieves the same:

# - NOT DEFINING @av_scanners (e.g. setting it to empty list, or deleting the
#   whole assignment) TURNS OFF LOADING AND COMPILING OF THE ANTIVIRUS CODE
#   (which can be handy if all you want to do is spam scanning);


  Mark


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic