On Sun, 2004-01-11 at 13:59, cami wrote:
Hi All..
When a successfully authentication has taken place, is it possible to get dovecot to create the users maildir if it doesnt already exist?
Currently there's no configuration option for that. Some people want to create directories also for the user's home directory and possibly it's parent directory etc. so it'd be better to do it right the first time for everyone.. You could patch the sources, something like this: --- src/lib-storage/index/maildir/maildir-storage.c.old 2004-01-12 20:50:45.000000000 +0200 +++ src/lib-storage/index/maildir/maildir-storage.c 2004-01-12 20:51:13.000000000 +0200 @@ -64,6 +64,7 @@ p = strchr(p, ':'); } while (p != NULL); } + mkdir(root_dir, 0700); } if (root_dir == NULL)