On Thu, 19 Jul 2001, Professional Software Engineering wrote:
At 21:51 2001-07-19 +0100, Nancy McGough wrote:
For a long time now, I have been successfully using this recipe
:0:
* ? formail -rtzxTo: | fgrep -i -f $PMDIR/greenlist
in-greenbox
to place messages from people who I correspond with into my
greenbox. Recently some messages that have a From: (and `From ')
header that contain an email address that is *not* in my
greenlist have been delivered to my in-greenbox. One oddity is
formail -xFrom:
would be matching against the From: header. You are not using this syntax
- you're using the address which a reply would be directed to, which can
often be VERY different. See the manpage for formail...
particularly since she is also using the t flag.
Here's a suggestion I offer at least once a week in this forum: turn on
verbose logging.
In this case, an easier approach. Just check the header lines for the
possible addresses, and grep greenlist. I had the same situation, and it
turned out a spammer was using the same address as one of my regular
correspondants, minus the leading letter.
--
Try not to have a good time ... This is supposed to be educational.
-- Charles Schulz
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail