I'm seeing the same thing. I'm running Fedora 4 and have seen a rise in complaints about corrupted attachments since we started using Dovecot. I am not able to fix by direct text editing on the server either.
---------- Original Message ----------- From: Brian Thompson brian@eng.wayne.edu To: dovecot@dovecot.org Sent: Tue, 06 Dec 2005 21:18:59 -0500 Subject: [Dovecot] Re: corrupt attachments
Hello all, any suggestions on this? It seems like a pretty serious issue and it hasn't reoccurred since we switched back to UW imapd.
As I mentioned, it seems to be related to dovecot compiled on Solaris 10/x86... The same code compiled on Solaris 8/sparc seemed to work well.
-Brian
Brian Thompson wrote:
Not sure if this has already been covered, but any pointers or suggestions would be greatly appreciated.
We just realized last night that dovecot-stable seems to be corrupting the attachments within users' inboxes.
In an attempt to resolve the problem, we upgraded the mail server here to Dovecot 1.0alpha4 but it didn't help.
To the best of our knowledge we didn't start experiencing this phenomena until we migrated from Solaris 8/Sparc to Solaris 10/x86 about 3 weeks ago.
To be more specific: A non-corrupt attachment can be sitting within a user's mail spool (mbox format) and live there without a problem until an imap client goes to download the attachment via dovecot.
At that time, dovecot seems to be stripping the last four characters from each base64 encoded ascii line within the attachment and rewriting the message within the mail spool without those characters. From then on, the attachment is permanently corrupt, even via local unix direct file access clients such as pine or elm.
We've temporarily switched back to UW imapd, but users have noticed the decrease in speed - not having the indexing available.
Again, any suggestions would be greatly appreciated.
Thanks, Brian
------- End of Original Message -------
Help protect your family and your marriage! Take a look at PROTECTED internet service from American Family Online - http://www.afo.net