uberthold
2003-10-13 15:04:04 UTC
hello postfixers.
i am running a little mail server, postfix 2.0.14 on debian/linux, 2
domains, 30 users and i have tried recently to integrate spamassassin
into the setup, following the FILTER_README and various howtos/docs on
the www. i used the first filter setup via script and it does a fine job
filtering spam, just when someone sends in mail with 2 or more "RCPT To:
" addresses, none of the recipients gets his mail delivered, instead the
mail loops back to the sender.
this behaviour does not appear without the filter turned on and the
filter works fine with only 1 RCPT To:
the changes i made to the original setup were:
* in master.cf
smtp inet n - - - - smtpd
-o content_filter=scan:
scan unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/sbin/spamfilter ${user}
${sender} ${recipient}
the script in /usr/local/sbin/spamfilter looks like this:
if [ ! -z $1 ]; then
SCUSER="-u $1"
fi
/usr/bin/spamc -f $SCUSER | /usr/sbin/sendmail -i -f $2 -- $3
exit $?
sniffing on port 25 and the logfile provide me with the information that
mail to 2 recipients doesn't reach the filter script at all, but a new
smtp connection is opened sending the mail back to the sender. and on
this occassion it passes the filter.
maybe someone here has experience with this kind of setup and can give
me a clue, what to do about it.
thanks in advance,
ub
i am running a little mail server, postfix 2.0.14 on debian/linux, 2
domains, 30 users and i have tried recently to integrate spamassassin
into the setup, following the FILTER_README and various howtos/docs on
the www. i used the first filter setup via script and it does a fine job
filtering spam, just when someone sends in mail with 2 or more "RCPT To:
" addresses, none of the recipients gets his mail delivered, instead the
mail loops back to the sender.
this behaviour does not appear without the filter turned on and the
filter works fine with only 1 RCPT To:
the changes i made to the original setup were:
* in master.cf
smtp inet n - - - - smtpd
-o content_filter=scan:
scan unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/sbin/spamfilter ${user}
${sender} ${recipient}
the script in /usr/local/sbin/spamfilter looks like this:
if [ ! -z $1 ]; then
SCUSER="-u $1"
fi
/usr/bin/spamc -f $SCUSER | /usr/sbin/sendmail -i -f $2 -- $3
exit $?
sniffing on port 25 and the logfile provide me with the information that
mail to 2 recipients doesn't reach the filter script at all, but a new
smtp connection is opened sending the mail back to the sender. and on
this occassion it passes the filter.
maybe someone here has experience with this kind of setup and can give
me a clue, what to do about it.
thanks in advance,
ub