[Dovecot] virtual hosting
Timo Sirainen
tss at iki.fi
Thu Jan 6 21:42:03 EET 2005
On Sun, 2005-01-02 at 09:06 -0500, Tom Allison wrote:
> > currently I have only domain1 and only:
> > default_mail_env = maildir:~/Maildir
> >
> > I'm not really sure how to set this up for additional locations of
> > maildir:/var/mail/vhosts/%d/%n/Maildir (This seems right?)
> >
>
> OK, I think I figured out how to do this, if I really need to do it this
> way at all.
>
> Keep default_mail_env as it is for my local mail.
> Add a home field into the postgres database for authentication and use
> that to specify alternative directories: /var/mail/vhost/domain2/username/
>
> But I won't have anything in the home field for local users. How does
> that affect my queries? I assume empty-strings will be 'ok'?
If you refer to ~/Maildir but there's no home directory set, that won't
work. You probably want to set "mail" for virtual users and leave their
home directory empty.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050106/029160bc/attachment-0001.bin>
More information about the dovecot
mailing list