imap[xxx]: IOERROR: reading message: unexpected end of file

ellie timoney ellie at fastmail.com
Thu May 4 21:12:54 EDT 2017


On Wed, May 3, 2017, at 09:56 PM, Carlos Velasco wrote:
> >> My cyrus imap version is 2.5.10 and my SMTP is a postfix 3.1.4
> >>
> >> Apr 25 22:05:29 local6:err imap: imap[13453]: IOERROR: reading message: unexpected end of file
> >>
> >> Looking into imap logs I see these errors at the end. All are "6 NO System I/O error".
> >> ===
> >> PK
> >> <1493150904<
> >>> 1493150978>6 NO System I/O error
> >>  
> >> PK
> >>
> >>> 1493150760>6 NO System I/O error
> >> ===
> > 
> > I have narrowed it to message_copy_strict.
> > There is a mail related from 2007:
> > https://lists.andrew.cmu.edu/pipermail/info-cyrus/2007-October/027320.html
> > 
> > But I'm not using NFS, it is ext4 in my case.
> 
> Ok. At the end it was a problem with Thunderbird. Fixed in TB 52.1.0
> 
> Ellie, I think you missed "message_copy_strict" in imap/messgage.c for
> issue #1926 (better error message than "IOERROR: reading message:
> unexpected end of file")

I deliberately left this one out of that commit because from most entry
points, message_copy_strict is used to copy message data between files
-- which means a read error here is potentially a real IOERROR, not
merely a client disconnection.


More information about the Cyrus-devel mailing list