[Dovecot] default domain empty

Timo Sirainen tss at iki.fi
Wed Apr 14 15:43:44 EEST 2010


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 at 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100414/a7a91a15/attachment-0001.bin 


More information about the dovecot mailing list