[Dovecot] Convert plugin mbox to maildir has no effect

Frank Elsner Frank.Elsner at TU-Berlin.DE
Sun Apr 8 23:36:05 EEST 2007


On Fri, 09 Mar 2007 15:58:59 +0200 Timo Sirainen wrote:
> On Fri, 2007-03-09 at 14:54 +0100, Sylvain Nemtua wrote:
> > convert_mail: mbox:/var/mail:INBOX=/var/mail/%u
> 
> This is most likely wrong. You're telling Dovecot that the user's
> non-INBOX mailboxes are in /var/mail. If you have only inboxes, set
> rather something like mbox:/some/empty/dir:INBOX=/var/mail/%
> u:INDEX=MEMORY
> 
> Hmm. Since this seems to be so common problem, maybe I should make
> "mbox::INBOX=/var/mail/%u" work too..
> 
> > Any thoughts ? Is there a particular settings to use ? Anything wrong
> > with my setup ?
> 
> The real problem is that you didn't tell Dovecot to load the convert
> plugin:
> 
> mail_plugins = convert

I have a similiar problem with dovecot 1.0.rc31.
Please note that /usr/dovecot is a link to /usr/local/dovecot on my system.


> /usr/dovecot/sbin/dovecot -n
# /usr/local/dovecot/etc/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap
listen: *:10143
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot//login
login_executable: /usr/dovecot/libexec/dovecot/imap-login
login_log_format_elements: USER=%u IP=%r
verbose_proctitle: yes
first_valid_uid: 100
last_valid_gid: 65534
mail_location: maildir:/home/%u/MailDir
maildir_copy_with_hardlinks: yes
maildir_copy_preserve_filename: yes
mail_executable: /usr/dovecot/libexec/dovecot/imap
mail_plugins: convert
mail_plugin_dir: /usr/dovecot/lib/dovecot/imap
imap_client_workarounds: netscape-eoh tb-extra-mailbox-sep
auth default:
  verbose: yes
  passdb:
    driver: pam
    args: dovecot
  userdb:
    driver: passwd
plugin:
  convert_mail: mbox:~/:INBOX=/var/spool/mail/%u
  convert_skip_broken_mailboxes: no

But this setup gives 

> service dovecot start
Starting IMAP-Service (dovecot 1.0.rc31)Eopen(/.temp.seymour.elsner.lan.5894.59e
ab08fc33e142b) failed: Permission denied
Error: imap dump-capability process returned 89
                                                           [FAILED]

Any pointer to overcome this problem welcome.


Regards        ______________________________________________________________ 
Frank Elsner  /                        c/o  Technische Universitaet Berlin   |
 ____________/                              tubIT [BD], Sekr. E-N 50         |
|                                           Einsteinufer 17                  |
| Phone: +49 30 314 23897                   D-10587 Berlin                   |
| eMail: Frank.Elsner at TU-Berlin.DE          Germany        __________________|
|_________________________________________________________| in dubio pro exim   



More information about the dovecot mailing list