procmail
[Top] [All Lists]

RE: Spams bypassing procmail based filtering

2001-12-25 15:10:11

On Tue, 25 Dec 2001, Gary Funck wrote:

As a first step, try enabling procmail's logging option to see what is
happening. Add the following to the top of your .procmailrc file:

LOGFILE=procmail.log
LOGABSTRACT=all

I suspect that procmail is not processing Bcc'd type emails like
aliased emails don't get processed unless they are piped off
to procmail and the recipe you want to run from /etc/aliases. To
get spam filtering of 100% of my server's inbound emails, all
email addy's may have to hav an alias in /etc/aliases with their
own respective pipe to procmail and the filtering recipe.


I will try out the following, haven't used it before.

Thanks!

--Paul

With this in place, when a message comes in that you think may not have been
processed properly, you can look at 'procmail.log' to see what happened to
it. You can add your own logging info. by assigning to the LOG variable at
various places in your recipe. Typically, a "newline" variable is
intrroduced into the .procmailrc file (towards the top) to make formatting
the log output easier.

NL="
"
...
LOG="log message 1$NL"
....
LOG="log message 2$NL"

etc.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


--


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail