From your 'master.cf' it looks like you are using spamd, not the milter. I'm not using procmail, but I have two 8.10 machines, one using spamd, the other using the milter to reject at SMTP time (rather than just tag as an after-queue). On the milter box I have commented out the content filter line:
Code:
smtp inet n - - - 10 smtpd
# spamassassin as a content filter (after queue)
# -o content_filter=spamassassin
#
...
<end lines>
# spamassassin re-inject point
#spamassassin unix - n n - - pipe
# user=spamd argv=/usr/bin/spamc -f -e
# /usr/sbin/sendmail -oi -f ${sender} ${recipient}
And to make the milter work, I have this in main.cf
Code:
smtpd_milters = unix:/home/mail/private/samilter
{your path will obviously be different}.
With /etc/default/spamass-milter looking like this:
Code:
# spamass-milter startup defaults
# Default, use the spamass-milter user as the default user, ignore
# messages from localhost
OPTIONS="-u spamass-milter -i 127.0.0.1"
# Reject emails with spamassassin scores > 15.
OPTIONS="-r 15"
# Do not modify Subject:, Content-Type: or body.
#OPTIONS="-m"
My init.d scripts that start it up (/etc/init.d/spamass-milter)
Code:
#!/bin/sh
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/local/sbin/spamass-milter
SOCKET=/home/mail/email/private/samilter
DESC="milter plugin for SpamAssassin"
SOCKETOWNER="postfix:postfix"
#test -x $DAEMON || exit 0
start() {
echo -n "Starting $DESC: "
start-stop-daemon --start -b --exec $DAEMON --oknodo --user spamass-milter -- -r 11 -p $SOCKET
#chown the socket
/bin/sleep 5s
chown $SOCKETOWNER $SOCKET
echo "${DAEMON}"
}
stop() {
echo -n "Stopping $DESC: "
start-stop-daemon --stop --exec $DAEMON --oknodo
/bin/sleep 5s
/bin/rm -f $SOCKET
echo "${DAEMON}"
RETVAL=0
}
case $1 in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo "Usage: firewall {start|stop|restart}"
RETVAL=1
esac
exit
Like I say, I'm not using procmail, but this works for me. I hope it is some use to you.