]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/commitdiff
update the postfix rules and fix a bug in the init script
authordon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Fri, 13 Oct 2006 08:04:00 +0000 (08:04 +0000)
committerdon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Fri, 13 Oct 2006 08:04:00 +0000 (08:04 +0000)
debian/README.Debian
debian/spamass-milter.init

index 309eb50a193039854572379acfabc15bc8c594cb..7933fbba238d7c2734d6fcd7dd483076547389bc 100644 (file)
@@ -42,13 +42,17 @@ 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/run/sendmail/spamass.sock
+  smtpd_milters = unix:/var/run/postfix/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
 -------------------------------------------------------------
@@ -86,4 +90,4 @@ q
 
 and send the results along with your bug report using reportbug.
 
- -- Don Armstrong <don@donarmstrong.com>, Tuesday, September 12, 2006 20:24:40 PDT
+ -- Don Armstrong <don@debian.org>, Fri, 13 Oct 2006 01:03:04 -0700
index 037091c08a039005e7e9bb15f0a8aea2cbc3f0e8..a262c2d2283dc820aa4b1d5dbe567e18908529c2 100644 (file)
@@ -48,7 +48,7 @@ if [ -r $DEFAULT ]; then
     . $DEFAULT;
 fi;
 
-if [ -n $RUNAS ]; then
+if [ -n "$RUNAS" ]; then
     CHUID="--chuid $RUNAS";
 fi;