procmail
[Top] [All Lists]

Re: Help with match variable

2002-01-18 07:14:32
In your message regarding Re: Help with match variable dated Fri, 18 Jan
2002 11:55:21 +0000, Martin McCarthy said that ...

Thank you so much Martin, that is exactly what I'm looking for. 

 The MATCH variable contains the text that is matched by the regular
 expression to the right of the '\/'.  Your regular expression stops at
 the '\/' and so there's nothing more to put into the MATCH variable.
 Presumably you're wanting what is on the rest of the 'X-spamtrap:' line,
 in which case you want your condition to be something like:
 
   * ^X-spamtrap: \/.*
 
 The '.*' will match the rest of the line, and that matched text will go
 into the MATCH variable.
 
 Hope that helps,
 Martin



-- 
Best Regards,

Tim Rice
---------------
Stationery & Stuff
Phuket Thailand
http://www.thaistuff.com
http://www.computerstuff.net
_______________________________________________
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>