On 5/18/05, Ken Schneider
I am trying to get postfix to work with procmail but I am missing something somewhere. I have amavisd-new-2.2.1-5 included in the mail process as per its instructions. I created a /etc/procmailrc file with a couple of rules:
***************************************************
LOGFILE=/var/log/procmail.log VERBOSE=yes #LOGABSTRACT=all
# Send all mail through SpamAssassin
:0fw: spamassassin.lock * < 256000 | spamassassin
# drop most spam
:0 h * ^X-Spam-Level: \*\*\*\*\*\*\*\* /dev/null
***************************************************
I know this is a little aggressive for spam, but this machine should only receive list mail and little else. I use my ISP email address for all other email. I think sa is being called directly by postfix but not sure, it might be called by amavis. I think I need to set procmail as the local delivery agent but have not been able to find any docs on how to do this. main.cf and master.cf files available on request, off list, due to the size of the files and that the list does not allow attachments.
Thanks,
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
"The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi Ken, to set an external delivery agend use the mailbox_command option in main.cf ( see man 5 postconf ) mailbox_command = /some/where/procmail but the entry in your procmailrc does call spamassasin itself.. if you also use amavisd in your master.cf, amavis might as well check for a spamassassin ( or a running spamd instance, I'm not really sure [ it has been a while :-, ] .. ) Markus