[Dovecot] Convert mbox to maildir

Héctor S. Mendoza O hector at acorporativa.com.mx
Fri Apr 13 22:16:48 EEST 2007


Hello all

 

I’ve installed a new Server with dovecot, started using it and had no
problems until I noticed that I couldn’t create sub-sub-folders on my imap
account, I’ve read for the past two days info on how to convert and I know
now that instead of using mbox I need to user maildir, the issue is now to
convert mbox to maildir, on the various searches I did, I found the convert
wiki page (http://wiki.dovecot.org/Plugins/Convert) followed the
instructions there and no luck, I always end up with an error:

 

Eopen(/.temp.chihuahua.intranet.acorporativa.com.mx.21409.1089e702ee50f317)
failed: Permission denied

Error: imap dump-capability process returned 89

 

If I remove the line convert_mail = mbox:~/mail:INBOX=/var/mail/%u it starts
correctly but I see no e-mails and no conversion takes place, since it’s a
production server I’ve reverted all changes and had to add a line
(mail_location = mbox:~/mail:INBOX=/var/mail/%u) to be able to see my
e-mails again. I’ve tried stopping dovecot, making the changes and trying
dovecot –n to see the configuration, but with the same results.

 

Any ideas on what I’ve been doing wrong?

 

TIA

 

Héctor

 

[root at chihuahua etc]# dovecot --version

1.0.rc15 

[root at chihuahua etc]# dovecot -n

# /etc/dovecot.conf

login_dir: /var/run/dovecot/login

login_executable(default): /usr/libexec/dovecot/imap-login

login_executable(imap): /usr/libexec/dovecot/imap-login

login_executable(pop3): /usr/libexec/dovecot/pop3-login

mail_location: mbox:~/mail:INBOX=/var/mail/%u

mail_executable(default): /usr/libexec/dovecot/imap

mail_executable(imap): /usr/libexec/dovecot/imap

mail_executable(pop3): /usr/libexec/dovecot/pop3

mail_plugin_dir(default): /usr/lib/dovecot/imap

mail_plugin_dir(imap): /usr/lib/dovecot/imap

mail_plugin_dir(pop3): /usr/lib/dovecot/pop3

auth default:

  passdb:

    driver: pam

  userdb:

    driver: passwd

[root at chihuahua etc]#



More information about the dovecot mailing list