Am Sonntag, 25. Mai 2025, 23:01:11 CEST schrieb Christian H. Kuhn via dovecot:
Dear Paul,
thank you for your comment.
Am 25.05.2025 um 20:01 schrieb Paul Zirnik via dovecot:
For dovecot i think you need to strip the domain
protocol lmtp { auth_username_format = %{user | username} }
If i understand the docs, the setting in 10-auth
auth_username_format = %Ln
sets the username to lowercase and strips the domain. As it is not contained in any environment, i regarded it as global. Is it really necessary to repeat it for protocol lmtp?
I am using dovecot 2.4 already and i need to set it. I do use fetchmail that does redeliver it to postfix and if i left out the setting dovecot does reject as <user>@localhost unknown.
Also with 2.4 the vars are changed to full names and the single letters are gone, so better to change already.
For postfix i think you need to add your domain to mydestination
mydestination = $myhostname, $mydomain # i also add localhost.$mydomain, localhost
That seems wrong. virtual_alias_domains = $mydomain, and the postfix docs warn explicitly to use mydestination for any virtual_alias_domain or virtual_mailbox_domain.
i missed the virtual part, sorry.
regards, Tami