Discussion:
Calyx Point pcf files
John Beamon
2005-06-08 21:50:02 UTC
Permalink
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.
amavisd-new-20030616p10-5 from Debian Sarge sees these .PCF files
incorrectly as Windows executables.

Is there a way to exempt certain files, extensions, etc from being banned?
--
John Beamon
Systems Administrator
Franklin American Mortgage Co.
em: ***@franklinamerican.com



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
AMaViS-user mailing list
AMaViS-***@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/
Sven Riedel
2005-06-09 06:31:48 UTC
Permalink
Hi,
Post by John Beamon
Is there a way to exempt certain files, extensions, etc from
being banned?
Yes. Check your amavisd.conf file for the $banned_filename_re
variable. Check for the pcf in the list given there. It could
also be that the mail client sending these pcf-files puts them
in a MIME with a type banned by amavis (also handled by the
$banned_filename_re variable).

Don't forget to restart amavis after changing the configuration.

Regs,
Sven


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
AMaViS-user mailing list
AMaViS-***@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/
John Beamon
2005-06-09 16:35:27 UTC
Permalink
Post by Sven Riedel
Hi,
Post by John Beamon
Is there a way to exempt certain files, extensions, etc from
being banned?
Yes. Check your amavisd.conf file for the $banned_filename_re
variable. Check for the pcf in the list given there. It could
also be that the mail client sending these pcf-files puts them
in a MIME with a type banned by amavis (also handled by the
$banned_filename_re variable).
Don't forget to restart amavis after changing the configuration.
Regs,
Sven
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)...
--
John Beamon
Systems Administrator
Franklin American Mortgage Co.
em: ***@franklinamerican.com



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
AMaViS-user mailing list
AMaViS-***@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/
Mark Martinec
2005-06-17 16:45:15 UTC
Permalink
John,
Post by John Beamon
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.
...
Post by John Beamon
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
AMaViS-***@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/

Loading...