[Dovecot] Ambiguous mail location setting

Timo Sirainen tss at iki.fi
Tue Jul 7 19:57:28 EEST 2009


On Sun, 2009-07-05 at 00:56 -0500, Shawn wrote:
> "Using Dovecot v1.0.alpha4 on OpenBSD 3.8 (same problem find using Dovecot v1.0.alpha3 on OpenBSD 3.7)

Like Charles said, v1.0 alphas are way too old. You really should be
using at least v1.0.0 or you're going to run into other bugs.

> dovecot: Nov 04 11:15:28 Info: auth(default): sql(myuser at mydomain.com <http://dovecot.org/cgi-bin/mailman/listinfo/dovecot>,127.0.0.1): SELECT '/var/mail/'||mailbox AS mail, uid, gid FROM user_accounts WHERE username='myuser at mydomain.com <http://dovecot.org/cgi-bin/mailman/listinfo/dovecot>'
> dovecot: Nov 04 11:15:28 Info: auth(default): master out: USER  5       myuser at mydomain.com <http://dovecot.org/cgi-bin/mailman/listinfo/dovecot>        mail=/var/mail/mydomain.com/myuser uid=10001       gid=10001

See the mail=/var/mail/mydomain.com/myuser output there.

> I verified that "default_mail_env" on my dovecot configuration file are "maildir:" correctly prefixed:

default_mail_env is completely overridden by the mail= returned from
user_query. Add maildir: prefix to the mail field returned by
user_query.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090707/7b69df96/attachment.bin 


More information about the dovecot mailing list