[Esa-l] Naming of defanged attachments
faxguy at deanox.com
Wed Mar 7 17:39:38 PST 2001
At 12:29 PM 3/8/01 +1000, Phillip wrote:
>Please forgive my ignorance here cos chances are I've stuffed up something
>in my config. Since I upgraded the html-trap.procmail file to V 1.128 (it was
>1.126 on the initial install), the naming of defanged attachments seems to
>gone awry. Where, say a MS word doc file was previously renamed to
>filename.random-number-DEFANGEDdoc, now they are all being renamed as
>"default". This also occurs for pdf and xls etc extensions as well.
>Is this the expected behaviour or do I need to recheck my configuration?
Happened to me, too. This is because the MIME attachment does not have the
proper MIME header configuration. In my case I needed to add the
Content-Type: name value or the Content-Disposition: filename value (can't
remember which) because it was missing.
Content-Type: image/tiff; name="filename"
Content-Disposition: attachment; filename="filename"
After adding the missing MIME header field, all was well again.
More information about the esd-l