testing procmail (verbosity)

testing procmail (verbosity)

am 02.06.2006 16:53:25 von nooneinparticular314159

Something in one of my procmail filters is not working properly, and
has delivered a spam to my inbox. I need to know which rule is not
working properly. I have a .procmailrc file that contains:

DEFAULT=$HOME/Maildir/
MAILDIR=$HOME/Maildir
PMDIR=$HOME/.procmail
LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/filters.rc
VERBOSE=ON

and a filters.rc file with my filters. However, I've never been able
to get procmail to output verbose output, despute the VERBOSE=ON
statement. How can I get verbose output correctly? How can I
determine which rule is letting the spam through?

Thanks!

Re: testing procmail (verbosity)

am 02.06.2006 21:18:03 von Alan Clifford

On Fri, 2 Jun 2006, nooneinparticular314159@yahoo.com wrote:

n> Something in one of my procmail filters is not working properly, and
n> has delivered a spam to my inbox. I need to know which rule is not
n> working properly. I have a .procmailrc file that contains:
n>
n> DEFAULT=$HOME/Maildir/
n> MAILDIR=$HOME/Maildir
n> PMDIR=$HOME/.procmail
n> LOGFILE=$PMDIR/log
n> INCLUDERC=$PMDIR/filters.rc
n> VERBOSE=ON
n>
n> and a filters.rc file with my filters. However, I've never been able
n> to get procmail to output verbose output, despute the VERBOSE=ON
n> statement. How can I get verbose output correctly? How can I
n> determine which rule is letting the spam through?
n>
n>

It would be a jolly good idea to set verbose=on BEFORE running filters.rc
rather than afterward.

--
Alan

( If replying by mail, please note that all "sardines" are canned.
There is also a password autoresponder but, unless this a very
old message, a "tuna" will swim right through. )

Re: testing procmail (verbosity)

am 02.06.2006 21:59:43 von Neil Woods

"nooneinparticular314159@yahoo.com"
writes:

> Something in one of my procmail filters is not working properly, and
> has delivered a spam to my inbox. I need to know which rule is not
> working properly. I have a .procmailrc file that contains:
>
> DEFAULT=$HOME/Maildir/
> MAILDIR=$HOME/Maildir
> PMDIR=$HOME/.procmail
> LOGFILE=$PMDIR/log
> INCLUDERC=$PMDIR/filters.rc
> VERBOSE=ON
>
> and a filters.rc file with my filters. However, I've never been able
> to get procmail to output verbose output, despute the VERBOSE=ON
> statement. How can I get verbose output correctly? How can I
> determine which rule is letting the spam through?
>
> Thanks!
>

Put VERBOSE=on *before* the INCLUDERC line.
--
Neil.
Be self-reliant and your success is assured.