[Esd-l] Macs appledouble crap and html-trap.procmail

John D. Hardin jhardin at impsec.org
Thu Feb 5 20:12:57 PST 2004

On Thu, 5 Feb 2004, Glenn Valenta (HDNet) wrote:

> Somehow, the html-trap.procmail script is mangling the mac
> appledouble portion of the attachment to such a point that
> graphical e-mail clients (netscape and IE) only see them as one
> attachment instead of two.
> Anybody else have this problem?  Is there a workaround? (other
> than not allowing macs on our mailserver)

The problem appears to be the MIME type and x-mac-type mangling. This
behavior is by design.

You may want to remove DOC and XLS from your local mangled extensions
list, especially for locally-originated email. Doing this will not
prevent the attachment scanning, but will prevent their names and MIME
types from being mangled.

See the configuration page on the website for examples of how to do

> X-Content-Security: [gw1] original Content-Type was application/applefile;
> Content-Type: APPLICATION/DEFANGED; name="ForGlenn.25931DEFANGED-doc"
> X-Content-Security: [gw1] original Content-Type was application/msword;
> X-Content-Security: [gw1] removed x-mac-creator=4D535744; x-mac-type=5738424E;

 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                        pgpk -a jhardin at impsec.org
 key: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
  "Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
  does quite what I want. I wish Christopher Robin was here."
				-- Peter da Silva in a.s.r
   58 days until the Slovakian Presidential Election

More information about the esd-l mailing list