I've installed sauserprefs plugin, configured, and changed line in master.cf from:
spamfilter unix - n n - - pipe flags=Rq user=spamd argv=/usr/bin/spamfilter.sh -oi -f ${sender} ${recipient}
to :
spamfilter unix - n n - - pipe flags=Rq user=nobody argv=/usr/local/bin/spamc -u ${user} -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
but after change i can't receive e-mails with multiple recipients in address field.
I've tried to this line to:
spamfilter unix - n n - - pipe flags=Rq user=nobody argv=/usr/local/bin/spamc -u ${user} -e /usr/sbin/sendmail -oi -t -f ${sender} -- ${recipient}
but it didn't changed anything.
In all cases I can see in maillog:
"relay=spamfilter, delay=0.52, delays=0.28/0/0/0.24, dsn=2.0.0, status=sent (delivered via spamfilter service)"
Please help.