Al wrote:

> Am Freitag, 27. Januar 2006 22:19 schrieb Gary V:

>> Here is mine:
>> http://www200.pair.com/mecham/spam/package.txt

> Now I found it, it is in /usr/share/amavis/conf.d/20-package
> I always thought it has to be in /etc/amavis/conf.d/

> My version without comments:
> /usr/share/amavis/conf.d/20-package
> use strict;
> @bypass_virus_checks_maps  = (1);  # DISABLE anti-virus code by default
> @bypass_spam_checks_maps  = (1);  # DISABLE anti-spam code by default
> 1;  # insure a defined return

> But these variables are here too:
> with comments:

> cat /etc/amavis/conf.d/15-content_filter_mode

> use strict;
> # You can modify this file to re-enable SPAM checking through spamassassin
> # and to re-enable antivirus checking.
> # Default antivirus checking mode
> # Uncomment the two lines below to enable it back
> @bypass_virus_checks_maps = (
>    \%bypass_virus_checks, [EMAIL PROTECTED], 
> \$bypass_virus_checks_re);
> # Default SPAM checking mode
> # Uncomment the two lines below to enable it back
> @bypass_spam_checks_maps = (
>    \%bypass_spam_checks, [EMAIL PROTECTED], \$bypass_spam_checks_re);
> 1;  # insure a defined return

> Al

You need to edit:
/usr/share/amavis/conf.d/20-package
and comment both of those out:
# @bypass_virus_checks_maps  = (1);  # DISABLE anti-virus code by default
# @bypass_spam_checks_maps  = (1);  # DISABLE anti-spam code by default

I don't think you need to change anything in 
/etc/amavis/conf.d/15-content_filter_mode

The thing is, how are you starting amavisd-new? If you start
amavisd-new with:
~# amavisd-new start
it will use the configuration in /etc/amavis/amavisd.conf
and if you start it using the init script supplied with version 2.3.3
'/etc/init.d/amavis start' it will use the all the files in:

/usr/share/amavis/conf.d/
and
/etc/amavis/conf.d/

Other than that, I can't figure out how your system would be doing
virus checks with virus checks globally bypassed. On my test system
commenting out the @bypass settings in /usr/share/amavis/conf.d/20-package
does flip the checks on.

I have filed 3 bug reports with the maintainers today.

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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/

Reply via email to