On Tuesday 25 May 2010 16:26:15 Timo Sirainen wrote:
On Tue, 2010-05-04 at 18:21 +0100, Barry Scott wrote:
May 4 15:25:03 f12barry dovecot: IMAP(bscott): Maildir filename has wrong W value: /home/bscott/Maildir/._NewMail-com/cur/1271683097.M615087P3538.f12barry.o ffice.onelan.co.uk,S=3154,W=3278:2,S
S=3154 means the file's size should be 3154 bytes. W=3278 means the file's "virtual size" = size if linefeeds were CRLF should be 3278 bytes.
Easy way to check these values is with e.g.:
# wc 1274725794.M935807P27627.kurkku,S=1901,W=1951:2, 50 212 1901 1274725794.M935807P27627.kurkku,S=1901,W=1951:2, # echo 1901+50|bc 1951
If W value is wrong, it's not currently fixed automatically. Because it just shouldn't happen. How are you delivering new mails? That file looks like it's created by Dovecot. So the only possibilities are:
a) Something modified the file after it was already written.
This was the cause. I had miss configured spambayes and it was updating the files. I had figure out to fix up the S= values but had not fixed the W= values.
Again, Thanks for the info.
Barry