[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Outlook, PDF's & Quoted Printable encoding



Hey guys, got a thorny technical issue here that I'm sure some of you
have run up against. 

I have a rather small email server Exim/Spam Assassin/Vexira
Anti-Virus/Mysql virtual users on a stock Woody system. We've recently
had problems with PDF's as attachments. 

Here's the story, we've got a local user who is receiving PDF
attachments from an external email address. The external sender is
running OE 6.00.2800.1158 and my local recipient is running  Outlook
10.0.2627. 

When my local user checks his email, the PDF is corrupted
and won't display properly. If the PDF is sent to some other email
address (a non-local mail server) it comes through just fine. 

I've narrowed the problem down to the encoding method that Outlook
uses for the PDF's. Rather than using Base64, it uses Quoted
printable, which causes problems with line ending characters when the
PDF is opened on the file server for virus/spam scanning.

Here is a typical complaint from the Newsgroups.
http://groups.google.com/groups?selm=94kubu%24kg3%241%40nnrp1.deja.com&output=gplain

Obviously the sender could simply zip the file, and outlook would
probably Do the Right Thing, similarly one could change the encoding
method for MIME mail and force Outlook to encode it as Base64, but the
best solution for me, would be a server based one, that way I can fix
it once for all. Anyone fought this particular bug yet?

I've also attached a Diff of the 2 PDF's. The good PDF is not
corrupted, and the bad.pdf is the way my local user receives it. 

Thanks for any pointers. 

-- 
Dustin Douglas
--------------
Free The Lapland Six!!!
http://www.freethelaplandsix.com
*** bad.pdf	Thu Oct  2 12:40:33 2003
--- good.pdf	Thu Oct  2 12:41:15 2003
***************
*** 67,73 ****
  a;+M%\.Z^GO[>BE%J)9.o!eX9_1tZ2`NB$oZOepJfd5p@"X?rbo"mtD^#+;TEb7''7:"ItI&so?Rf`ri
  :RCOQC/\<&2oAa`2[%sDYVHCFDWVMI?'3R7a/P+KkKB+86BT]59LGu?W@?9JWf)ueV7UV`Ua\HD6GNNf
  <7NF$pkpiOD,V!@>+'t\#3_j]:k+@'C(4ZL6P)4\R=^Kg:.ef;MH46s@j"-810Brr',aQ&>`mHdb:o5'
! CAEg+XqVa7,&E'\8if:\94]_+\!ACQ`)DMN(h(0b8UK@ophb1>*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