summaryrefslogtreecommitdiff
path: root/security/amavisd-new/patches/patch-aa
blob: 7c51dbbedd2fe5bc2342f64c3a580c3f4f904c68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aa,v 1.4 2006/10/02 12:39:30 obache Exp $

--- amavisd.conf.orig	2006-06-27 11:31:50.000000000 +0000
+++ amavisd.conf
@@ -14,15 +14,15 @@ use strict;
 # @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
 
 $max_servers = 2;            # num of pre-forked children (2..15 is common), -m
-$daemon_user  = 'vscan';     # (no default;  customary: vscan or amavis), -u
-$daemon_group = 'vscan';     # (no default;  customary: vscan or amavis), -g
+$daemon_user  = '@AMAVIS_USER@';     # (no default;  customary: vscan or amavis), -u
+$daemon_group = '@AMAVIS_GROUP@';     # (no default;  customary: vscan or amavis), -g
 
 $mydomain = 'example.com';   # a convenient default for other settings
 
-# $MYHOME = '/var/amavis';   # a convenient default for other settings, -H
+$MYHOME   = '@AMAVIS_DIR@';   # a convenient default for other settings, -H
 $TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
 $ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR
-$QUARANTINEDIR = '/var/virusmails';  # -Q
+$QUARANTINEDIR = '@AMAVIS_QUARANTINE@';  # -Q
 # $quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
 
 # $daemon_chroot_dir = $MYHOME;   # chroot directory or undef, -R
@@ -91,7 +91,7 @@ $mailfrom_to_quarantine = ''; # null ret
 # $recipient_delimiter = '+';  # undef disables address extensions altogether
 # when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
 
-$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
+$path = '@PREFIX@/sbin:@PREFIX@/bin:@LOCALBASE@/sbin:@LOCALBASE@/bin:/usr/sbin:/sbin:/usr/bin:/bin';
 # $dspam = 'dspam';
 
 $MAXLEVELS = 14;