procmail
[Top] [All Lists]

Re: Recipe problem

2004-08-25 12:36:54
On Wed, Aug 25, 2004 at 02:53:54PM -0400, William Park wrote:
On Wed, Aug 25, 2004 at 01:28:48PM -0500, Chuck Campbell wrote:

After sorting out yesterday's problems, I've found I've still got another 
one.

I have two recipes in my .procmailrc, either of which should have caught 
this 
message as far as I can tell, but none of which did so.

I can't see anything wrong here, so another pair of eyes would be 
appreciated.

Recipes (cut and pasted from .procmailrc, so no typos):


:0
* (^TO|^TO_|^Sender:|^X-list:|^FROM_DAEMON|^From:.*)linux-xfs

Hint:
    What is the difference between
      Sender:linux-xfs
      Sender: linux-xfs

So,
I thought the .* meant to match anything except a newline (including white 
space).  Or does it only apply to the ^From:, the way I've got it written?

A quick scan of man procmail, man procmailrc and man procmailex doesn't find
the macro definitions for ^TO, ^TO_, ^FROM_DAEMON, so I haven't been able
to look them up yet... 

Should this work then?

:0
* (^TO |^TO_ |^Sender: |^X-list: |^FROM_DAEMON |^From: .*)linux-xfs
linux-xfs

or should it be this?

:0
* (^TO|^TO_|^Sender:|^X-list:|^FROM_DAEMON|^From:.*) linux-xfs
linux-xfs

or is it really supposed to tbe this?

:0
* (^TO|^TO_|^Sender:|^X-list:|^FROM_DAEMON|^From:).* linux-xfs
linux-xfs

thanks,
-chuck



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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