On Tue, Mar 20, 2001 at 02:58:41AM -0500, Gerald Oskoboiny wrote:
:
> So I modified my whitelist filter to only capture mail that does not
> contain a space anywhere after '^From: ' in the header. (so from now
> on, almost all the mail that gets trapped by this filter will be spam,
> and I can check it even less often than before.)
>
> The new line I added to my .procmailrc is:
>
> * ^From: .*\
>
> (the trailing space is important)
Oops... no, that doesn't work, because procmail strips leading
and trailing whitespace. (I thought I tested it and it worked,
but I guess not.)
So I changed that to:
SPACE=" "
:0
*$ ^From: .*$SPACE
etc.
--
Gerald Oskoboiny <
[email protected]>
http://impressive.net/people/gerald/