On Fri, 5 Dec 1997 21:35:10 -0800, Josh Rotenberg <josh(_at_)parasite(_dot_)com>
wrote:
i'm not sure what mail app yer using, but some (i.e. mutt) have a bounce
feature, coupled with a tag feature, you can tag all of the messages and then
bounce them back to yourself. i do this a lot to test new procmail recipes.
As a side comment, it might be better to just pass a dummy message to
procmail from the command line, unless you are expecting radically
different behavior on the host you are logged into from what the host
that processes mail would do. Besides being a waste of resources,
passing stuff through the mail processing mill will change the
message, adding new Received: lines and potentially modifying it a lot
(e.g. MIME encoding it or whatever). When you test, you want to focus
on the piece you want to test, with as few additional variables as
possible. (There will naturally be situations where the problem is not
with Procmail even though you expected it was. Never say never.)
:0:
* ^.*hotmail.com
spam
The leading ^.* is another redundant waste of resources. And
personally, I would be hesitant to throw away stuff just because it
mentions hotmail in the headers, perhaps even only in the subject (and
strictly speaking, you should backslash-escape the dot before "com").
/* era */
(I must confess that my own spam filters are also not very tolerant of
anything with "hotmail" in the headers, for a reason. Nearly all the
mail I receive that is actually from Hotmail, i.e. not merely with a
forged From: something(_at_)hotmail(_dot_)com, is legit, though. I hear they're
thinking about taking the forgers to court.)
--
Paparazzi of the Net: No matter what you do to protect your privacy,
they'll hunt you down and spam you. <http://www.iki.fi/~era/spam/>