# 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
that postfix connects to the spamass-milter socket. Something like:
# spamass-milter configuration
- smtpd_milters = unix:/var/run/postfix/spamass.sock
+ 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
and send the results along with your bug report using reportbug.
- -- Don Armstrong <don@debian.org>, Fri, 13 Oct 2006 01:03:04 -0700
+ -- Don Armstrong <don@debian.org>, Tue, 2 Jan 2007 06:40:24 -0800
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/spamass-milter
-SOCKET=/var/run/sendmail/spamass.sock
+SOCKET=/var/run/spamass/spamass.sock
PIDFILE=/var/run/spamass/spamass.pid
DESC="Sendmail milter plugin for SpamAssassin"
chown "$RUNAS" $(dirname $PIDFILE);
fi;
fi;
+ # Drop in a compatibility symlink for the old sendmail socket location
+ if [ -d /var/run/sendmail ] && [ -n "$RUNAS" ] &&
+ [ "$SOCKET" == "/var/run/spamass/spamass.sock" ] &&
+ ! [ -e /var/run/sendmail/spamass.sock ]; then
+ ln $SOCKET /var/run/sendmail/spamass.sock;
+ fi;
/bin/rm -f $SOCKET
start-stop-daemon --start -p $PIDFILE $CHUID --exec $DAEMON -- -P $PIDFILE -f -p $SOCKET $OPTIONS
if [ -n "$SOCKETMODE" ]; then