[Dovecot] user xxx@mydomain.com doesn't exist
new setup of Dovecot 2.0.8 with postfix local users are simply defined as Linux users named xxx, yyy et cetera; IMAP access is fine with that users. Postfix is delivering mails with two domains (to xxx@mydomain.com or xxx@mydomain.org) and these are rejected by dovecot with 550: user doesn't exist.
I've tested the possible usernames with "doveadm user" xxx: okay xxx@mydoman.com: "userdb lookup: user xxx@mydomain.com doesn't exist" xxx@mydoman.org: "userdb lookup: user xxx@mydomain.org doesn't exist"
Dovecot2 wiki says "Dovecot doesn't care much about domains in usernames" Okay, how to I get dovecot to ignore the domain part (or accept the two defined domains) when mails are delivered from postfix? Or do I have to configure Postfix to strip the domain part before delivering to dovecot?
Regards Birte Nauer
On Fri, 2010-12-31 at 01:54 +0100, G.Nau wrote:
Dovecot2 wiki says "Dovecot doesn't care much about domains in usernames" Okay, how to I get dovecot to ignore the domain part (or accept the two defined domains) when mails are delivered from postfix? Or do I have to configure Postfix to strip the domain part before delivering to dovecot?
Either that, or make Dovecot strip it:
auth_username_format = %Ln
participants (2)
-
G.Nau
-
Timo Sirainen