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

Antonio Perez-Aranda aperezaranda at yaco.es
Thu Dec 23 20:20:47 EET 2010


Maybe, a good solution can be a flag setting to allow this behavior.

2010/12/23 Antonio Perez-Aranda <aperezaranda at yaco.es>:
> 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.
>
> 2010/12/23 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>> 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 marked as deleted (but
>> not yet actually removed), or messages that are moved to the Trash
>> folder (which is subject to automatic purging) do not count towards
>> the set quota.
>> "
>>
>> Then, maybe ¿Is dovecot not maildirquota Maildir++ Courier compatible?
>>
>>
>>
>> 2010/12/23 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>>> 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 leave
>>> it on original folder marked as deleted and copy message to local
>>> folder.
>>>
>>> On Courier, when user move mails from IMAP Folder to outlook  local
>>> folder the quota is updated, And when user try to watch quota on a
>>> Webmail system, the quota is updated.
>>>
>>> Could this behavior made with Dovecot ?
>>>
>>> Another behavior accepted is that all deleted mails goes to Trash
>>> folder and remove quota from this folder.
>>>
>>> 2010/12/22 Antonio Perez-Aranda <aperezaranda at yaco.es>:
>>>> There are some body using delete-to-trash on any version of Dovecot 2.0?
>>>>
>>>> --
>>>> Antonio Pérez-Aranda Alcaide
>>>> aperezaranda at 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
>>>>
>>>
>>>
>>>
>>> --
>>> Antonio Pérez-Aranda Alcaide
>>> aperezaranda at 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
>>>
>>
>>
>>
>> --
>> Antonio Pérez-Aranda Alcaide
>> aperezaranda at 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
>>
>
>
>
> --
> Antonio Pérez-Aranda Alcaide
> aperezaranda at 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
>



-- 
Antonio Pérez-Aranda Alcaide
aperezaranda at 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


More information about the dovecot mailing list