7e221692af
remove the milter option since it is no longer contained in the software
35 lines
1.7 KiB
Text
35 lines
1.7 KiB
Text
$NetBSD: patch-aa,v 1.4 2016/09/14 18:20:30 spz Exp $
|
|
|
|
pkgsrc-ify the conf file
|
|
|
|
--- amavisd.conf.orig 2008-06-24 22:23:05.000000000 -0400
|
|
+++ amavisd.conf 2008-06-24 22:25:53.000000000 -0400
|
|
@@ -14,15 +14,15 @@
|
|
# $bypass_decode_parts = 1; # controls running of decoders&dearchivers
|
|
|
|
$max_servers = 2; # num of pre-forked children (2..30 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, used by SA, etc.
|
|
-$QUARANTINEDIR = '/var/virusmails'; # -Q
|
|
+$QUARANTINEDIR = '@AMAVIS_QUARANTINE@'; # -Q
|
|
# $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
|
|
# $release_format = 'resend'; # 'attach', 'plain', 'resend'
|
|
# $report_format = 'arf'; # 'attach', 'plain', 'resend', 'arf'
|
|
@@ -130,7 +130,7 @@
|
|
# $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;
|