2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: complex patterns?
FromSent OnAttachments
Adam McKennaNov 19, 2001 5:35 pm 
Sam VarshavchikNov 19, 2001 6:57 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: complex patterns?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Nov 19, 2001 6:57:44 pm
List:net.sourceforge.lists.courier-maildrop

Adam McKenna writes:

Does maildrop support more complex regexp's than listed in the "tips and tricks" section?

I want to do something like this..

if (
/^(to|cc).*(qma@list.cr.yp.to|dn@list.cr.yp.to|qmai@argus.pipeline.ch)/:h
) { to "$HOME/Mail/qmail/" }

Is this possible, or do I need to do this:

Yes. You should probably escape most of the periods, though.

See the maildropfilter man page.