procmail
[Top] [All Lists]

Re: Beginner - please help

2007-04-14 07:29:57
Thanks for the replies.  My original was built from various sources and has
worked but I know it needs to be more efficient and fix some of those
issues.

I don't need to log anything at all, so I am just going to drop that part
altogether unless someone thinks it should be done.  So let me see if I can
understand a little better what I am supposed to do.

Someone noted that there are no vacation rules here, which is true.
Vacation messages are at each local user's account.  So far as I understand
it, a vacation message should only be generated when the message hits the
local account, not at the MTA.  This way I prevent replying to spam email.

Does this look little cleaner?  The spam account is local.  Is this
accomplishing what I want to do?

#############Start#################

VERBOSE=yes
LOGABSTRACT=all

:0fw
* !^X-Spam-Flag:(.*\<)?yes
* !^X-Loop:(.*\<)?spam
| /usr/bin/spamc

:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null

:0:
* ^X-Spam-Flag: YES
/var/spool/mail/spamaccount

DROPPRIVS=YES

########End###############


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail