Toen ik David W. Tamkin kietelde, kwam er dit uit:
Ruud H.G. van Tol:
Or use snr, from the fabulous 'just procmail'-collection:
http://www.xs4all.nl/~rvtol/procmail/ snr_demo.rc
Thanks for the pointer, Ruud. But there shouldn't be a space
after tha last slash
That was on purpose.
and it's also important to see
http://www.xs4all.nl/~rvtol/procmail/inc/snr_fast.inc with it.
That was to find out, and so you did.
:0
* FOLDERNAME ?? ()\.
{
snr_String = $FOLDERNAME
snr_Search = "."
snr_Replace = ":"
INCLUDERC = inc/snr_fast.inc
:0
.$snr_Return
}
:0E
.$FOLDERNAME
Unless $FOLDERNAME already includes the trailing slash to get maildir
format as Courier IMAP likes, those destinations will need to be
.$snr_Return/ and .$FOLDERNAME/ respectively.
That remains as an exercise. :-)
--
Grtz, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail