On Thu, Jul 31, 2008 at 5:21 PM, Kacper Wysocki kacperw@online.no wrote:
I'm using dovecot 1.0.13 as the IMAPS frontend for a vpopmail/qmail virtual domain setup. Dovecot is set up as follows: passdb vpopmail{ } userdb vpopmail{ }
I've added a domain alias for the main domain with vaddaliasdomain and email to post@aliasdomain is delivered to post@maindomain and can be checked with pop.
However, when I try to check IMAP through the account post@aliasdomain I am confronted with an empty mailbox. If I log in using post@maindomain I get the expected contents.
Why can't my users log in using user@aliasdomain to check their emails?
Update: dovecot can't find the mail directory because of mail_location = maildir:/var/vpopmail/domains/%d/%n/Maildir and dovecot doesn't know anything about domain aliases. ln -s ~vpopmail/domains/maindomain ~vpopmail/domains/aliasdomain fixes the problem for dovecot.
-K