On Wed, Apr 26, 2006 at 11:59:22AM +0100, Philip Hazel wrote: > I'm not quite sure what to call the option: perhaps something like
> maildirfolder_create_regex would be more explicit. It certainly needs to
> include "maildir" because it wouldn't apply to other delivery types. So
> a (better) pattern for you would be
>
> maildirfolder_create_regex = ^/somewhere/[^/]+/[^/]+/\.
Sounds good to me, maildirfolder_regex would be a bit shorter.
> I'll go ahead with that; hopefully regular expressions are flexible
> enough to cope with any requirements that people may come up with.
I like that solution and think it will work fine, but please add a check
if the parent directory contains cur, new and tmp directories.