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
on 7/24/2012 7:51 AM Steve Platt spake the following:> 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, > SteveOn a side note... Outlook 2010 finally does this on its own...
On 24 Jul 2012, at 15:51, Steve Platt wrote:> 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?You've built from source, I take it? I wanted to use the deleted_to_trash plugin for *exactly* the same reasons as you've cited, but I'm using RPMs on CentOS where most plugins are included as standard, but frustratingly the deleted_to_trash is missing . . I got no response from the list on the subject . . Maybe the plugin isn't bundled in the RPMs that I've seen because it isn't sufficiently "production standard" as it stands, which would fit with your finding it bails part way through the Maildir movement... How very frustrating... And as Scott pointed out, Outlook 2010 has added this functionality -- Microsoft have a bulletin explaining the many IMAP improvements in Outlook 2010, but I have many clients that use older Outlooks and many who find Outlook handling of most things across anything less than a 100% reliable LAN connection to be flaky at times. Which has led me to not push too hard to upgrade to 2010 even if the clients were willing/able. I used to do a lot of C++ coding and the like... but never looked at a project like Dovecot... I wonder how big and/or complicated the plugin is and whether I could debug it and build it for inclusion in the RPMs... How hard could it be, I wonder... Hmmm..... ~ James.