[Dovecot] SiS attachment file larger than expected
Hello!
Name's Erik and I have been using Dovecot for a few months and I so far quite happy with the software. To this list I am quite new though.
After a testing period I have now been running a ~300 user system running CentOS 6 and Dovecot 2.1.14 with Postfix and SiS enabled.
For the large part the system is running flawlessly but I have caught a few error messages:
imap(censored@censored.domain): Error: Attachment file /mail/attachments/70/d0/70d04b12123bfb145983f5a674ee2e65029a4018aff1c6db51993b75f10bf101-117a1a3b06f54251e96200004d877aa0 larger than expected (370113)
The total number of files that I have found complaints about in the log are less than 10 accessed by 3 users in a attachment file system that by now is housing 100k + files.
The only common denominator I have found so far is that all the attachments are PDF files. Most if not all of the logged files are the only referenced link of the corresponding hash.
Any idea what might be causing this and how it can be prevented? I do like to be a bit paranoid when it comes to data integrity. As I am not completely familiar with the dovecot tools I also wonder if there is a way to find the offending message in the mailbox other than trying to access it via a mail client?
Best regards and keep up the good work!
/Erik
On 25.3.2013, at 1.10, Erik Persson erik@lysator.liu.se wrote:
For the large part the system is running flawlessly but I have caught a few error messages:
imap(censored@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.)
25 mar 2013 kl. 00:19 skrev Timo Sirainen tss@iki.fi:
On 25.3.2013, at 1.10, Erik Persson erik@lysator.liu.se wrote:
For the large part the system is running flawlessly but I have caught a few error messages:
imap(censored@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@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
participants (2)
-
Erik Persson
-
Timo Sirainen