Using Dovecot v1.0.alpha4 on OpenBSD 3.8 (same problem find using Dovecot v1.0.alpha3 on OpenBSD 3.7)
Log output:
dovecot: Nov 04 11:15:28 Info: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 resp=AHl2cmlAbjN1dHJpbm4uaXQAeXVyaW6zgXRyaW1v dovecot: Nov 04 11:15:28 Info: auth(default): sql(myuser@mydomain.com,127.0.0.1): query: SELECT password FROM user_accounts WHERE username='myuser@mydomain.com' dovecot: Nov 04 11:15:28 Info: auth(default): client out: OK 1 user=myuser@mydomain.com dovecot: Nov 04 11:15:28 Info: auth(default): master in: REQUEST 5 32206 1 dovecot: Nov 04 11:15:28 Info: auth(default): sql(myuser@mydomain.com,127.0.0.1): SELECT '/var/mail/'||mailbox AS mail, uid, gid FROM user_accounts WHERE username='myuser@mydomain.com' dovecot: Nov 04 11:15:28 Info: auth(default): master out: USER 5 myuser@mydomain.com mail=/var/mail/mydomain.com/myuser uid=10001 gid=10001 dovecot: Nov 04 11:15:28 Error: imap(myuser@mydomain.com): Ambiguous mail location setting, don't know what to do with it: /var/mail/mydomain.com/myuser (try prefixing it with mbox: or maildir:) dovecot: Nov 04 11:15:28 Error: imap(myuser@mydomain.com): Failed to create storage with data: /var/mail/mydomain.com/myuser
I verified that "default_mail_env" on my dovecot configuration file are "maildir:" correctly prefixed:
"default_mail_env = maildir:/var/mail/%d/%n"
and ... permissions of /var/mail/mydomain and /var/mail/mydomain/myuser are 2755 and owner is root:mail. I'm sure that isn't an authentication problem. I've tried some days to understand and to find over internet and here in the dovecot mailing list but I've not find a solution yet. I think it's a dovecot internal bug. Someone know what I'm talking about?
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: La tua vacanze in Trentino Alto Adige a prezzi last minute!
- Pacchetti wellness, sport, famiglia ed enogastronomci a prezzi bassissimi! Clicca qui
- Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4089&d=9-11