[Dovecot] mbox to maildir conversion does not work

Benjamin R. Haskell dovecot at benizi.com
Fri Feb 22 22:19:34 EET 2008


On Fri, 22 Feb 2008, Scott Bruce wrote:

> Hello,
>
> I'm try to use the convert plugin, but I cannot seem to get it working 
> properly. Is there any setting that I'm missing.

In what way is it not working? Based on the timestamps in your log, it 
looks like you're getting disconnected as soon as you log in. But, does 
Dovecot work for you without the convert plugin?

It also seems a little odd that you're using the plugin under POP3, rather 
than IMAP (it's not listed in mail_plugins(imap)), given POP3's limited 
concept of "mailboxes"/directories/etc. But, I don't know that that's 
problematic.

Best,
Ben


> --------
> dovecot -n
> # 1.0.10: dovecot.conf
> log_path: /var/log/dovecot
> protocols: imap imaps pop3 pop3s
> listen(default): 127.0.0.1:143
> listen(imap): 127.0.0.1:143
> listen(pop3): *:110
> ssl_listen(default): *:993
> ssl_listen(imap): *:993
> ssl_listen(pop3): *:995
> login_dir: /opt/csw/var/run/dovecot/login
> login_executable(default): /opt/csw/libexec/dovecot/imap-login
> login_executable(imap): /opt/csw/libexec/dovecot/imap-login
> login_executable(pop3): /opt/csw/libexec/dovecot/pop3-login
> mail_location: maildir:/var/imap/%u/.imap
> mail_debug: yes
> maildir_copy_with_hardlinks: yes
> mail_executable(default): /opt/csw/libexec/dovecot/imap
> mail_executable(imap): /opt/csw/libexec/dovecot/imap
> mail_executable(pop3): /opt/csw/libexec/dovecot/pop3
> mail_plugins(default):
> mail_plugins(imap):
> mail_plugins(pop3): convert
> mail_plugin_dir(default): /opt/csw/lib/dovecot/imap
> mail_plugin_dir(imap): /opt/csw/lib/dovecot/imap
> mail_plugin_dir(pop3): /opt/csw/lib/dovecot/pop3
> pop3_reuse_xuidl(default): no
> pop3_reuse_xuidl(imap): no
> pop3_reuse_xuidl(pop3): yes
> pop3_uidl_format(default):
> pop3_uidl_format(imap):
> pop3_uidl_format(pop3): %08Xu%08Xv
> auth default:
>  passdb:
>    driver: pam
>  userdb:
>    driver: passwd
> plugin:
>  convert_skip_broken_mailboxes: no
>  convert_mail: mbox:INBOX=/var/mail/%u
>
> Dovecot log
> ----------------
> dovecot: Feb 22 14:13:28 Info: pop3-login: Login: user=<scott>, method=PLAIN, 
> rip=134.117.43.54, lip=134.117.9.47, TLS
> dovecot: Feb 22 14:13:28 Info: POP3(scott): Loading modules from directory: 
> /opt/csw/lib/dovecot/pop3
> dovecot: Feb 22 14:13:28 Info: POP3(scott): Module loaded: 
> /opt/csw/lib/dovecot/pop3/lib20_convert_plugin.so
> dovecot: Feb 22 14:13:28 Info: POP3(scott): Effective uid=xxx, gid=xx
> dovecot: Feb 22 14:13:28 Info: POP3(scott): mbox: data=INBOX=/var/mail/scott
> dovecot: Feb 22 14:13:28 Info: POP3(scott): maildir: 
> data=/var/imap/scott/.imap
> dovecot: Feb 22 14:13:28 Info: POP3(scott): maildir: 
> root=/var/imap/scott/.imap, index=/var/imap/scott/.imap, control=, inbox=
> dovecot: Feb 22 14:13:28 Info: POP3(scott): Disconnected: Logged out top=0/0, 
> retr=0/0, del=0/0, size=0
> bash-3.00# du -sh /var/imap/sbruce/.imap/
>
> And I can use mb2md to do the conversion, but I was hoping to do it on the 
> fly.
>
> Thank You for your time,
> Scott
>
>
> ------------------
> dovecot --version
> 1.0.10
>
>
>
>


More information about the dovecot mailing list