Jo Rhett writes:
> By default the configuration says that x-msdownload is a bad header. 
> Comment out that line from the configuration.

Wrong answer. x-msdownload could be a banned component of a message,
but is not a bad header. Bad headers are those violating RFC2822 or
MIME structure (MIME::Parser Perl module) this is (mostly) not configurable.


Mike,

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

Right.

> The specific error is:
>   X-Amavis-Alert: BAD HEADER MIME error: error: SeveredPreamble:
>   unexpected end of preamble [in multipart message];
>   EOSToken: EOF; EOSType: EOF

This diagnose is produced by MIME::Parser.
In its opinion the MIME structure of the message is broken.

Your first sample came across somewhat mangled (adjecent header fields
joined and wrapped), but as far I can tell, it is missing the 
final "------=_20061019092239_46584--" line.

> 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.

> 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

This second sample has a missing trailing " in Content-Type,
it should be:
  Content-Type: multipart/mixed;boundary="----=_20061019082443_76276"

The rest is fine.

  Mark

-------------------------------------------------------------------------
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
AMaViS-user@lists.sourceforge.net
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