[Dovecot] Feature Request?
Timo Sirainen
tss at iki.fi
Mon Jan 12 20:52:19 EET 2004
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20040112/67a9edb0/attachment.pgp
More information about the dovecot
mailing list