[Dovecot] 2.1: Error: Maildir filename has wrong S value, renamed the file from

mailing at securitylabs.it mailing at securitylabs.it
Fri Mar 2 12:30:04 EET 2012


Il 02/03/2012 11:25, Ralf Hildebrandt ha scritto:
> Hi!
>
> Starting with 2.1.1 we suddely encounter quite a lot of these messages:
>
> Mar  2 11:09:28 postamt dovecot: imap(username): Error: Maildir filename has wrong S value, renamed the file from /home/a/i/username/Maildir/.A*Teens.Eink&AOQ-ufe, Spenden etc/cur/1323207735.M64829P19819.postamt.charite.de,S=5137:2,S to /home/a/i/username/Maildir/.A*Teens.Eink&AOQ-ufe, Spenden etc/cur/1323207735.M64829P19819.postamt.charite.de,S=5137:2,S
> Mar  2 11:09:28 postamt dovecot: imap(username): Error: Maildir filename has wrong S value, renamed the file from /home/a/i/username/Maildir/.A*Teens.Eink&AOQ-ufe, Spenden etc/cur/1323207735.M64829P19819.postamt.charite.de,S=5137:2,S to /home/a/i/username/Maildir/.A*Teens.Eink&AOQ-ufe, Spenden etc/cur/1323207735.M64829P19819.postamt.charite.de,S=5137:2,S
> Mar  2 11:09:28 postamt dovecot: imap(username): Error: read(/home/a/i/username/Maildir/.A*Teens.Eink&AOQ-ufe, Spenden etc/cur/1323207735.M64829P19819.postamt.charite.de,S=5137:2,S) failed: Input/output error (uid=69)
>
> While this has (assumedly) been working with 2.0.18. Another issue
> with this: This fixes ONE file, and throws an error. Repeatedly
> accessing this folder fixes more files, until at some point all files
> were fixed.
>
>
Hello, same problem here after upgrading from 2.0.18 to 2.1.0, 
apparently it happens only on servers with qmail, not on servers with 
exim or dovecot as lda:

Mar  2 10:18:45 mercurio dovecot: pop3(user): Error: Cached message size 
smaller than expected (59998 < 60150)
Mar  2 10:18:45 mercurio dovecot: pop3(user): Error: Maildir filename 
has wrong S value, renamed the file from 
/home/vpopmail/domains/2/root/Maildir/cur/1330679783.8428.mercurio,S=59998:2, 
to 
/home/vpopmail/domains/2/root/Maildir/cur/1330679783.8428.mercurio,S=60150:2,
Mar  2 10:18:45 mercurio dovecot: pop3(user): Error: Corrupted index 
cache file /home/vpopmail/domains/2/root/Maildir/dovecot.index.cache: 
Broken physical size for mail UID 40669
Mar  2 10:18:45 mercurio dovecot: pop3(user): Error: 
read(/home/vpopmail/domains/2/root/Maildir/cur/1330679783.8428.mercurio,S=59998:2,) 
failed: Input/output error (uid=40669)



More information about the dovecot mailing list