[Dovecot] Dovecot - Vpopmail subdirectories

Yacoubi Mohamed myacoubi at euro-web.fr
Fri Nov 28 18:19:14 EET 2008


Hello, 

I have several thousand domains on a server. 
I'm doing now migration to Dovecot to replace courier-authlib. 

Some email accounts are in subdirectories that are automatically created
by vpopmail. 

Example: 
/ var/vpopmail/domains/0/domain.com 

How do I configure Dovecot?

######################################################
# 1.1.6: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.26.5-sdf103-nfsv4 i686 Gentoo Base System release 1.12.9
ext3
base_dir: /var/run/dovecot/
protocols: imap
listen: *:143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_greeting: Imap ready.
first_valid_uid: 89
mail_location: maildir:/var/vpopmail/domains/%d/%n/.maildir
auth default:
  user: vpopmail
  passdb:
    driver: vpopmail
  userdb:
    driver: static
    args: uid=89 gid=89 mail=Maildir:/var/vpopmail/domains/%/%d/%
n/.maildir
######################################################

Best regards,

-- 
Mohamed YACOUBI



More information about the dovecot mailing list