On Thu, 12 Jan 2006, Christopher Wagner wrote:
> After upgrading to the latest Etch version of amavisd-new yesterday, I
> reconfigured amavis from scratch (doing away with my old amavis.conf).  I made

Please send me a tarball with the entire contents of /etc/amavis.  Please
overwite any sensitive information with XXXXXXX.

> Jan 12 12:12:52 toober /usr/sbin/amavisd-new[21815]: ANTI-VIRUS code    NOT 
> loaded
> Jan 12 12:12:52 toober /usr/sbin/amavisd-new[21815]: ANTI-SPAM  code    NOT 
> loaded

This tipically happens if for some reason or another, the config is subtly
wrong, especially since the config files in /usr will DISABLE the anti-virus
and anti-spam code, so something weird happening in later config files will
probably cause the checks to remain disabled.

The config files are processed one-by-one, so it is very likely that the
problem is in 15-content-filter-mode (if you did not change the variables
controlling av and sa in another file).  Just in case, I am attaching a
known-valid 15-content-filter-mode file with *enables* AV and SPAM checks.
You could try overwriting the one you're using with that one (or using diff)
to see if some sort of small typo escaped your checks.

Make sure all the config files return "1". 
Make sure there are no open-ended ", ', {, (, and so on.

You can run amavis in "debug" mode through the perl debugger, to see if it
is processing the config files as expected.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
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

Reply via email to