summaryrefslogtreecommitdiff
path: root/spamassassin/default/spamassassin.diff
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin/default/spamassassin.diff')
-rw-r--r--spamassassin/default/spamassassin.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/spamassassin/default/spamassassin.diff b/spamassassin/default/spamassassin.diff
new file mode 100644
index 0000000..960310e
--- /dev/null
+++ b/spamassassin/default/spamassassin.diff
@@ -0,0 +1,17 @@
+--- spamassassin.orig 2014-10-14 06:21:29.000000000 +0200
++++ spamassassin 2016-10-24 21:10:39.000000000 +0200
+@@ -17,7 +17,7 @@
+ # make sure --max-children is not set to anything higher than 5,
+ # unless you know what you're doing.
+
+-OPTIONS="--create-prefs --max-children 5 --helper-home-dir"
++OPTIONS="--create-prefs --max-children 5 --helper-home-dir -u debian-spamd -g debian-spamd --nouser-config --listen /var/run/spamassassin/spamd.sock --socketowner debian-spamd --socketgroup debian-spamd --socketmode 0660"
+
+ # Pid file
+ # Where should spamd write its PID to file? If you use the -u or
+@@ -31,4 +31,4 @@
+ # Cronjob
+ # Set to anything but 0 to enable the cron job to automatically update
+ # spamassassin's rules on a nightly basis
+-CRON=0
++CRON=1