On Thu, October 19, 2006 4:07 pm, Jo Rhett wrote:
>
> By default the configuration says that x-msdownload is a bad header. Comment 
> out
that line from the configuration.

  If it were catching it as such, wouldn't it be tagged as banned instead of bad
header?

>
> It's really a bug in Windows where it uploads all files with that mimetype 
> instead
of the proper mimetype for the file.  It doesn't affect any other platform.

I also get this problem when uploading from my linux box using firefox, no 
matter
what type of file I upload.  I did try the suggestion, but it didn't help.  
Also,
the problem only happens when I'm sending an html formatted email, which uses 
nested
multipart/... tags.

Perhaps related to SM bug 1580528?
http://sourceforge.net/tracker/index.php?func=detail&aid=1580528&group_id=311&atid=100311

>From what I can tell from the rfc's, the tags are formed correctly...  Here is
another example of a .gif file attachment being rejected because of the header. 
When it's stored in quarantine, it's stored with badh- filename, not 
banned-.....

--
Content-Type: multipart/mixed;boundary="----=_20061019082443_76276

------=_20061019082443_76276
Content-Type: multipart/alternative;
     boundary="8649fsu_trap_67267_34428091016002_=----"
Content-Transfer-Encoding: base64

--8649fsu_trap_67267_34428091016002_=----
Content-Type: text/plain
Content-Transfer-Encoding: 8bit



test

--8649fsu_trap_67267_34428091016002_=----
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

test
--8649fsu_trap_67267_34428091016002_=------

------=_20061019082443_76276
Content-Type: image/gif; name="php.gif"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="php.gif"

R0lGODlheABDAOZqAH+CuDk3RyglKszN4qGky9PV57K01ENCWIOGuYKDs1JScpCSwsLE3qqs0ExL
<snip file data>
------=_20061019082443_76276--


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to