procmail
[Top] [All Lists]

Re: Capturing some mail

2001-06-10 06:33:22
At 14:38 2001-06-10 +0300, Odhiambo Washington wrote:

From: "Norberto Alfredo Bensa" <ceo(_at_)nbensacomputers(_dot_)com>
Reply-To: newbie(_at_)XFree86(_dot_)Org
To: <newbie(_at_)xfree86(_dot_)org>
Date: Sun, 10 Jun 2001 08:31:01 -0300
Subject: [Newbie]noise on the screen...
From owner-newbie(_at_)XFree86(_dot_)Org Sun Jun 10 14:31:18 2001
X-Mailer: Microsoft Outlook Express 5.50.4522.1200

The order of these headers is wrong -- the From (no trailing colon) should be at the top. Dunno if you copied these individually or as a block, but if you copied as a block, you should try to find out why the header is in the wrong place...

:0:
* ^From:.*newbie
* ^Reply-To:.*newbie
XWINDOWS

From: (from-colon) doesn't match anything in the headers you show above. perhaps you mean to use:

* ^From[        ].*newbie

The brackets enclose a space and tab, though properly, you should only need to put an unbracketed space there, this allows for more lattitude with a whacked local MTA.

Might I suggest that when faced with rules which don't do as you'd like, you enable logging with 'VERBOSE=ON' and then examining the logfile - this should have allowed you to determine that it WAS NOT matching the ^From: expression, which would have allowed you to focus on why that was.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

_______________________________________________
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>