]> git.pld-linux.org Git - packages/amavisd-new.git/commitdiff
- updated for 2.4.2 auto/ac/amavisd-new-2_4_2-1
authorPaweł Gołaszewski <blues@pld-linux.org>
Thu, 3 Aug 2006 09:53:58 +0000 (09:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    amavisd-new-config.patch -> 1.22

amavisd-new-config.patch

index b62567d98df1ea41ba4e0d7dea9f0e7babf3f848..ba79417fd593280da7cd4c20fdb75acf12b29bfe 100644 (file)
@@ -1,65 +1,35 @@
---- ./amavisd.conf-sample.org  2006-05-23 12:01:01.000000000 +0200
-+++ ./amavisd.conf-sample      2006-05-23 11:59:26.000000000 +0200
-@@ -63,27 +63,31 @@
- # $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';   # (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.
- # $mydomain is never used directly by the program.
--$mydomain = 'example.com';      # (no useful default)
-+#$mydomain = 'example.com';      # (no useful default)
-+
-+# This seems to be prefixed to host's domain name.
-+# You may get mail rejects of virus information as send from not
-+# existing host ( virusalert@localhost.whatever.your.domain.is )
-+$mydomain = 'mail.whatever.your.domain.is';      # (no useful default)
- # $myhostname = 'host.example.com';  # fqdn of this host, default by uname(3)
- # 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)
--$daemon_group = 'vscan';   # (no default;  customary: vscan or amavis or sweep)
-+$daemon_user  = 'amavis';   # (no default;  customary: vscan or amavis)
-+$daemon_group = 'amavis';   # (no default;  customary: vscan or amavis or sweep)
- # Runtime working directory (cwd), and a place where
- # temporary directories for unpacking mail are created.
+--- ./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 @@
  # (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)
+ $TEMPBASE = "$MYHOME/runtime";     # prefer to keep home dir /var/amavis clean?
  
--#$db_home = "$MYHOME/db";     # DB databases directory, default "$MYHOME/db"
-+$db_home = "$MYHOME/db";      # DB databases directory, default "$MYHOME/db"
+-#$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
-@@ -93,8 +97,8 @@
+@@ -92,8 +92,8 @@
  # Run the daemon in the specified chroot jail if nonempty:
- #$daemon_chroot_dir = $MYHOME;  # (default is undef, meaning: do not chroot)
+ #$daemon_chroot_dir = $MYHOME;  # (default is undef, meaning: do not chroot), -R
  
--#$pid_file  = "$MYHOME/amavisd.pid";  # (default is "$MYHOME/amavisd.pid")
--#$lock_file = "$MYHOME/amavisd.lock"; # (default is "$MYHOME/amavisd.lock")
-+$pid_file  = "/var/run/amavisd/amavisd.pid";  # (default is "$MYHOME/amavisd.pid")
-+$lock_file = "/var/run/amavisd/amavisd.lock"; # (default is "$MYHOME/amavisd.lock")
+-#$pid_file  = "$MYHOME/amavisd.pid";  # (default is "$MYHOME/amavisd.pid"), -P
+-#$lock_file = "$MYHOME/amavisd.lock"; # (default is "$MYHOME/amavisd.lock"), -L
++$pid_file  = "/var/run/amavisd/amavisd.pid";  # (default is "$MYHOME/amavisd.pid"), -P
++$lock_file = "/var/run/amavisd/amavisd.lock"; # (default is "$MYHOME/amavisd.lock"), -L
  
  # set environment variables if you want (no defaults):
  $ENV{TMPDIR} = $TEMPBASE;       # wise to set TMPDIR, but not obligatory
-@@ -112,6 +116,8 @@
+@@ -111,6 +111,8 @@
  #$forward_method = 'smtp:[127.0.0.1]:10025';  # where to forward checked mail
  #$notify_method = $forward_method;            # where to submit notifications
  
-+# @auth_mech_avail = ('PLAIN','LOGIN'); # empty list disables incoming AUTH
++#@auth_mech_avail = ('PLAIN','LOGIN'); # empty list disables incoming AUTH
 +
  #$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,
-@@ -171,7 +177,7 @@
+@@ -170,7 +172,7 @@
  # and see further down what these two lookup lists really mean.
  #
  # @bypass_virus_checks_maps = (1);  # uncomment to DISABLE anti-virus code
  #
  # Any setting can be changed with a new assignment, so make sure
  # you do not unintentionally override these settings further down!
-@@ -217,8 +223,8 @@
- # AMAVIS-CLIENT PROTOCOL INPUT SETTINGS (e.g. with sendmail milter)
- #   (used with amavis helper clients like amavis-milter.c and amavis.c,
- #   NOT needed for Postfix or Exim or dual-sendmail - keep it undefined.
+@@ -216,8 +218,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
 -$unix_socketname = "$MYHOME/amavisd.sock"; # amavis helper protocol socket
 -#$unix_socketname = undef;        # disable listening on a unix socket
 +#$unix_socketname = "/var/run/amavisd/amavisd.sock"; # amavis helper protocol socket
                                    # (default is undef, i.e. disabled)
                                    # (usual setting is $MYHOME/amavisd.sock)
  
-@@ -301,7 +307,7 @@
+@@ -300,7 +302,7 @@
             # choose from: emerg, alert, crit, err, warning, notice, info, debug
  
  # Log file (if not using syslog)
 -$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)
