summarylogtreecommitdiffstats
path: root/spamass-milter-0.3.2-rundir.patch
blob: ec08358ddea6781cccf823947e4d3af1c9758c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -up spamass-milter-0.3.2/README.orig spamass-milter-0.3.2/README
--- spamass-milter-0.3.2/README.orig	2011-07-25 15:23:45.490316629 +0100
+++ spamass-milter-0.3.2/README	2011-07-25 15:27:47.647628663 +0100
@@ -54,7 +54,7 @@ Now you need to make sendmail use the pl
 configuring sendmail through m4 & the sendmail.mc files. In this case
 adding the lines
 
-INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
+INPUT_MAIL_FILTER(`spamassassin', `S=unix:/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
 define(`confMILTER_MACROS_ENVRCPT',confMILTER_MACROS_ENVRCPT`, b, r, v, Z')dnl
 
 should do the trick. Of course you need to modify the path of the
diff -up spamass-milter-0.3.2/README.Postfix.orig spamass-milter-0.3.2/README.Postfix
--- spamass-milter-0.3.2/README.Postfix.orig	2011-07-21 16:37:39.731590093 +0100
+++ spamass-milter-0.3.2/README.Postfix	2011-07-25 15:26:45.575801806 +0100
@@ -2,12 +2,12 @@ Installing the spamass-milter-postfix pa
 of spamass-milter to be more Postfix-friendly, i.e.:
 
    The Unix-domain socket used for MTA communication is changed to
-   /var/run/spamass-milter/postfix/sock, and that socket is
+   /run/spamass-milter/postfix/sock, and that socket is
    writable by the postfix group.
 
 To configure Postfix to use the milter, add to /etc/postfix/main.cf:
 
-  smtpd_milters = unix:/var/run/spamass-milter/postfix/sock
+  smtpd_milters = unix:/run/spamass-milter/postfix/sock
 
 For further information, see:
 http://www.postfix.org/MILTER_README.html