procmail
[Top] [All Lists]

Re: MATCH problem

2003-01-19 17:19:04
Ruud H.G. van Tol skribis:
Ruud H.G. van Tol skribis:

One way to Rome:

  :0:
  * ^From:[  ](_dot_)+(_at_)\/.+($|[^-a-z0-9.])
  * MATCH ?? ^^\/[-a-z0-9.]+
  * ^Message-Id:[  ](_dot_)*(_at_)(_dot_)*${MATCH}($|[^-a-z0-9.])
  foundit

Another way (with less puzzling logs)

  :0:
  * ^From:[  ](_dot_)+(_at_)\/[-a-z0-9.]+
  * ^Message-id:[  ]<(_dot_)+(_at_)(_dot_)*${MATCH}>
  foundit

That ${MATCH} should also be a $\MATCH 
(there can be dots inside, they are better when escaped).

-- 
Affijn, Ruud

Easy people don't care too much.

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