Why procmail is not executed ? Is there some priority or dependencies
for mailbox_command execution ?

Yes: the mail has to be delivered to a mailbox.
You are delivering mail to spamassassin.

You confused me : spamassassin leaves the messages for local delivery via /usr/local/sbin/sendmail -i "$@"

And indeed everything works fine except the missing filtering via Procmail.
(note : I'm using virtual users).

More generally, is mailbox_command mandatory ?
Can I replace it using in master.cf a syntax like following :

smtp   inet  n - n  -  -  smtpd -o content_filter=procmail:filter

where procmail service will call, via shell script, spamassassing before doing its filtering, and do I can avoid the need of mailbox_command.
Correct ?

Bye,
Bruno

--
Linux Counter #353844
http://counter.li.org/





----------------------------------------------------------------

Reply via email to