aports/main/amavis/amavisd-conf.patch
Milan P. Stanić 990d1c862f main/amavis: upgrade to 2.13.0
refactor amavisd-conf.patch to new release
install Amavis modules in vendor_perl dir
2023-04-11 20:50:06 +00:00

33 lines
1.7 KiB
Diff

--- a/conf/amavisd.conf
+++ b/conf/amavisd.conf
@@ -17,15 +17,15 @@
# truncation in /proc/<pid>/stat and ps -e output
$max_servers = 2; # num of pre-forked children (2..30 is common), -m
-$daemon_user = 'vscan'; # (no default; customary: vscan or amavis), -u
-@daemon_groups = 'vscan'; # (leave empty to use $daemon_user's supplementary groups), -g
+$daemon_user = 'amavis'; # (no default; customary: vscan or amavis), -u
+@daemon_groups = 'amavis'; # (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
-$TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T
+$MYHOME = '/var/amavis';
+$TEMPBASE = "$MYHOME/tmp";
$ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, etc.
-$QUARANTINEDIR = '/var/virusmails'; # -Q
+$QUARANTINEDIR = '/var/amavis/quarantine';
# $quarantine_subdir_levels = 1; # add level of subdirs to disperse quarantine
# $release_format = 'resend'; # 'attach', 'plain', 'resend'
# $report_format = 'arf'; # 'attach', 'plain', 'resend', 'arf'
@@ -44,7 +44,8 @@
$syslog_facility = 'mail'; # Syslog facility as a string
# e.g.: mail, daemon, user, local0, ... local7
-$enable_db = 1; # enable use of BerkeleyDB/libdb (SNMP and nanny)
+# BDB is no longer supported in Alpine
+$enable_db = 0; # enable use of BerkeleyDB/libdb (SNMP and nanny)
# $enable_zmq = 1; # enable use of ZeroMQ (SNMP and nanny)
$nanny_details_level = 2; # nanny verbosity: 1: traditional, 2: detailed
$enable_dkim_verification = 1; # enable DKIM signatures verification