Hans wrote: > Hi guys,
> I have to explicitely allow .dfx and .dwg files (some cad program). > They get banned with the following: > Aug 15 12:49:54 postbox amavisd-new[7655]: (07655-05) warning - > MIME::Parser error: part did not end with expected boundary; error: > unexpected end of parts before epilogue > Aug 15 12:49:54 postbox amavisd-new[7655]: (07655-05) Banned > Content-Type: message/partial (patt: (?i-xsm:^message/partial$)) > In the amavisd.conf file I see I can explicitely ban certain extensions, > but how do I explicitely allow certain extensions? > Thanks > Hans 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 Test to see if I got this right. You could probably also solve this problem by simply not including ^message/partial$ as banned content (by commenting it out), but you may wish to continue to block these. Gary V ------------------------------------------------------------------------- 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/
