]> git.pld-linux.org Git - packages/amavisd-new.git/blobdiff - amavisd-new-config.patch
- massive attack s/pld.org.pl/pld-linux.org/
[packages/amavisd-new.git] / amavisd-new-config.patch
index 2ce12ec83cd7b2184d318c41f1398b3242cbd6a2..1c72c77e9ce87d4ebd5043c0c7d3b51bcc3e31b1 100644 (file)
@@ -1,28 +1,86 @@
---- amavisd-new-20020630/amavis/amavisd.conf.in~       Mon Sep 16 14:57:00 2002
-+++ amavisd-new-20020630/amavis/amavisd.conf.in        Mon Sep 16 15:00:11 2002
-@@ -147,11 +147,12 @@
- $child_timeout=3*60;  # abort child if it does not complete each task in n sec
--$daemon_user  = 'vscan';
-+$daemon_user  = 'amavis';
-+#$daemon_user  = 'vscan';
- #$daemon_user  = 'sweep';
--$daemon_group = 'sweep';
--# $pid_file = '/var/run/amavisd.pid';
--$pid_file = '/var/amavis/amavisd.pid';
-+$daemon_group = 'nobody';
-+#$daemon_group = 'sweep';
-+$pid_file = '/var/run/amavisd.pid';
+diff -ur amavisd-new-20030314.orig/amavisd amavisd-new-20030314/amavisd
+--- amavisd-new-20030314.orig/amavisd  Sat Mar 22 01:52:53 2003
++++ amavisd-new-20030314/amavisd       Tue May  6 14:49:15 2003
+@@ -240,7 +240,7 @@
+ $unicode_aware = $]>=5.008 && length("\x{263a}")==1 && eval { require Encode };
  
+ # serves only as a quick default for other configuration settings
+-$MYHOME = '/var/amavis';
++$MYHOME = '/var/spool/amavis/runtime';
+ $mydomain = '!change-mydomain-variable!.example.com';# purposely broken default
+ # Create debugging output - yes: log to stderr; no: log to syslog/file
+diff -ur amavisd-new-20030314.orig/amavisd.conf amavisd-new-20030314/amavisd.conf
+--- amavisd-new-20030314.orig/amavisd.conf     Fri Mar 21 18:19:23 2003
++++ amavisd-new-20030314/amavisd.conf  Tue May  6 14:53:29 2003
+@@ -41,17 +41,17 @@
+ # $MYHOME serves as a quick default for some other configuration settings.
+ # More refined control is available with each individual setting further down.
+ # $MYHOME is never 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')
+ # $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 = 'localhost';      # (no useful default)
+ # Set the user and group to which the daemon will change if started as root
+ # (otherwise just keep the UID unchanged, and these settings have no effect):
+-$daemon_user  = 'vscan';      # (no default;  customary: vscan or amavis)
+-$daemon_group = 'sweep';      # (no default;  customary: vscan or amavis)
++$daemon_user  = 'amavis';     # (no default;  customary: vscan or amavis)
++$daemon_group = 'nobody';     # (no default;  customary: vscan or amavis)
+ # Runtime working directory (cwd), and a place where
+ # temporary directories for unpacking mail are created.
+@@ -164,7 +164,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:
  #
- # Part III - Virus stuff
-@@ -351,7 +352,7 @@
- #@inet_acl = qw( 127.0.0.1 );      # allow SMTP access only from localhost
- # when MTA (one or more) is on a different host, use the following
--@inet_acl = qw(127/8 193.2.4.243 193.2.4.66);
-+@inet_acl = qw(127/8);
- $inet_socket_bind = undef;      # bind to all IP interfaces
- #   (and make sure you set $relayhost/$relayhost_is_client accordingly)
+-#read_hash(\%local_domains, '/var/amavis/local_domains');
++#read_hash(\%local_domains, '/var/spool/amavis/local_domains');
+ #or alternatively(B), using a list of regular expressions:
+ # $local_domains_re = new_RE( qr'[@.]example\.com$'i );
+@@ -297,12 +297,12 @@
+ # or later; second argument is ignored otherwise. See PerlIO::encoding,
+ # Encode::PerlIO and perluniintro man pages.
  #
+-# $notify_sender_templ      = read_text('/var/amavis/notify_sender.txt');
+-# $notify_virus_sender_templ= read_text('/var/amavis/notify_virus_sender.txt');
+-# $notify_virus_admin_templ = read_text('/var/amavis/notify_virus_admin.txt');
+-# $notify_virus_recips_templ= read_text('/var/amavis/notify_virus_recips.txt');
+-# $notify_spam_sender_templ = read_text('/var/amavis/notify_spam_sender.txt');
+-# $notify_spam_admin_templ  = read_text('/var/amavis/notify_spam_admin.txt');
++# $notify_sender_templ      = read_text('/var/spool/amavis/notify_sender.txt');
++# $notify_virus_sender_templ= read_text('/var/spool/amavis/notify_virus_sender.txt');
++# $notify_virus_admin_templ = read_text('/var/spool/amavis/notify_virus_admin.txt');
++# $notify_virus_recips_templ= read_text('/var/spool/amavis/notify_virus_recips.txt');
++# $notify_spam_sender_templ = read_text('/var/spool/amavis/notify_spam_sender.txt');
++# $notify_spam_admin_templ  = read_text('/var/spool/amavis/notify_spam_admin.txt');
+ # Here is an overall picture (sequence of events) of how pieces fit together
+@@ -468,7 +468,7 @@
+ #   or a directory (no trailing slash)
+ #   (the default value is undef, meaning no quarantine)
+ #
+-$QUARANTINEDIR = '/var/virusmails';
++$QUARANTINEDIR = '/var/spool/amavis/virusmails';
+ #$virus_quarantine_method = "local:virus-%i-%n";    # default
+ #$spam_quarantine_method  = "local:spam-%b-%i-%n";  # default
+@@ -835,7 +835,7 @@
+ # a hash lookup table can be read from a file,
+ # one address per line, comments and empty lines are permitted:
+ #
+-# read_hash(\%whitelist_sender, '/var/amavis/whitelist_sender');
++# read_hash(\%whitelist_sender, '/var/spool/amavis/whitelist_sender');
+ # ... or set directly:
+ map { $whitelist_sender{lc($_)}=1 } (qw(
+Only in amavisd-new-20030314: amavisd.conf.orig
+Only in amavisd-new-20030314: amavisd.conf.rej
+Only in amavisd-new-20030314: amavisd.conf~
This page took 0.044451 seconds and 4 git commands to generate.