[Dovecot] Convert to DBox

Pascal Volk user+dovecot at localhost.localdomain.org
Sat Oct 17 21:21:28 EEST 2009


On 09/30/2009 04:28 AM Jeff Grossman wrote:
> I am thinking of trying out dbox format.  I am currently using maildir.  
> Is it possible for me to switch just one user account to dbox while 
> keeping all of my other users on maildir?  If so, how would I go about 
> doing that?
> 
> Here is a copy of my dovecot -n:
> 
> # 1.2.5: /usr/local/etc/dovecot.conf
> # OS: Linux 2.6.30-1-amd64 x86_64 Debian squeeze/sid ext3
> base_dir: /var/run/dovecot/
> protocols: imap imaps pop3 pop3s
> ssl_cert_file: /etc/ssl/certs/stikman-godaddy.crt
> ssl_key_file: /etc/ssl/private/stikman-godaddy.key
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot//login
> login_executable(default): /usr/local/libexec/dovecot/imap-login
> login_executable(imap): /usr/local/libexec/dovecot/imap-login
> login_executable(pop3): /usr/local/libexec/dovecot/pop3-login
> mail_location: maildir:/home/vmail/%u
> mail_executable(default): /usr/local/libexec/dovecot/imap
> mail_executable(imap): /usr/local/libexec/dovecot/imap
> mail_executable(pop3): /usr/local/libexec/dovecot/pop3
> mail_plugin_dir(default): /usr/local/lib/dovecot/imap
> mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
> mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3
> lda:
>    postmaster_address: postmaster at stikman.com
>    mail_plugins: cmusieve
>    sendmail_path: /usr/sbin/sendmail
>    auth_socket_path: /var/run/dovecot/auth-master
> auth default:
>    mechanisms: plain login
>    username_format: %Lu
>    passdb:
>      driver: pam
>    userdb:
>      driver: passwd
>      args: uid=vmail gid=vmail home=/home/vmail/%u
>    socket:
>      type: listen
>      master:
>        path: /var/run/dovecot/auth-master
>        mode: 384
>        user: vmail
>        group: vmail
> plugin:
>    sieve: sieve
> 
> Thanks,
> Jeff

You are using pam for authentication. Are your users only 'mail users'?
When your users are only 'mail users' throw one of them out of /etc/passwd.
In the next step create an additional passwd like file¹ and add the
previously dropped user.
Finally configure multiple authentication databases² in your dovecot.conf


Regards,
Pascal
--
1 = http://wiki.dovecot.org/AuthDatabase/PasswdFile
2 = http://wiki.dovecot.org/Authentication/MultipleDatabases
-- 
The trapper recommends today: cafebabe.0929020 at localdomain.org


More information about the dovecot mailing list