procmail
[Top] [All Lists]

why does this recipe fail?

2001-07-26 08:22:05
I'm trying to use procmail to filter out messages from some Microsoft Outlook worm, which sends me a dozen or two per day. It's not working, and I can't see why. The recipe looks like this:

:0 HBD
* X-Mailer: Microsoft Outlook *
* Hi! How are you?
* I send you this file in order to have your advice
* See you later. Thanks
/dev/null

Now, the message I'm trying to filter really does have all of those lines. In fact, here it is (minus the headers):

Content-Disposition: message text

<x-charset ISO-8859-1>Hi! How are you?

I send you this file in order to have your advice

See you later. Thanks

</x-charset>

When I put such a message in a little test.mbox of its own, and test it with procmail -m, it works fine. But when I actually received it, it wasn't filtered; my log file contains:

procmail: [21746] Thu Jul 26 07:26:33 2001
procmail: Match on "X-Mailer: Microsoft Outlook *"
procmail: Match on "Hi! How are you?"
procmail: Match on "I send you this file in order to have your advice"
procmail: No match on "See you later. Thanks"

Why is this? The string it claims doesn't match is right there in the message, below the line which it agrees does match. Any clue?

Thanks,
- Joe
--
,------------------------------------------------------------------.
|    Joseph J. Strout         Check out the Mac Web Directory:     |
|    joe(_at_)strout(_dot_)net           http://www.macwebdir.com/            |
`------------------------------------------------------------------'

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>