[Dovecot] virtual domain
Timo Sirainen
tss at iki.fi
Mon Sep 26 16:48:39 EEST 2005
On Mon, 2005-09-26 at 21:33 +0800, Barry Kwok wrote:
> we are currently using vm-pop3d to implement virtual domains. But due to some locking problem in vm-pop3d, we want to test the possibility to change to dovecot.
> Currently, in vm-pop3d, the passwd file is located in
> /etc/virtual/domain1.com/passwd
> /etc/virtual/domain2.com/passwd
passdb passwd-file {
args = /etc/virtual/%d/passwd
}
This requires Dovecot 1.0.alpha2 or later.
> and the passwd format is:
> user: md5 encrpted password
In MD5crypt format? ie. $1$something? Then it should work directly.
> and the email is store in
> /var/spool/virtual/domain1.com/user
> /var/spool/virtual/domain2.com/user
As mboxes? For IMAP you'll need also some directory where non-INBOXes
are stored, and with POP3 Dovecot also wants a directory where it can
store index files.
If you don't want either, you could do something like:
default_mail_env = mbox:/tmp:INBOX=/var/spool/virtual/%d/%u:INDEX=MEMORY
More information about the dovecot
mailing list