[Dovecot] deleted-to-trash plugin problems

Steve Platt steve.platt at mrc-bsu.cam.ac.uk
Tue Jul 24 17:51:55 EEST 2012


We have a user who wants to use Outlook with our Dovecot IMAP server but 
doesn't like the way Outlook handles deletion with IMAP.

Ironically she would like Outlook to move the message to her Trash 
folder, just like Outlook does with "local" folders, I guess.

So I enabled the "deleted-to-trash" plugin (v0.3) on our Dovecot 1.2.17 
server (built for SPARC, solaris 10, btw).

The problem is that it doesn't seem to work; the message doesn't even 
appear to get marked for delete.

The imap log says: "opening Trash succeeded" and then nothing else!

I have found that there is a copy of the message in .Trash/tmp/ 
suggesting that the plugin may be bailing out part way through.

Has anyone any idea what's wrong please?

I'll attach the output of dovecot -n ...

Thanks,
Steve
-------------- next part --------------
# 1.2.17: /usr/local/etc/dovecot.conf
# OS: SunOS 5.10 sun4u  
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
info_log_path: /var/log/dovecot-info.log
protocols: imap imaps managesieve
listen(default): *
listen(imap): *
listen(managesieve): *:2000
ssl_ca_file: /etc/ssl/certs/11230895.ca-bundle
ssl_cert_file: /etc/ssl/certs/bernstein.crt
ssl_key_file: /etc/ssl/private/bernstein.key
ssl_cipher_list: TLSv1+HIGH : !SSLv2 : RC4+MEDIUM : !aNULL : !eNULL : !3DES : @STRENGTH
verbose_ssl: yes
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(managesieve): /usr/local/libexec/dovecot/managesieve-login
mail_location: maildir:~/Maildir
mail_debug: yes
mail_executable(default): /usr/local/libexec/dovecot/imap
mail_executable(imap): /usr/local/libexec/dovecot/imap
mail_executable(managesieve): /usr/local/libexec/dovecot/managesieve
mail_plugins(default): mail_log deleted_to_trash
mail_plugins(imap): mail_log deleted_to_trash
mail_plugins(managesieve): 
mail_plugin_dir(default): /usr/local/lib/dovecot/imap
mail_plugin_dir(imap): /usr/local/lib/dovecot/imap
mail_plugin_dir(managesieve): /usr/local/lib/dovecot/managesieve
lda:
  postmaster_address: postmaster at mrc-bsu.cam.ac.uk
  mail_plugins: sieve
  mail_plugin_dir: /usr/local/lib/dovecot/lda
  log_path: /var/log/dovecot-deliver.log
  info_log_path: /var/log/dovecot-deliver-info.log
  auth_socket_path: /var/run/dovecot/auth-master
auth default:
  mechanisms: plain login
  verbose: yes
  passdb:
    driver: passwd-file
    args: /var/dovecot/mrc-bsu/etc/passwd-file
  userdb:
    driver: static
    args: uid=vmail gid=vmail home=/var/dovecot/mrc-bsu/home/%u
  socket:
    type: listen
    client:
      path: /var/run/dovecot/auth-client
      mode: 438
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
      user: vmail
      group: vmail
plugin:
  mail_log_events: delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields: uid box msgid size subject
  sieve_dir: ~/sieve
  deleted_to_trash_folder: Trash


More information about the dovecot mailing list