[Dovecot] dovecot not delivering emails in the right folder

Timo Sirainen tss at iki.fi
Thu Feb 10 02:04:01 EET 2011


On Sat, 2011-02-05 at 14:11 -0800, paulino at calderonpale.com wrote:

> deliver(adomain.com/test/@adomain.com): 2011-02-04 21:48:04 Info: auth
> input: adomain.com/test/@adomain.com

The username looks broken.. It should be test at adomain.com, not
adomain.com/test/@adomain.com..

> deliver(adomain.com/test/@adomain.com): 2011-02-04 21:48:04 Info: auth
> input: home=/home/vmail/adomain.com/adomain.com/test/

home is correct. Although it ends with '/', while in dovecot.conf you
have:

> args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes

i.e. doesn't end with '/'!

> deliver(adomain.com/test/@adomain.com): 2011-02-04 21:48:04 Info: maildir:
> data=/home/vmail/adomain.com/adomain.com/test/

This data should be coming from mail_location setting and should end
with Maildir/.

> dovecot.conf:
> ======================
> mail_location = maildir:/home/vmail/%d/%n/Maildir

Which you have here. So .. I've no idea really. It's as if you're using
a different config file for deliver.



More information about the dovecot mailing list