summaryrefslogtreecommitdiff
path: root/spamassassin/default/spamass-milter.diff
diff options
context:
space:
mode:
Diffstat (limited to 'spamassassin/default/spamass-milter.diff')
-rw-r--r--spamassassin/default/spamass-milter.diff23
1 files changed, 23 insertions, 0 deletions
diff --git a/spamassassin/default/spamass-milter.diff b/spamassassin/default/spamass-milter.diff
new file mode 100644
index 0000000..aab7c18
--- /dev/null
+++ b/spamassassin/default/spamass-milter.diff
@@ -0,0 +1,23 @@
+--- spamass-milter.orig 2015-08-07 04:59:17.000000000 +0200
++++ spamass-milter 2016-10-24 22:36:41.000000000 +0200
+@@ -9,14 +9,17 @@
+
+ # Default, use the spamass-milter user as the default user, ignore
+ # messages from localhost
+-OPTIONS="-u spamass-milter -i 127.0.0.1"
++OPTIONS="-u spamass-milter"
+
+-# Reject emails with spamassassin scores > 15.
+-#OPTIONS="${OPTIONS} -r 15"
++# Reject emails with spamassassin scores > 10.
++OPTIONS="${OPTIONS} -r 10"
+
+ # Do not modify Subject:, Content-Type: or body.
+ #OPTIONS="${OPTIONS} -m"
+
++# Use UNIX socket
++OPTIONS="${OPTIONS} -- --socket=/var/run/spamassassin/spamd.sock"
++
+ ######################################
+ # If /usr/sbin/postfix is executable, the following are set by
+ # default. You can override them by uncommenting and changing them