Re: [Exim] maildirsize file corruption?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Nathan Ollerenshaw
CC: exim-users
題目: Re: [Exim] maildirsize file corruption?
On Fri, 13 Aug 2004, Nathan Ollerenshaw wrote:

>> It should normally do that automatically. (Having not found a C
>> attribute, it will have a value for the cached quota that is different
>> from the real quota; that causes it to recreate the file.)
>
> I tested it, it didn't.


Ah. Looking more closely, I see that the default (i.e. "unset") value
for the C attribute is zero.

> Edited the file and removed the ,0C at the end, then sent a test
> message.
>
> [root@??? Maildir]# cat maildirsize
> 20971520S


When Exim sees that line, it ends up with 0 for the C attribute, and
that agrees with the appendfile configuration, so it doesn't recreate
the file.

> Have I missed something?


If you had set quota_filecount to something other than 0, it would have
rewritten the file. Is the current behaviour causing a problem, or were
you just trying to figure out what was happening?

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book