summaryrefslogtreecommitdiffstats
path: root/spamass-milter/rc-conf
diff options
context:
space:
mode:
Diffstat (limited to 'spamass-milter/rc-conf')
-rw-r--r--spamass-milter/rc-conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/spamass-milter/rc-conf b/spamass-milter/rc-conf
new file mode 100644
index 0000000..d8c7b29
--- /dev/null
+++ b/spamass-milter/rc-conf
@@ -0,0 +1,14 @@
+# ARGS are passed directly to spamass-milter.
+# man spamass-milter for details
+
+# use nobody's ~/.spamassassin/user_prefs if mail has multiple recipients
+# ignore messages from localhost
+
+# this one is the right one for use a smtpd_milters
+# Reject emails with spamassassin scores > 7 : option -r 7
+# Do not modify Subject:, Content-Type: or body option -m
+ARGS="-u nobody -m -r 7 -i 127.0.0.1 -f -p /var/run/spamass.sock"
+
+SOCKET="/var/run/spamass.sock"
+SOCKETOWNER="postfix:postfix"
+SOCKETMODE="0660"