-+#$LOGFILE = "/var/log/amavis.log";  # (defaults to empty, no log)
++#$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)
  
  #NOTE: levels are not strictly observed and are somewhat arbitrary
  # 0: startup/exit/failure messages, viruses detected
-@@ -310,7 +316,7 @@
+@@ -309,7 +311,7 @@
  # 3: server, client
  # 4: decompose parts
  # 5: more debug details
--$log_level = 2;                 # (defaults to 0)
-+#$log_level = 2;                # (defaults to 0)
+-$log_level = 2;                  # (defaults to 0), -d
++#$log_level = 2;                 # (defaults to 0), -d
  
  # Customizable template for the most interesting log file entry (e.g. with
  # $log_level=0) (take care to properly quote Perl special characters like '\')
-@@ -684,7 +690,8 @@
+@@ -683,7 +685,8 @@
  #   or a directory (no trailing slash)
  #   (the default value is undef, meaning no quarantine)
  #
--$QUARANTINEDIR = '/var/virusmails';
-+#$QUARANTINEDIR = '/var/virusmails';
-+$QUARANTINEDIR = '/var/spool/amavis/virusmails';
+-$QUARANTINEDIR = '/var/virusmails';  # -Q
++#$QUARANTINEDIR = '/var/virusmails';  # -Q
++$QUARANTINEDIR = '/var/spool/amavis/virusmails';  # -Q
  
  #$quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
  
-@@ -1788,13 +1795,13 @@
+@@ -1805,13 +1808,13 @@
  # ['Sophos SAVI', \&sophos_savi ],
  
  # ### http://www.clamav.net/
 -# # NOTE: the easiest is to run clamd under the same user as amavisd; match the
 -# # socket name (LocalSocket) in clamav.conf to the socket name in this entry
 -# # When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
-+ ['Clam AntiVirus-clamd',
++ ['ClamAV-clamd',
 +   \&ask_daemon, ["CONTSCAN {}\n", "/var/lib/clamav/clamd.socket"],
 +   qr/\bOK$/, qr/\bFOUND$/,
 +   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
-+ # NOTE: the easiest is to run clamd under the same user as amavisd; match the
-+ # socket name (LocalSocket) in clamav.conf to the socket name in this entry
-+ # When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
++# NOTE: the easiest is to run clamd under the same user as amavisd; match the
++# socket name (LocalSocket) in clamav.conf to the socket name in this entry
++# When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
  
  # ### http://www.clamav.net/ and CPAN  (memory-hungry! clamd is preferred)
  # ['Mail::ClamAV', \&ask_clamav, "*", [0], [1], qr/^INFECTED: (.+)/],
-@@ -1956,10 +1963,11 @@
-     '-s {}/*', [0], [1,2],
-     qr/--[ \t]*(.+)/ ],
+@@ -1968,10 +1971,11 @@
+     # NOTE: requires suid wrapper around inocmd32; consider flag: -mod reviewer
+     # see http://marc.theaimsgroup.com/?l=amavis-user&m=109229779912783
  
 -  ### http://mks.com.pl/english.html
--  ['MkS_Vir daemon', 'mksscan',
--    '-s -q {}', [0], [1..7],
--    qr/^... (\S+)/ ],
+-  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
+-    '-s {}/*', [0], [1,2],
+-    qr/--[ \t]*(.+)/ ],
 +#  Moved to secondary scanner
 +#  ### http://mks.com.pl/english.html
-+#  ['MkS_Vir daemon', 'mksscan',
-+#    '-s -q {}', [0], [1..7],
-+#    qr/^... (\S+)/ ],
++#  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
++#    '-s {}/*', [0], [1,2],
++#    qr/--[ \t]*(.+)/ ],
  
-   ### http://www.nod32.com/
-   ['ESET Software NOD32 Command Line Interface v 2.51', 'nod32cli',
-@@ -2157,6 +2165,10 @@
+   ### http://mks.com.pl/english.html
+   ['MkS_Vir daemon', 'mksscan',
+@@ -2174,6 +2178,10 @@
  # ],
  # # other options to consider: -mime -oe -idedir=/usr/local/sav
  
This page took 0.082212 seconds and 4 git commands to generate.