Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2011-02-01 Thread Emerson Pinter
Thank you, Timo. I will test. Emerson Pinter Picture Internet +55-11-5089-8100 http://www.picturemail.com.br/ http://www.picturesecurity.com.br/ http://www.picture.com.br/ On 01-02-2011 18:25, Timo Sirainen wrote: > I didn't really look at the logic itself, but attached patch > fixes/cleans up a

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2011-02-01 Thread Timo Sirainen
I didn't really look at the logic itself, but attached patch fixes/cleans up a couple of things. On Tue, 2011-02-01 at 17:48 -0200, Emerson Pinter wrote: > I contacted Lex Brugman about the delete-to-trash plugin for dovecot > 2.0, he told me there's no version compatible with 2.0 yet... So I > lo

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2011-02-01 Thread Emerson Pinter
I contacted Lex Brugman about the delete-to-trash plugin for dovecot 2.0, he told me there's no version compatible with 2.0 yet... So I looked at the code and started to adapt the code for dovecot 2.0. I have 0 experience with dovecot plugin development, but with a quick adaptation, I managed a app

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread fakessh @
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello sir. I find this project plugin to delete trash very ambitious and important. importance of clearing the trash could be done with this for people who do not practice "for good uses and customs" the quota system, quota warnings. this notion of qu

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
Maybe, a good solution can be a flag setting to allow this behavior. 2010/12/23 Antonio Perez-Aranda : > Well, I am making a patch for this. > > At present, I modify the maildir recalc behavior to avoid count bytes > from Deleted messages marked. > > Now, I modify quota-storage to force to recalc

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
Well, I am making a patch for this. At present, I modify the maildir recalc behavior to avoid count bytes from Deleted messages marked. Now, I modify quota-storage to force to recalc the quota when FLAGS are changed. Well, I need to specify only the flag Deleted, but with this behavior I am happy

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
Reading this URL: http://www.courier-mta.org/imap/README.maildirquota.html It tell about deleted Messages: " The default application configuration that uses this maildirquota library does not count deleted messages, and any contents of the Trash folder, against the quota. Messages that are marke

Re: [Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-23 Thread Antonio Perez-Aranda
Well, I'm going to describe the behavior thats we need. Maybe it could be done with another settings. On outlook, well a mail is moved to a outlook local folder, the client quota isn't update until the user Purge the imap folder. When outlook move a mail, it mark mail as Deleted (flag T) and leav

[Dovecot] Plugin delete-to-trash on Dovecot 2.0

2010-12-22 Thread Antonio Perez-Aranda
There are some body using delete-to-trash on any version of Dovecot 2.0? -- Antonio Pérez-Aranda Alcaide aperezara...@yaco.es Yaco Sistemas S.L. http://www.yaco.es/ C/ Rioja 5, 41001 Sevilla Teléfono +34 954 50 00 57 Fax      +34 954 50 09 29