John, > There is a mortgage/realty software called Point, produced by Calyx, > that has a .PCF file format for its data output. These are simple > reports, not executables or macros or whatnot. ... > That list is the first place I checked. The string "pcf" was not listed > in $banned_filename_re in the first place. The 'file' utility is > spotting these, not by extension, but by file type "Windows executable". > The extension is .pcf, but the mail log excerpt looks like this. > > Jun 8 16:24:13 HOST amavis[880]: (00880-06) BANNED name/type (.exe)...
The file(1) utility does not care for a file name, it just checks the contents. If the Calyx data output looks like a MS executable to file(1), I'm afraid you will have to instruct the file(1), i.e. its 'magic' database, to distinguish Calyx results from true executables. As a workaround, in newer amavisd-new versions you can place a 'permit' rule of file NAME *.pcf BEFORE a 'block' rule for executables, if that is acceptable. Mark ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ 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/
