Timur Tabi wrote:
I have this rule that I created (thanks again to everyone who helped me
with it over the past few weeks) that allows me to filter mail into
folders based on the email address:
:0
* ^TO_ \/(_dot_)*(_at_)subdomain\(_dot_)domain\(_dot_)com
* MATCH ?? ()\/[^(_at_)]+
{
snr_String = $MATCH
snr_Search = "."
snr_Replace = "-"
INCLUDERC = inc/snr_fast.inc
:0
.$snr_Return/
}
I guess what I need is a way to strip out everything to left of and
including the < if found. Can anyone tell me how to do that?
* ^TO_(.*<)?<?\/(_dot_)*(_at_)subdomain\(_dot_)domain\(_dot_)com
might do the trick (test first, of course)
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail