]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/blobdiff - debian/README.Debian
move the socket location around slightly and drop in a compatibility symlink
[deb_pkgs/spamass-milter.git] / debian / README.Debian
index 60e5d86622012c6f8809285e316365fd0d754643..b58575130ae9bb3d95c66187bded745e6247d003 100644 (file)
@@ -11,7 +11,7 @@ something like:
 
  # spamassassin settings
  INPUT_MAIL_FILTER(`spamassassin',
-         `S=local:/var/run/sendmail/spamass.sock, F=,
+         `S=local:/var/run/spamass/spamass.sock, F=,
          T=S:4m;R:4m;E:10m')dnl
 
 Briefly, the F=, tells sendmail to just pass the connection through if
@@ -34,6 +34,25 @@ See http://www.sendmail.com/partner/resources/development/milter_api/installatio
 and http://www.sendmail.org/m4/adding_mailfilters.html#INPUT_MAIL_FILTER
 for more information on milters.
 
+--------------------------------------------------------------
+  Integrating spamass-milter into your postfix installation
+--------------------------------------------------------------
+
+You need to edit /etc/postfix/main.cf and configure smptpd_milters so
+that postfix connects to the spamass-milter socket. Something like:
+
+  # spamass-milter configuration
+  smtpd_milters = unix:/var/spool/postfix/spamass/spamass.sock
+
+should work. See http://www.postfix.org/MILTER_README.html or
+/usr/share/doc/postfix/MILTER_README.gz (in postfix-doc) for
+information on how to set tempfail and the various timeouts that the
+sendmail configuration above uses.
+
+You'll also want to change /etc/default/spamass-milter to use the
+SOCKET above, and also enable RUNAS so that it runs as the same user
+that will be connecting to the socket.
+
 -------------------------------------------------------------
   Adjusting how spamass-milter is started
 -------------------------------------------------------------
@@ -71,4 +90,4 @@ q
 
 and send the results along with your bug report using reportbug.
 
- -- Don Armstrong <don@donarmstrong.com>, Wed Feb  9 14:58:46 2005
+ -- Don Armstrong <don@debian.org>, Tue,  2 Jan 2007 06:40:24 -0800