Glen Lee Edwards
2008-May-10 03:30 UTC
[Dovecot] unix style mbox and vmain maildir on the same server
Hi, I'm new to dovecott. Using version 1.0.rc15. I have a mail server that has both the old style unix mbox in /var/mail/%u, and virtual mail maildir in /var/vmail/%d/%n. Debian Linux Etch stable. I'm trying to get dovecot to deliver to /var/mail/%u using mbox format, and to deliver to /var/vmail/%d/%n using maildir format. I can't get it do work. I can get it to access both directories, but not use the two formats. This is what I tried last: namespace private { separator = / inbox = yes hidden = yes prefix location = mbox:~/mail:INBOX=/var/mail/%u } namespace private { separator = / inbox = no hidden = yes prefix = mail/ location = maildir:/var/vmail/%d/%n } I have since commented out the above two namespaces and set mail_location to mail_location = maildir:/var/vmail/%d/%n. $ dovecot -n # /etc/dovecot/dovecot.conf log_timestamp: %Y-%m-%d %H:%M:%S protocols: imap imaps pop3 pop3s disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable(default): /usr/lib/dovecot/imap-login login_executable(imap): /usr/lib/dovecot/imap-login login_executable(pop3): /usr/lib/dovecot/pop3-login mail_privileged_group: mail mail_location: maildir:/var/vmail/%d/%n mail_executable(default): /usr/lib/dovecot/imap mail_executable(imap): /usr/lib/dovecot/imap mail_executable(pop3): /usr/lib/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/modules/imap mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: mechanisms: plain login passdb: driver: pam args: dovecot passdb: driver: passwd args: blocking=yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd userdb: driver: static args: uid=2000 gid=2000 home=/var/vmail/%d/%n allow_all_users=yes socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail Glen
Charles Marcus
2008-May-10 20:10 UTC
[Dovecot] unix style mbox and vmain maildir on the same server
Glen Lee Edwards wrote:> Hi, > > I'm new to dovecott. Using version 1.0.rc15.You'd be doing yourself a favor by upgrading first - this is a very old/buggy version... The 1.1 release is imminent (at rc5 stage now), so personally I'd move to that. You'll have to enable one of the at repositories, but it is available... -- Best regards, Charles
Timo Sirainen
2008-May-15 05:56 UTC
[Dovecot] unix style mbox and vmain maildir on the same server
On Fri, 2008-05-09 at 22:30 -0500, Glen Lee Edwards wrote:> I'm new to dovecott. Using version 1.0.rc15. > > I have a mail server that has both the old style unix mbox > in /var/mail/%u, and virtual mail maildir in /var/vmail/%d/%n. Debian > Linux Etch stable. I'm trying to get dovecot to deliver to /var/mail/%u > using mbox format, and to deliver to /var/vmail/%d/%n using maildir > format. I can't get it do work. I can get it to access both > directories, but not use the two formats. This is what I tried last:How would Dovecot know which one to use for which users? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080515/edb309a7/attachment-0002.bin>