Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Corrupt Attachments
  •  
jonbrain

Messages: 305
Karma: 0
Send a private message to this user
Is anyone else having problems with corrupt attachments?

I'm running Kerio 6.0 OS X 10.3.4

Iv had JPEGS, Word Docs and PDF's corrupt coming in. I have got the user to get the sender to send to a hotmail address and it has been fine.

[Updated on: Tue, 10 August 2004 18:46]

  •  
sidbarker

Messages: 63
Karma: 0
Send a private message to this user
A possible reason is if you have a anti-virus app running on the same server. KMS pops the files in a temporary folder whilst receiving them, and whilst they are there the AV app could scan them... if KMS tries moving, etc the file at the same time as the AV app has the file open... all sorts of nasty things could occur.

If this is the case, tell the AV app to not scan the KMS folders (assuming you use the KMS AV option).
  •  
jonbrain

Messages: 305
Karma: 0
Send a private message to this user
Hi

Thanks for your reply.

The only virus package on the server is the integrated McAfee. I have tried disabling this but the attachments still get corrupt.

This seems to be only from certain servers, so I am wondering if it is something to do with how that server encodes attachments.

If the sender also CC's a Hotmail account, Hotmail has no problem with the attachment.

I have tried getting the sender to zip up the attachment, but you then just have a corrupt zip.
  •  
jtha

Messages: 10
Karma: 0
Send a private message to this user
kerio 6.6.0 patch 1 build 7007 on windows 2000 server

we have been having recurring problems with PDF attachments getting corrupted. See the attached error message

(I think) I have determined that the corruption occurs when doing a "save as" of attachments to the local machine.

Corruption has occurred both when using Thunderbird and when using the webmail client. The corruption has also been observed regardless of using XP Pro or Vista Business 64 bit.

If I click on a pdf attachment in the webclient it seems to open fine and then a "save as" is successful. But with Thunderbird there is no such solution and I have not figured out another solution yet.

This is very unfortunate for me because 99% of the people in the office want to use Thunderbird.

Any thoughts?

  •  
jtha

Messages: 10
Karma: 0
Send a private message to this user
Still getting corrupt PDF attachments. I upgraded to Mailserver 6.6.2 today but it did not fix the issue. I tried turning off the attachment filter but that did not fix the problem either.

Perhaps it is time to open a support ticket.
  •  
freakinvibe

Messages: 1553
Karma: 62
Send a private message to this user
Do you see any errors in the KMS error log? For example

[24/Feb/2009 06:18:57] mail_queue.cpp: TNEF decoding of message C:\Program Files\Kerio\MailServer\store/queue/1a/492a3940-00005f35.eml failed: TNEF stream contains unsupported properties


Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
jtha

Messages: 10
Karma: 0
Send a private message to this user
Hi, thanks for the reply. I see two of those "TNEF decoding" errors since 22nd October, but our PDF problems are much more extensive than that, so I think it is unrelated.

Curiously, most of the PDFs that are corrupted come from the same source. I am in contact with the sender to try to figure out if the problem might have something to do with how they create PDFs. But, strangely, the same message we receive as corrupt will be received successfully by others.

It is odd.
  •  
freakinvibe

Messages: 1553
Karma: 62
Send a private message to this user
What you have to do is to look at the source of the messages and see how they are encoded.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
jtha

Messages: 10
Karma: 0
Send a private message to this user
OK. I'll look. What am I looking for? Embarassed
  •  
freakinvibe

Messages: 1553
Karma: 62
Send a private message to this user
Something like this

Content-type: application/pdf; name="UpdatedContract.pdf";
 x-mac-creator="4341524F";
 x-mac-type="50444620"
Content-disposition: attachment;
	filename="UpdatedContract.pdf"
Content-transfer-encoding: base64


The Content-transfer-encoding is particularly interesting. Maybe you can see a corelation between the corrupted items and the encoding type.

Dexion AG - The Blackberry Specialists in Switzerland
https://dexionag.ch
  •  
kevinc

Messages: 4
Karma: 0
Send a private message to this user
I'm having the same problem with PDFs, JPGs, GIFs. This is what I have in my error log.

php_utils.cpp: Webmail mailAttach.php: Session expired

Kerio 6.6.2, webmail only.
  •  
sgongola

Messages: 109
Karma: 0
Send a private message to this user
What happens if you send the attachment to something other than hotmail, such as yahoo mail, gmail.
  •  
kevinc

Messages: 4
Karma: 0
Send a private message to this user
For me it doesn't matter where it comes from ie hotmail, gmail or other. If I right click the attachment link and "save link as" the file is corrupt. If I click on the link to open the attachment in a new window it will preview in a new browser tab but if I drag the image to my desktop or right click on the image and select "save image as" it will save the file but when you try and open it you get the error about it not being able to open because the file is corrupt.
Here is the exact message:
Couldn’t open the file. It may be corrupt or a file format that Preview doesn’t recognize.

Kerio 6.6.2
Mac OS X 10.5.6
Webmail via Firefox 3.0.6
  •  
mpermann

Messages: 96
Karma: 0
Send a private message to this user
Are you using Firefox to retrieve the attached files? Is the user that is sending the files to you using Firefox to access their e-mail or do they use an e-mail client like Entourage or Outlook?

We use Kerio Webmail with Firefox on the Mac and sometimes a file called mimeTypes.rdf will become corrupted which will cause attachments that are uploaded in Firefox and sent through the Webmail interface to become corrupted as well. If you go to the users Firefox profile (~/Library/Application Support/Firefox/Profiles/xxxxx.default) and move the mimeTypes.rdf file to the desktop then open Firefox and log back into Kerio then create a new message and attach a file and send it that will usually fix the issue. Usually the problem occurs of the computer of the person that is sending the files and not the recipient.
Mike
kevinc

Messages: 4
Karma: 0
Send a private message to this user
Yes I'm using Firefox 3.0.6 only to access email. As far as who is sending its all different. Firefox/webmail users on the same server sending attachments, external users sending with Lotus Notes and users from mobileme. Its the same no matter who sends attachments. Oddly enough though I did get an xls file that worked. Go figure.


Previous Topic: Appointment to Multiple Calendars
Next Topic: Frage wegen Login Fenster von 6.xx zu 7.xx
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 08:06:55 CET 2017

Total time taken to generate the page: 0.00526 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.