On Tue, 26 Oct 2004, Dallman Ross wrote:
On Mon, Oct 25, 2004 at 10:57:46AM +0200, C. Pessereau wrote:
:0
* ^From:(_dot_)*(_at_)\/.*\.test\.com
.${MATCH}/
I would like to improve this recipe to not have .test.com in the
folder's name. My folders would be named :
aaa
bbbb
cc
Sure, just use a second instantiation of MATCH to get rid of the
extra text:
:0
* ^From:(_dot_)*(_at_)\/.*\.test\.com
* MATCH ?? ^^\/[a-z]+
$MATCH/
To make it little general:
* MATCH ?? ^^\/[^.]+
The first name could contain "-" or numbers.
Bye,
Udi
--
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail