>>> Matus UHLAR - fantomas writes:
>>>> it's on the same place. Looking at it now, does maildirmake count files
>>>> ending by "T" (apparently trashed)? And, does imapd?
>>
>> On 24.11.10 06:58, Sam Varshavchik wrote:
>>> By default, no. Messages that are marked as deleted do not count.
>>>
>>> There's a option set at a compile time that changes the logic to 
>>> include  messages marked as deleted.

> Matus UHLAR - fantomas writes:
>> I see. Didn't this behaviour change in the past?
>>
>> I thought this only applies to trash folder which we clean by setting
>> IMAP_EMPTYTRASH, so it should not be a problem, but not to trashed messages
>> which we don't clean periodically (and users are... you know).
>>
>> It seems I should recompile courier and tools with this option so our users
>> won't keep dozens of thrashed messages in their mailboxes.

On 24.11.10 18:12, Sam Varshavchik wrote:
> Alternatively, run a script that goes through the cur directory and 
> removes deleted messages that are more than X days old.

yes, but walking or directory tree is a bit expensive operation, I'd prefer
to have it done in the same way IMAP_EMPTYTRASH is done (or better, counted
to quota).

> Inform your users that you are going to purge deleted messages.

...which is another problem.

I think I'll compile all pkgs with --with-trashquota because of these
problems, but it will take some time (we're running a bit old but patched
version of courier, and I need to make sure nothing will break).

I'm satisfied with current behaviour of IMAP_EMPTYTRASH but I'd like quota
be counted on all files not in trash.
-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Eagles may soar, but weasels don't get sucked into jet engines. 

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to