RE: [Exim] Maildirsize files: opinions sought

Góra strony
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
Dla: exim-users
Temat: RE: [Exim] Maildirsize files: opinions sought
> 1. The default will be ^(?:new|cur|\..*)$ which skips the tmp
>    directory.


I see. That is different than before, but probably closer to what
most people expect.

> 2. The code does not count other files that happen to be in a
>    maildir directory or subdirectory, for example, the "maildirsize"
>    file in the top directory, or any "mailfolder" files that are in
>    maildir folder subdirectories.


I just realise that each maildirfolder files means a regex mismatch,
thus causing a stat() call. How about changing that and avoiding
"maildirfolder" just like "." and ".."?

Michael