username changed gumby at example.com -> gumby

Tom tom at foscore.com
Thu Sep 8 13:43:02 UTC 2022


On 2022-09-08 02:59, Aki Tuomi wrote:
>> On 08/09/2022 02:00 EEST Tom <tom at foscore.com> wrote:
>> As you can see in this snip of the maillog, the domain part of the username is being stripped away:
>>
>> Sep  6 23:12:40 vaj dovecot[114637]: auth-worker(114662): Debug: conn unix:auth-worker (pid=114660,uid=97): auth-worker<2>: passwd(gumby at example.com,10.0.0.70,<YlSArw3oaqoKAABG>): Performing userdb lookup
>> Sep  6 23:12:40 vaj dovecot[114637]: auth-worker(114662): Debug: conn unix:auth-worker (pid=114660,uid=97): auth-worker<2>: passwd(gumby at example.com,10.0.0.70,<YlSArw3oaqoKAABG>): lookup
>> Sep  6 23:12:40 vaj dovecot[114637]: auth-worker(114662): Debug: conn unix:auth-worker (pid=114660,uid=97): auth-worker<2>: passwd(gumby at example.com,10.0.0.70,<YlSArw3oaqoKAABG>): username changed gumby at example.com -> gumby
>> Sep  6 23:12:40 vaj dovecot[114637]: auth-worker(114662): Debug: conn unix:auth-worker (pid=114660,uid=97): auth-worker<2>: passwd(gumby,10.0.0.70,<YlSArw3oaqoKAABG>): Finished userdb lookup

>> How can I get around this issue? I need mailboxes stored by user/domain.
> I don't see how in this config you can even have multiple domains? Using passwd ensures that all users are accepted for all domains, because it will only look at local username part.

I'm already using this setup without GSSAPI. Each user can have email addresses in multiple domains. Validating email addresses is done by FreeIPA in this case, or LDAP in my prior setup.

Maybe I need to use another driver.


More information about the dovecot mailing list