Debian Codegraph @

debian/patches/95_amavisd_helpers_fixes

raw
1 From: Alexander Wirt <[email protected]>
2 Date: Tue, 25 Sep 2018 08:03:33 +1000
3 Subject: Fix paths in amavis helper scripts
4
5 ---
6 bin/amavis-mc | 6 +++---
7 bin/amavis-services | 2 +-
8 bin/amavisd-release | 2 +-
9 bin/amavisd-signer | 6 +++---
10 bin/amavisd-submit | 4 ++--
11 5 files changed, 10 insertions(+), 10 deletions(-)
12
13 --- a/bin/amavis-mc
14 +++ b/bin/amavis-mc
15 @@ -73,10 +73,10 @@
16
17 ### USER CONFIGURABLE:
18
19 -$daemon_user = 'vscan';
20 -@daemon_groups = 'vscan';
21 +$daemon_user = 'amavis';
22 +@daemon_groups = 'amavis';
23
24 -$pid_file = '/var/amavis/amavis-mc.pid';
25 +$pid_file = '/var/run/amavis/amavis-mc.pid';
26
27 $log_level = 0;
28 $syslog_ident = 'amavis-mc';
29 --- a/bin/amavis-services
30 +++ b/bin/amavis-services
31 @@ -72,7 +72,7 @@
32 $syslog_facility = LOG_MAIL;
33 $syslog_ident = $myproduct_name;
34
35 -$MYHOME = '/var/amavis';
36 +$MYHOME = '/var/lib/amavis';
37
38 # A socket to which amavisd child processes report their data.
39 # should match one of the sockets in @zmq_sockets in amavisd.conf
40 --- a/bin/amavisd-release
41 +++ b/bin/amavisd-release
42 @@ -88,7 +88,7 @@
43 $log_level = 1;
44 # $socketname = '127.0.0.1:9998';
45 # $socketname = '[::1]:9998';
46 - $socketname = '/var/amavis/amavisd.sock';
47 + $socketname = '/var/lib/amavis/amavisd.sock';
48
49 ### END OF USER CONFIGURABLE
50 }
51 --- a/bin/amavisd-signer
52 +++ b/bin/amavisd-signer
53 @@ -88,9 +88,9 @@
54 # Please adjust the following settings as necessary:
55 #
56
57 -$daemon_user = 'vscan';
58 -@daemon_groups = 'vscan';
59 -# $daemon_chroot_dir = '/var/amavis'; # chroot directory or undef
60 +$daemon_user = 'amavis';
61 +@daemon_groups = 'amavis';
62 +# $daemon_chroot_dir = '/var/lib/amavis'; # chroot directory or undef
63
64 # $daemonize = 1;
65
66 --- a/bin/amavisd-submit
67 +++ b/bin/amavisd-submit
68 @@ -73,9 +73,9 @@
69 ### USER CONFIGURABLE:
70
71 $log_level = 0;
72 - $tempbase = '/var/amavis/tmp'; # where to create a temp directory with a msg
73 + $tempbase = '/var/lib/amavis/tmp'; # where to create a temp directory with a msg
74
75 - $socketname = '/var/amavis/amavisd.sock';
76 + $socketname = '/var/lib/amavis/amavisd.sock';
77 # $socketname = '127.0.0.1:9998';
78 # $socketname = '[::1]:9998';
79