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
and the passwd format is: user: md5 encrpted password
and the email is store in /var/spool/virtual/domain1.com/user /var/spool/virtual/domain2.com/user
and we login as user@domain1.com, user@domain2.com . We want to maintain this format as login id and the password format. What should be changed in dovecot.conf? Thanks.
Bonjour Barry Kwok,
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 [....] and we login as user@domain1.com, user@domain2.com . We want to maintain this format as login id and the password format. What should be changed in dovecot.conf? Thanks. See mailling list last week exchange Subject: "v1.0.alpha2, virtual domain authentication."
A bientot
========================================================================== Jean-Marc Pigeon Internet: Jean-Marc.Pigeon@safe.ca SAFE Inc. Phone: (514) 493-4280 Fax: (514) 493-1946 Clement's Home base <"http://www.clement.safe.ca">
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
participants (3)
-
Barry Kwok
-
Jean-Marc Pigeon
-
Timo Sirainen