[Dovecot] Multiple Mail Environments?

Marc Perkel marc at perkel.com
Sun Aug 21 19:54:02 EEST 2005


The default_mail_env is very powerful, but ....

If you have multiple databases wouldn't it make sense to have a separate 
mail environment for each database? For example:

  userdb passwd {
    default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
  }

  # Linuxconf passwd-like file with specified location
  userdb passwd-file {
    args = /etc/vmail/passwd.%d
    default_mail_env = 
mbox:/vhome/%d/home/%n:INBOX=/vhome/%d/home/%n/INBOX:INDEX=/nobackup/imap-cache/%d-%n
  }

Is this possible? If not - perhaps it should be?

-- 
Marc Perkel - marc at perkel.com

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com



More information about the dovecot mailing list