SOURCES: amavisd-new-config.patch - re-added missing chunks from r...
hawk
hawk at pld-linux.org
Sun Aug 6 00:30:07 CEST 2006
Author: hawk Date: Sat Aug 5 22:30:07 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- re-added missing chunks from revision 1.21 (set default $MYHOME to
/var/spool/amavis, set $TEMPBASE to $MYHOME/runtime, set $daemon_user
and $daemon_group to 'amavis'
---- Files affected:
SOURCES:
amavisd-new-config.patch (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SOURCES/amavisd-new-config.patch
diff -u SOURCES/amavisd-new-config.patch:1.22 SOURCES/amavisd-new-config.patch:1.23
--- SOURCES/amavisd-new-config.patch:1.22 Thu Aug 3 11:53:58 2006
+++ SOURCES/amavisd-new-config.patch Sun Aug 6 00:30:02 2006
@@ -1,15 +1,36 @@
---- ./amavisd.conf-sample.org 2006-08-03 09:46:31.000000000 +0000
-+++ ./amavisd.conf-sample 2006-08-03 09:52:09.000000000 +0000
-@@ -82,7 +82,7 @@
+--- amavisd-new.orig/amavisd.conf-sample 2006-06-27 13:31:44.000000000 +0200
++++ amavisd-new/amavisd.conf-sample 2006-08-06 00:22:10.986675750 +0200
+@@ -63,7 +63,7 @@
+ # $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'), -H
++$MYHOME = '/var/spool/amavis'; # (default is '/var/amavis'), -H
+
+ # $mydomain serves as a quick default for some other configuration settings.
+ # More refined control is available with each individual setting further down.
+@@ -74,16 +74,16 @@
+
+ # Set the user and group to which the daemon will change if started as root
+ # (otherwise just keeps the UID unchanged, and these settings have no effect):
+-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u
+-$daemon_group = 'vscan'; # (no default; customary: vscan or amavis), -g
++$daemon_user = 'amavis'; # (no default; customary: vscan or amavis), -u
++$daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g
+
+ # 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/runtime"; # prefer to keep home dir /var/amavis clean?
+-$TEMPBASE = $MYHOME; # (must be set if other config vars use is), -T
++$TEMPBASE = $MYHOME/runtime; # (must be set if other config vars use is), -T
+ #$TEMPBASE = "$MYHOME/tmp"; # prefer to keep home dir /var/amavis clean?
-#$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db", -D
+$db_home = "$MYHOME/db"; # DB databases directory, default "$MYHOME/db", -D
# $helpers_home sets environment variable HOME, and is passed as option
# 'home_dir_for_helpers' to Mail::SpamAssassin::new. It should be a directory
-@@ -92,8 +92,8 @@
+@@ -93,8 +93,8 @@
# Run the daemon in the specified chroot jail if nonempty:
#$daemon_chroot_dir = $MYHOME; # (default is undef, meaning: do not chroot), -R
@@ -20,7 +41,7 @@
# set environment variables if you want (no defaults):
$ENV{TMPDIR} = $TEMPBASE; # wise to set TMPDIR, but not obligatory
-@@ -111,6 +111,8 @@
+@@ -112,6 +112,8 @@
#$forward_method = 'smtp:[127.0.0.1]:10025'; # where to forward checked mail
#$notify_method = $forward_method; # where to submit notifications
@@ -29,7 +50,7 @@
#$os_fingerprint_method = 'p0f:127.0.0.1:2345'; # query p0f-analyzer.pl
# To make it possible for several hosts to share one content checking daemon,
-@@ -170,7 +172,7 @@
+@@ -171,7 +173,7 @@
# and see further down what these two lookup lists really mean.
#
# @bypass_virus_checks_maps = (1); # uncomment to DISABLE anti-virus code
@@ -38,7 +59,7 @@
#
# Any setting can be changed with a new assignment, so make sure
# you do not unintentionally override these settings further down!
-@@ -216,8 +218,8 @@
+@@ -217,8 +219,8 @@
# AMAVIS-CLIENT PROTOCOL INPUT SETTINGS (e.g. with amavisd-release, or
# sendmail milter through helper clients like amavis-milter.c and amavis.c)
# option(s) -p overrides $inet_socket_port and $unix_socketname
@@ -49,7 +70,7 @@
# (default is undef, i.e. disabled)
# (usual setting is $MYHOME/amavisd.sock)
-@@ -300,7 +302,7 @@
+@@ -301,7 +303,7 @@
# choose from: emerg, alert, crit, err, warning, notice, info, debug
# Log file (if not using syslog)
@@ -58,7 +79,7 @@
#NOTE: levels are not strictly observed and are somewhat arbitrary
# 0: startup/exit/failure messages, viruses detected
-@@ -309,7 +311,7 @@
+@@ -310,7 +312,7 @@
# 3: server, client
# 4: decompose parts
# 5: more debug details
@@ -67,7 +88,7 @@
# Customizable template for the most interesting log file entry (e.g. with
# $log_level=0) (take care to properly quote Perl special characters like '\')
-@@ -683,7 +685,8 @@
+@@ -684,7 +686,8 @@
# or a directory (no trailing slash)
# (the default value is undef, meaning no quarantine)
#
@@ -77,7 +98,7 @@
#$quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
-@@ -1805,13 +1808,13 @@
+@@ -1806,13 +1809,13 @@
# ['Sophos SAVI', \&sophos_savi ],
# ### http://www.clamav.net/
@@ -98,7 +119,7 @@
# ### http://www.clamav.net/ and CPAN (memory-hungry! clamd is preferred)
# ['Mail::ClamAV', \&ask_clamav, "*", [0], [1], qr/^INFECTED: (.+)/],
-@@ -1968,10 +1971,11 @@
+@@ -1969,10 +1972,11 @@
# NOTE: requires suid wrapper around inocmd32; consider flag: -mod reviewer
# see http://marc.theaimsgroup.com/?l=amavis-user&m=109229779912783
@@ -114,7 +135,7 @@
### http://mks.com.pl/english.html
['MkS_Vir daemon', 'mksscan',
-@@ -2174,6 +2178,10 @@
+@@ -2175,6 +2179,10 @@
# ],
# # other options to consider: -mime -oe -idedir=/usr/local/sav
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/amavisd-new-config.patch?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list