I really wanted the subject to be "HOLY SMOKES!!!!" but I guess that
wouldn't have been all that informative. :)
I tried grepping a whitelist. It seemed to work fine in the sandbox; but
when I tried it live I wound up with a bazillion procmail/sendmail
processes and my machine slowed to the point of being totally
unresponsive. I also started getting a LOT of errors when using fetchmail
- and getting no mail.
Here's the recipe. I'm obviously doing something I shouldn't be.
============ whitelist.rc ================
:0
* ^From[ ]\/[^ ]+
* ? fgrep -i "$MATCH" whitelist.txt
{
:0
* ^(To|Cc):[ ](_dot_)*fleet(_at_)epix\(_dot_)net
epix
:0
* ^(To|Cc):[ ](_dot_)*fleet(_at_)teachout\(_dot_)org
teachout
:0
* ^(To|Cc):[ ](_dot_)*fleet(_at_)paxp\(_dot_)com
paxp
}
========================================
The whitelist.txt is 7932 bytes and contains 160 e-mail addresses in the
form of:
john(_dot_)relative(_at_)domain(_dot_)com #John/Jane
Relative
(ie, standard e-mail addresses; but each with a #note)
whitelist.txt is in $PMDIR.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail