Re: [Dovecot] Error in logs indicating broken files

2012-04-23 Thread Timo Sirainen
On 21.4.2012, at 6.32, Joseph Tam wrote:

>> Error: Corrupted index cache 
>> file/home/xx/mail/.imap/sent-mail/dovecot.index.cache: Broken virtual 
>> size for mail UID 67: 1 Time(s)
>> Error: FETCH [] for mailbox ~/mail/sent-mail UID 67 got too little data: 
>> 6203 vs 7478: 1 Time(s)
> 
> This is just one dovecot IMAP client process moaning after another user
> client process pulled the rug out from under it by modifying the mailbox.
> I get a few dozen log entries of this sort per week with ~200 IMAP users
> without shared access.

Well, it is a bug and it shouldn't happen. But since it happens only with mbox, 
I haven't bothered to look into it.



Re: [Dovecot] Error in logs indicating broken files

2012-04-20 Thread Joseph Tam

Steve Campbell  writes:


I'm seeing a couple of errors in my log file indicating corruption of
index files.

Error: Corrupted index cache 
file/home/xx/mail/.imap/sent-mail/dovecot.index.cache: Broken virtual size 
for mail UID 67: 1 Time(s)
Error: FETCH [] for mailbox ~/mail/sent-mail UID 67 got too little data: 6203 
vs 7478: 1 Time(s)

This account is used by multiple users, but it is not a shared account
(haven't set any of those up yet - still new to me), so I would expect
corruption possibilities when multiple users modify the account folders
in some manner.


This is just one dovecot IMAP client process moaning after another user
client process pulled the rug out from under it by modifying the mailbox.
I get a few dozen log entries of this sort per week with ~200 IMAP users
without shared access.

Unless your users actually complain about a problem, I think it's safe
to ignore them.

Joseph Tam 


Re: [Dovecot] Error in logs indicating broken files

2012-04-20 Thread Charles Marcus

On 2012-04-20 8:30 AM, Steve Campbell  wrote:

Still new to dovecot,

I'm seeing a couple of errors in my log file indicating corruption of
index files.


It is customary to provide at least some bare minimal system details, 
like, dovecot -n output (which includes the version), platform/OS, etc...


--

Best regards,

Charles


[Dovecot] Error in logs indicating broken files

2012-04-20 Thread Steve Campbell

Still new to dovecot,

I'm seeing a couple of errors in my log file indicating corruption of 
index files.


Error: Corrupted index cache 
file/home/xx/mail/.imap/sent-mail/dovecot.index.cache: Broken virtual size 
for mail UID 67: 1 Time(s)

Error: FETCH [] for mailbox ~/mail/sent-mail UID 67 got too little data: 6203 
vs 7478: 1 Time(s)


This account is used by multiple users, but it is not a shared account 
(haven't set any of those up yet - still new to me), so I would expect 
corruption possibilities when multiple users modify the account folders 
in some manner.


Until I get some experience under my belt and make this a truly "shared" 
account, is there any way to resolve the corruption of the files 
mentioned above? Maybe just delete them?


thanks

steve campbell