-diff -uNr amavisd-new-20030616/amavisd.conf amavisd-new-20030616~/amavisd.conf
---- amavisd-new-20030616/amavisd.conf Tue Mar 9 03:21:38 2004
-+++ amavisd-new-20030616~/amavisd.conf Sun Mar 14 13:37:30 2004
-@@ -51,19 +51,24 @@
+diff -uNr amavisd-new-20030616/amavisd.conf-sample amavisd-new-20030616~/amavisd.conf-sample
+--- amavisd-new-20030616/amavisd.conf-sample Tue Mar 9 03:21:38 2004
++++ amavisd-new-20030616~/amavisd.conf-sample Sun Mar 14 13:37:30 2004
+@@ -51,25 +51,29 @@
# $MYHOME serves as a quick default for some other configuration settings.
# More refined control is available with each individual setting further down.
# $MYHOME is not used directly by the program. No trailing slash!
-#$MYHOME = '/var/lib/amavis'; # (default is '/var/amavis')
-+$MYHOME = '/var/spool/amavis/runtime'; # (default is '/var/amavis')
++$MYHOME = '/var/spool/amavis'; # (default is '/var/amavis')
# $mydomain serves as a quick default for some other configuration settings.
# More refined control is available with each individual setting further down.
# Runtime working directory (cwd), and a place where
# temporary directories for unpacking mail are created.
+ # (no trailing slash, may be a scratch file system)
+-$TEMPBASE = $MYHOME; # (must be set if other config vars use is)
+-#$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
++$TEMPBASE = "$MYHOME/runtime"; # (must be set if other config vars use is)
+
+ #$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db"
+
@@ -143,7 +148,8 @@
# and see further down what these two lookup lists really mean.
#
- # @bypass_virus_checks_acl = qw( . ); # uncomment to DISABLE anti-virus code
--# @bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam code
-+@bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam code
+ # @bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code
+-# @bypass_spam_checks_maps = (1); # uncomment to DISABLE anti-spam code
++@bypass_spam_checks_maps = (1); # 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!
-@@ -179,7 +185,7 @@
- # directly, or read from a file, one domain per line; comments and empty lines
- # are ignored, a dot before a domain name implies its subdomains:
- #
--#read_hash(\%local_domains, '/var/amavis/local_domains');
-+#read_hash(\%local_domains, '/var/spool/amavis/local_domains'); # PLD path
-
- #or alternatively(B), using a list of regular expressions:
- # $local_domains_re = new_RE( qr'[@.]example\.com$'i );
@@ -267,7 +273,7 @@
#$SYSLOG_LEVEL = 'user.info'; # (facility.priority, default 'mail.info')
# Customizable template for the most interesting log file entry (e.g. with
# $log_level=0) (take care to properly quote Perl special characters like '\')
-@@ -408,21 +414,21 @@
+@@ -408,22 +414,22 @@
# Bounces or rejects produce non-delivery status notification anyway.
# Notify virus sender?
-#$warnbadhsender = 1; # (defaults to false (undef))
+# $warnbadhsender = 1; # (defaults to false (undef))
- # Notify virus (or banned files) RECIPIENT?
+ # Notify virus (or banned files or bad headers) RECIPIENT?
# (not very useful, but some policies demand it)
-#$warnvirusrecip = 1; # (defaults to false (undef))
-#$warnbannedrecip = 1; # (defaults to false (undef))
+-#$warnbadhrecip = 1; # (defaults to false (undef))
+$warnvirusrecip = 1; # (defaults to false (undef))
+$warnbannedrecip = 1; # (defaults to false (undef))
++$warnbadhrecip = 1; # (defaults to false (undef))
# Notify also non-local virus/banned recipients if $warn*recip is true?
# (including those not matching local_domains*)
# ['Sophos SAVI', \&sophos_savi ],
# ### http://www.clamav.net/
--# ['Clam Antivirus-clamd',
+-# ['ClamAV-clamd',
-# \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
-# qr/\bOK$/, qr/\bFOUND$/,
-# qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],