On Mon, 14 Sep 2009, Ryan Thoryk wrote:
Hi,
We're rebuilding a mail server and are having some issues with SQL-based
SA preference lookups. We're running Postfix 2.5.5 and SA 3.2.5 (Debian
Lenny version) - here's our Postfix config from master.cf:
spamassassin unix - n n - - pipe
user=spamd argv=/usr/bin/spamc -u ${user} -e /usr/sbin/sendmail -oi -f
${sender} ${recipient}
old non-lookup line:
user=spamd argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender}
${recipient}
What's happening is that individual incoming messages get handed off to
SA using the spamc command above, but SA is only processing the first
message and never handing it back to Postfix, while the other messages
never seem to get processed at all (nothing at all about them in the
logs). The old non-lookup line works fine. Has anyone here experienced
similar issues?
You named your pipe in master.cf spamassassin. Do you have:
spamassassin_destination_recipient_limit = 1
in main.cf? To do individual scoring, you need to feed your spamassassin
pipe with one message per recipient.
Someone please correct me if I am wrong. That is, at least, how I am doing
it here and is working fine.