Re: [Dovecot] file name missing component in error message

2009-02-12 Thread Timo Sirainen
On Thu, 2009-02-12 at 18:12 -0600, Mike Abbott wrote:
> > Are you using deliver?
> 
> Yup.  The corrupted files actually contain dot-lock data  
> (pid:hostname) followed by a bunch of nulls.  For instance, a mail  
> file with an S=3368 flag in the file name contains  
> "12345:mail.example.com" (22 bytes) followed by 3346 nulls.  I'm  
> unfamiliar with how dovecot uses dot-lock files; is this more likely  
> to be dovecot's fault or a disk corruption?

Sounds more like disk corruption. Mail files start empty and pid:host is
never written to them at any point.



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] file name missing component in error message

2009-02-12 Thread Mike Abbott

Fixed: http://hg.dovecot.org/dovecot-1.1/rev/c08c602ca0dc


Cool, thanks.


Are you using deliver?


Yup.  The corrupted files actually contain dot-lock data  
(pid:hostname) followed by a bunch of nulls.  For instance, a mail  
file with an S=3368 flag in the file name contains  
"12345:mail.example.com" (22 bytes) followed by 3346 nulls.  I'm  
unfamiliar with how dovecot uses dot-lock files; is this more likely  
to be dovecot's fault or a disk corruption?


Re: [Dovecot] file name missing component in error message

2009-02-12 Thread Timo Sirainen
On Thu, 2009-02-12 at 17:05 -0600, Mike Abbott wrote:
> Hi, we occasionally see this error message from  
> maildir_mail_set_cache_corrupted():  "Maildir filename has wrong W  
> value: %s/%s" but the path it prints is missing a component,  
> specifically, the new/cur/tmp component.  For example:
> /Volumes/Spool/user/maildir/12345.M123P123.example.com
> should be
> /Volumes/Spool/user/maildir/cur/12345.M123P123.example.com

Fixed: http://hg.dovecot.org/dovecot-1.1/rev/c08c602ca0dc

> Now I just have to figure out why the file is corrupted in the first  
> place.

Are you using deliver?


signature.asc
Description: This is a digitally signed message part


[Dovecot] file name missing component in error message

2009-02-12 Thread Mike Abbott
Hi, we occasionally see this error message from  
maildir_mail_set_cache_corrupted():  "Maildir filename has wrong W  
value: %s/%s" but the path it prints is missing a component,  
specifically, the new/cur/tmp component.  For example:

/Volumes/Spool/user/maildir/12345.M123P123.example.com
should be
/Volumes/Spool/user/maildir/cur/12345.M123P123.example.com

This is using dovecot-1.1.10.

Now I just have to figure out why the file is corrupted in the first  
place.