[Dovecot] deleted-to-trash plugin problems

2012-07-24 Thread Steve Platt
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
# 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: postmas...@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


Re: [Dovecot] deleted-to-trash plugin problems

2012-07-24 Thread Scott Silva
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,
 Steve
On a side note... Outlook 2010 finally does this on its own...




Re: [Dovecot] deleted-to-trash plugin problems

2012-07-24 Thread J E Lyon
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.

Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Romer Ventura
Outlook 2007 allows you to change the destination of deleted  
items Check your outlook settings...


On Jan 16, 2009, at 3:06 AM, Proskurin Kirill wrote:


Hello.

Our clients use damn Outlook 2007 and it is can not move deleted  
messages to Trash folder.


As I see dovecot have a experemental plugin deleted-to-trash  
right for this thing.


Im aware of word experemental.
Could some one say - does it work good?
Does it work with latest Dovecot?

--
Best regards,
Proskurin Kirill




Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Proskurin Kirill

Romer Ventura пишет:
Outlook 2007 allows you to change the destination of deleted items 
Check your outlook settings...

Well I search it but not found anything.
I can do 2 things:
Expunge all deleted on exit
Expunge all deleted on folder change.


On Jan 16, 2009, at 3:06 AM, Proskurin Kirill wrote:


Hello.

Our clients use damn Outlook 2007 and it is can not move deleted 
messages to Trash folder.


As I see dovecot have a experemental plugin deleted-to-trash right 
for this thing.


Im aware of word experemental.
Could some one say - does it work good?
Does it work with latest Dovecot?

--
Best regards,
Proskurin Kirill






Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Proskurin Kirill said the following on 19/01/09 16:06:

 Well I search it but not found anything.

Outlook settings are a mess!

In some tab of the Options menu, you should find a button that opens a window
where you can specify the location of Special folders


Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

E` strano che per smettere di lavorare con Windows si debba premere 'start'.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl0nqAACgkQ3kWu7Tfl6ZRx1ACeNPrDRFJYFp7bsQWrGXIyu408
YywAnioMaDqRsadBoLmqvAmz2pYoTMmb
=EDoP
-END PGP SIGNATURE-


Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Jeff Grossman
 Outlook 2007 allows you to change the destination of deleted
 items Check your outlook settings...

 On Jan 16, 2009, at 3:06 AM, Proskurin Kirill wrote:

 Hello.

 Our clients use damn Outlook 2007 and it is can not move deleted
 messages to Trash folder.

 As I see dovecot have a experemental plugin deleted-to-trash
 right for this thing.

 Im aware of word experemental.
 Could some one say - does it work good?
 Does it work with latest Dovecot?

I don't think you are correct.  In Outlook 2007 Microsoft added the
ability to save your Sent Items to a server folder, but they have not
added the ability to save your Deleted Items to a server folder.

Jeff



Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Jeff Grossman
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Proskurin Kirill said the following on 19/01/09 16:06:

 Well I search it but not found anything.

 Outlook settings are a mess!

 In some tab of the Options menu, you should find a button that opens a
 window
 where you can specify the location of Special folders

You are thinking of Outlook Express or Windows Mail.  Outlook does not
have a Special Folders setting.

Jeff



Re: [Dovecot] deleted-to-trash plugin

2009-01-19 Thread Jeff Grossman
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Jeff Grossman said the following on 19/01/09 18:43:

 You are thinking of Outlook Express or Windows Mail.  Outlook does not
 have a Special Folders setting.

 http://www.howtogeek.com/howto/microsoft-office/use-gmail-imap-in-microsoft-outlook-2007/

 The settings are in the Account Settings / More settings / Folders

That only allows you to select a server folder for the Sent Items.  There
is no way in Outlook to select a Deleted Items server folder.

Jeff



[Dovecot] deleted-to-trash plugin

2009-01-16 Thread Proskurin Kirill

Hello.

Our clients use damn Outlook 2007 and it is can not move deleted 
messages to Trash folder.


As I see dovecot have a experemental plugin deleted-to-trash right for 
this thing.


Im aware of word experemental.
Could some one say - does it work good?
Does it work with latest Dovecot?

--
Best regards,
Proskurin Kirill