Hans,

> > I have to explicitely allow .dfx and .dwg files (some cad program).
> > They get banned with the following:
> > (07655-05) Banned Content-Type: message/partial
> >   (patt: (?i-xsm:^message/partial$)) 

Gary V writes;
> Provided your amavisd-new is not ancient, place an allow before a deny. You
> might consider moving these to the end of the list in $banned_filename_re
> (for added security).
>    [ qr'.\.(dfx|dwg)$'i => 0 ], # allow
>    qr'^message/partial$'i,      # rfc2046 MIME type

Well, in principle Gary is right, but in case of message/partial chopped mail,
only the first section has appropriate MIME headers and the beginning of
a file, which can serve to 'allow' it. Later chunks are independent mail
messages, which no longer repeat the information from the first chunk,
so there is no way to 'whitelist' them, without re-assembling all messages
first. Looks like your only option is to remove a block for message/partial, 
or persuade user to send his long files by some other mechanism - mail is 
inappropriate for sending huge binary files anyway.

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