Re: [exim] maildirsize exim vs courier

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] maildirsize exim vs courier
Hello Bill,

thank you for thinking and responding.
But …

W B Hacker <wbh@???> (Di 01 Feb 2011 18:58:50 CET):
> Heiko Schlittermann wrote:
> > Hello,
> >
> > ---
> >
> > abstract: Exim counts<T> tagged (marked for deletion) files
> > when recalculatint the maildir quota. How to skip these files?
> >
> > ----
>
> du -c /path/to/Maildir/cur/*.?T?
>
> .. perhaps coupled with a bit of regex, might be a starting point...


- I do *not* want to count these files. (or at least I'd like to have
a runtime option to skip these files)

- Using du(1) isn't an option.
    - because exim does the recalculation on its own when the magical
      5120 bytes size limit of maildirsize is reached
    - because we're talking about 120k mailboxes on some NFS share
      (netapp)


- Using du(1) is not necessary at all, because the files already
have their size coded in the S=… tag of the file name.

Greetings from Dresden/Germany
--
Heiko :: dresden : linux : SCHLITTERMANN.de
GPG Key 48D0359B : 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B