procmail
[Top] [All Lists]

extracting RE arguments from the matching string

2002-05-09 07:22:25
Hi there,

I'm trying to generate new mail folders depending on the generic contents
of a string, with something along the lines of this (which doesn't work):

:0
* ^List-Local:(.*)
$1

In other words, on reciept of an email with header 'List-Local: foo', the
mail should be written to a mailbox called 'foo'.

Is this possible at all?

-- 
Giles Constant, Systems Programmer
Hyperlink Interactive
http://www.hyperlink-interactive.co.uk

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