From: don Date: Fri, 13 Oct 2006 08:04:00 +0000 (+0000) Subject: update the postfix rules and fix a bug in the init script X-Git-Tag: debian/0.4.0-1~86 X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fspamass-milter.git;a=commitdiff_plain;h=cbf22a45406d04ec060ed1ddea984a526f510b60 update the postfix rules and fix a bug in the init script --- diff --git a/debian/README.Debian b/debian/README.Debian index 309eb50..7933fbb 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -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 , Tuesday, September 12, 2006 20:24:40 PDT + -- Don Armstrong , Fri, 13 Oct 2006 01:03:04 -0700 diff --git a/debian/spamass-milter.init b/debian/spamass-milter.init index 037091c..a262c2d 100644 --- a/debian/spamass-milter.init +++ b/debian/spamass-milter.init @@ -48,7 +48,7 @@ if [ -r $DEFAULT ]; then . $DEFAULT; fi; -if [ -n $RUNAS ]; then +if [ -n "$RUNAS" ]; then CHUID="--chuid $RUNAS"; fi;