Alan Fullmer:
> I have a question.  I'm not sure If it's a setting in Postfix or if
> something needs to be set with my wrapper script.
> 
> Currently I have Postfix doing virtual lookups by mysql tables.  From that
> point, I have this:
> Master.cf
> --------------------------
> smtp      inet  n       -       -       -       -       smtpd -o
> content_filter=spamassassin:dummy
> 
> 
> spamassassin unix - n n - - pipe
>   flags=Rq user=spamassassin argv=/data/scripts/spamfilter.sh -f ${sender}
> -- ${recipient}
> 
> -----------------end
> 
> Everything works except on minor detail, but I say major detail.
> 
> If I send a message to "[EMAIL PROTECTED]" it goes through the spamassassin
> filters and assigns its value appropriately.
> 
> However, if I sent a message that has a BCC or CC, or even a comma separated
> on the TO: line, it only works with the first value.

The /data/scripts/spamfilter.sh is invoked with all the recipients
on the command line.

You need to find out why the script loses the other recipients.

        Wietse

Reply via email to