Hi.
 
I've been dropped in the deep end here (I didn't install it and the person who 
did is gone), and I hope someone can point me in the right direction.  
 
We are running SpamAssassin and Postfix.  Users have reported that email has 
not been getting through, and it appears to be only for multiple recipients - 
only one copy of the email gets through, to the address which is first 
alphabetically.
 
For example, an email comes in for two addresses from our gateway.  Postfix 
then sends two emails to the spamfilter:
 
Jul  6 17:17:55 emperor01 postfix/pipe[3569]: BD7DA8E00: to= <mailto:[EMAIL 
PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> .edu.au, 
orig_to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >, relay=spamfilter, 
delay=1, status=sent (e01.usq.edu.au)
Jul  6 17:17:55 emperor01 postfix/pipe[3569]: BD7DA8E00: to= <mailto:[EMAIL 
PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> q.edu.au, 
orig_to=<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >, relay=spamfilter, 
delay=1, status=sent (e01.usq.edu.au)
 
However, only one email comes back and is passed on to our internal system:
 
Jul  6 17:17:55 emperor01 postfix/qmgr[1864]: 1973B8E02: from= <mailto:[EMAIL 
PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> t.com, size=1467792, 
nrcpt=1 (queue active)
Jul  6 17:17:55 emperor01 postfix/smtp[3581]: 1973B8E02: to= <mailto:[EMAIL 
PROTECTED]> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> .edu.au, 
relay=a1.usq.edu.au[139.86.128.28], delay=0, status=sent (250 a1.usq.edu.au: 
Message accepted for delivery)
 
The other just seems to disappear into the ether.
 
Lines in master.cf:
 
smtp      inet  n       -       n       -       -       smtpd -o content_filter=
spamfilter
 
spamfilter unix -       n       n       -       -       pipe flags=Rq user=filte
r argv=/usr/local/bin/spamfilter ${sender} ${recipient}
 
The script /usr/local/spamfilter:
 
/usr/bin/spamc -f | /usr/local/bin/sendmail -i -f $1 $2
exit $?
 
Any ideas would be most helpful; as I said, I've just started looking at this 
today.
 
Thanks
Matthew
 

Reply via email to