--- evolution-data-server-1.6.3/camel/camel-mime-message.c	2006-05-03 16:59:26.000000000 +0300
+++ camel-mime-message.c	2006-12-26 16:44:44.000000000 +0200
@@ -836,6 +836,12 @@
 	
 	d(printf("starting to check part\n"));
 	
+	/* Workaround for buggy Domino and Exchange servers -- if the Content-Type is
+	   application/pdf and bestenc is 7bit, ignore that and always encode in base64 */
+	if (enctype == CAMEL_BESTENC_7BIT
+	    && camel_content_type_is (((CamelDataWrapper *) part)->mime_type, "application", "pdf"))
+		return CAMEL_TRANSFER_ENCODING_BASE64;
+
 	content = camel_medium_get_content_object ((CamelMedium *)part);
 	if (content == NULL) {
 		/* charset might not be right here, but it'll get the right stuff
