Allowing Certain File Types

Julian Field mailscanner at
Mon Feb 16 19:43:00 GMT 2004

At 19:22 16/02/2004, you wrote:
> > Hi All,
> >
> > I am using the latest version of MailScanner with
> > ClamAV.
> >
> > So far so good. I have "Deliver Disinfected Files" set to
> > no which works well. Actually a little too well.
> >
> > We have a certain file type with a .PCF extenstion that
> > we need to be able to receive. Currently it is quarrantined
> > and the warning report delivered instead of the attachment.
> >
> > How do I set MailScanner to allow this type of attachment?
> > I've looked at the MailScanner.conf but don't see a place
> > where excepted filetypes such as .PDF are allowed.
> >
> > Any help on how to do this would be appreciated!
> >
> > Mike
> >
>Well, I spoke too soon. The file extension of the files we
>want to receive are .PCF. It's data exported from a financial
>application our customers use.
>I created an "allow" entry for it in "filename.rules.conf". I thought
>that would fix it. However, when I sent a test email with a sample
>PCF format, it came back with a "executables not allowed" error.
>I ran "file" on the sample.pcf file and it comes back as:
>point.pcf: VAX-order 68k Blit mpx/mux executable
>Well, it definitely ain't a VAX executable.
>How do I create the appropriate allow rule in
>"filetype.rules.conf" to permit this attachment to go through?
>I still want to deny other executables.

Something like
allow   VAX.*executable$        -       -
(separated with tabs and not spaces)
should do it. I don't think there are many viruses around which hide in VAX
executables :-)
Julian Field
Professional Support Services at
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

More information about the MailScanner mailing list