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
Hello, Thank you for this link, but this is not what I want. Dovecot is only used for imap. Currently, authentication works fine, but new fields are created in a subdirectory. Example: /var/vpopmail/domains/0/domain.com Once authenticated, I just want to be in chroot /var/vpopmail/domains/0/domain.com/user and not in /var/vpopmail/domains/domain.com/user I explained that vpopmail which manages the creation of areas and I can not influence the subdirectory. Sincerely, -- Mohamed YACOUBI