Dovecot and the Maildir path

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Oct 30 16:00:17 EET 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 30 Oct 2017, Will Merkens wrote:

> But when I look in the mail server at /var/spool/maildir the testuser is not created inside of userful.com but at the same level as userful.com contrary to the
> %d in mail_location settings.
>
> doveadm -D mailbox list -u 'testuser at userful.com'

this command bypasses passdb.

> Oct 30 07:37:12 mail2 dovecot[10722]: auth: Debug: ldap(testuser at userful.com,192.168.123.39,<VgBmvMNcQoTAqHsn>): result: uid=testuser; uid unused
> Oct 30 07:37:12 mail2 dovecot[10722]: auth: Debug: ldap(testuser at userful.com,192.168.123.39,<VgBmvMNcQoTAqHsn>): username changed testuser at userful.com -> testuser
> Oct 30 07:37:12 mail2 dovecot[10722]: auth: Debug: ldap(testuser,192.168.123.39,<VgBmvMNcQoTAqHsn>): result: uid=testuser

your passdb strips the domain.

> Any ideas and any settings files that I need to post.

Check the LDAP settings for "user" extra field

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWfcwcXz1H7kL/d9rAQLpSggAnTWizpyk6wNDRuT//m1r0MaPM/8FriPF
NOSdMwOktUblanmlf1OWWsqF/LonTIltscqIhcd8eVz2n/XNcYc9v6Bbe2lhKcLr
eQRXX8U901d0TbwMM5c2TRAhyGYAypttTdNnmTwwk9qo4SxW+Dwv3llWx5Rj0OEK
ZkOT/2ud/39R5lO4TdR5UirUP2C2MWLS8PDQPXfvUzhiFWJt9hQnrekuuJ7L8P8X
3w+CqUynUIVMI7KeHDc/42P+i6E99aI0YB9G+ctxplICUxLL8XnTdnGHAb20ueHR
ym7EQlQx0+qhH1laCtvZZ4lFUCIVmBU3Oqxfyr74KWzryDiwOvlZTQ==
=vWu2
-----END PGP SIGNATURE-----


More information about the dovecot mailing list