You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by mouss <us...@free.fr> on 2006/11/01 17:27:18 UTC
Re: Postfix setting? or Spam Assassin?
Alan Fullmer wrote:
> Thanks. That puts me on the right path.
>
> I did forget to post my script:
>
> #!/bin/bash
> /usr/bin/spamc -f -u "$4" | /usr/sbin/sendmail -i "$@"
> exit $?
>
You are filtering one message, using the first recipient ($4). as a
result, the message will have one score (corresponding to the first user).
use
spamassassin_destination_recipient_limit = 1
so that the message is "split" by postfix (one recipient at a time)
before using the spamassassin transport.