procmail
[Top] [All Lists]

MATCH problem

2003-01-18 18:32:41
With the following data taken from four messages:

msg1
From: Welcome Department 
<leave-wfsdirect2-25765265E(_at_)m1s73r(_dot_)gsjs(_dot_)com>
Message-Id: 
<LYRIS-25765265-286954-2003(_dot_)01(_dot_)16-17(_dot_)56(_dot_)51--fleet#paxp(_dot_)com(_at_)m1s73r(_dot_)gsjs(_dot_)com>

msg2
From: laverty(_at_)00server(_dot_)com
Message-Id: 
<m18j2y(_dot_)mye6rreq141t2mgq5j7t(_at_)mx14(_dot_)hotmail(_dot_)com>

msg3
From: BlestLadyMimi(_at_)mcimail(_dot_)com
Message-ID: <Blessings4You(_at_)mcimail(_dot_)com>

msg4
From: Keitha Mielke <Cathleenap(_at_)orgio(_dot_)net>
Message-Id: <puapggrrr(_at_)orgio(_dot_)net>

* From:[        ].*\/\(_at_)(_dot_)*[^\>]
gets me the domains properly as @whatever

* Message-Id:[        ].*\/\(_at_)(_dot_)*[^\>]
gets me the domains properly as @whatever

I should match on all but msg2 with the following; but I'm not.

LOGFILE=$HOME/.froglog
DEFAULT=$HOME/tadpoles # for messages that are not full-fledged frogs
VERBOSE=on

:0
* From:[        ].*\/\(_at_)(_dot_)*[^\>]
* $MATCH ?? Message-Id:[        ].*\/\(_at_)(_dot_)*[^\>]
foundit

The log shows:
procmail: Assigning "MATCH="
procmail: Matched "@m1s73r.gsjs.com"
procmail: Match on "From:[      ].*\/\(_at_)(_dot_)*[^\>]"
procmail: No match on "Message-Id:[     ].*\/\(_at_)(_dot_)*[^\>]"

So what am I doing wrong?

* [spacetab]

                                - fleet -



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