[Dovecot] SiS attachment file larger than expected

Erik Persson erik at lysator.liu.se
Mon Mar 25 01:26:28 EET 2013


25 mar 2013 kl. 00:19 skrev Timo Sirainen <tss at iki.fi>:

> On 25.3.2013, at 1.10, Erik Persson <erik at lysator.liu.se> wrote:
> 
>> For the large part the system is running flawlessly but I have caught a few error messages:
>> 
>> imap(censored at censored.domain): Error: Attachment file /mail/attachments/70/d0/70d04b12123bfb145983f5a674ee2e65029a4018aff1c6db51993b75f10bf101-117a1a3b06f54251e96200004d877aa0 larger than expected (370113)
> 
> So, how large is this file really? (I guess the error message should show that too.)
> 


Someone else is not sleeping either it seems… :)

Is the recorded size in the index 370113? This is what it looks like in the file system:

[root at email01 ~]# ls -l /mail/attachments/70/d0/70d04b12123bfb145983f5a674ee2e65029a4018aff1c6db51993b75f10bf101-117a1a3b06f54251e96200004d877aa0
-rw-rw-rw- 2 vmail vmail 273781 Mar 15 11:16 /mail/attachments/70/d0/70d04b12123bfb145983f5a674ee2e65029a4018aff1c6db51993b75f10bf101-117a1a3b06f54251e96200004d877aa0

I guess that 370113 must be the base64 encoded size then?  The actual file looks definitely like plain PDF.

Cheers,

/Erik


More information about the dovecot mailing list