On Sun, 2006-08-20 at 09:55 -0700, Richard wrote:
i'm setting up for virtual_users w/ maildir.
i have in my dovecot.conf:
auth default { passdb passwd-file { args = /etc/dovecot/imapd.passwd } userdb static { args = static uid=300 gid=300 home=/var/dovecot/mail mail=maildir:/var/dovecot/mail/%d/%n/Maildir nice=10 } } default_mail_env = maildir:/var/dovecot/mail/%d/%n/Maildir:INDEX=/var/dovecot/indexes/%d/%n
Your userdb static's mail overrides the default_mail_env. Probably better to use:
args = static uid=300 gid=300 home=/var/dovecot/mail/%d/%n and nice=10
default_mail_env = maildir:~/Maildir:INDEX=/var/dovecot/indexes/%d/%n
in /etc/dovecot/imapd.passwd, i have:
omn@server.com:{PLAIN}pass:300:300::/var/dovecot/mail:::
If you're using userdb static, there's no point in having anything else in here than just "user:pass".
omn@server.com static uid=300 gid=300 home= mail=maildir:/server.com/omn/Maildir nice=10
This doesn't look anymore what you showed above. Have you set mail_chroot or something? Or just show what "dovecot -n" says.
type=private, prefix=Private/, sep=/, inbox=yes, hidden=no, subscriptions=no dovecot: Aug 20 08:07:33 Info: IMAP(omn@server.com): maildir autodetect: stat($default_mail_env/cur) failed: No such file or directory
I suppose you're trying to use $default_mail_env in namespace's location? That won't work. Just don't set location at all and that does it.