Hello,
I setup Postfix with spamassassin and procmail.
spamassassin is configured in master.cf, and procmail in main.cf
spamassassin is executed but not procmail.
* in master.cf
...
smtp inet n - - - - smtpd
-o content_filter=spamfilter:dummy
spamfilter unix - n n - - pipe
flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter.sh -f
${sender} -- ${recipient}
...
* in main.cf:
...
mailbox_command = /usr/bin/procmail -f- -a "$USER"
...
(note : /usr/bin/procmail is fine and seems ok)
* in mail.info log file :
...
setuid to spamfilter succeeded
spamd: processing message ... for spamfilter:5001
spamd: clean message (-0.5/2.0) for spamfilter:5001 in 2.2 seconds,
1875 bytes.
...
spamd[32416]: prefork: child states: II
...
postfix/cleanup[27681]: ... status=sent (delivered via spamfilter service)
postfix/qmgr[18310]: ... removed
...
So spamassassin is correctly setup.
But after spamd I expected some trace of some mailbox_command
execution, but (apparently) nothing, and so procmail is not executed.
Why procmail is not executed ? Is there some priority or dependencies
for mailbox_command execution ?
Thanks for any help.
Bye,
Bruno
--
Linux Counter #353844
http://counter.li.org/
----------------------------------------------------------------