Dziugas Baltrunas wrote:
> hallo,
>
> i'm writing second time for this subject. i'm interested if somebody has already
> solved this problem. we have thousands of virtual users, and now it's a problem,
> because if user regular marks all messages as "DELETED", he or she could
> exceed quota hundred of times.
Hi
We had the same problem, and we solved it by commenting the lines below:
/* PATCH - do not count msgs marked as deleted */
/* we comment this so that it do count the messages marked as deleted*/
/*for ( ; *n; n++)
{
if (n[0] != ':' || n[1] != '2' ||
n[2] != ',') continue;
n += 3;
while (*n >= 'A' && *n <= 'Z')
{
if (*n == 'T') break;
++n;
}
break;
}
if (*n == 'T') continue; */
/* close comments */
This is in the maildirquota.c file.
When a user marks a message as deleted, a 'T' is appended to the name of the file,
this code simply ignores that files when updating the maildirquota.
Hope it will be usefull.
--
########################################
Raul Caballero Ortega [EMAIL PROTECTED]
Carlos III University Unix System team
########################################
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users