14 Apr
2010
14 Apr
'10
3:43 p.m.
On Wed, 2010-04-14 at 11:59 +0200, Leo Unglaub wrote:
Hi friends, i have a question. I have a running dovecot install on my server and a lot of virtual domains. It works great. The users are logging in with user@domain.tld but one old domain must be logged in with only the username only (without @domain.tld). My problem is that in this case the mailbox_localtion don't work. For example:
mail_location = maildir:/var/mail/%d/%n/maildir:INDEX=/var/mail/%d/%n/indizies The variable %d is not replaced with the domain.
Your passdb query is dropping the domain from username. Usually this is because SQL password_query returns 'user' field that contains only the username part, but no domain.