procmail config help
andy at neu.net
Wed Nov 17 19:59:20 UTC 2010
I am trying to configure sendmail with spamassassin to move mail marked as
spam to a spam folder in the users home directory. I have the following
p5-Mail-SpamAssassin-3.3.1 A highly efficient mail filter for identifying
razor-agents-2.84 A distributed, collaborative, spam detection and
spamass-milter-0.3.1_10 Sendmail Milter (mail filter) plugin for
p5-Mail-DKIM-0.38 Perl5 module to process and/or create DKIM email
procmail-3.22_6 A local mail delivery agent
I would like to setup this configuration for each individual instead of
system wide. I have the following procmail file in the user home
#Uncomment the following lines and use tail -f procmail.log to debug
# Feed redirected spam to sa-learn, and also store a copy in a folder
# This folder of false negatives could be useful if we needed to rebuild
# database in the future.
* ^To:.*spam at example.com
* < 256000
| sa-learn --spam
# Send all other mail through SpamAssassin
* < 256000
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
Spam messages are still being delivered to the user inbox.
I tried to setup logging with the following:
When I tried to send a test spam message nothing is written to the log
How can I get logging to work to try to debug the problem?
If anyone has a working procmail config file to share that would be
Any help debugging this would be greatly appreciated.
More information about the freebsd-questions