Kacper Wysocki
2008-Aug-07 13:28 UTC
[Dovecot] RESOLVED: dovecot-imap displays empty domainalias mailboxen
On Thu, Jul 31, 2008 at 5:21 PM, Kacper Wysocki <kacperw at 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 at aliasdomain is delivered to post at maindomain and can be > checked with pop. > > However, when I try to check IMAP through the account post at aliasdomain > I am confronted with an empty mailbox. If I log in using > post at maindomain I get the expected contents. > > Why can't my users log in using user at 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