Allowing Certain File Types

Derek Winkler dwinkler at ALGORITHMICS.COM
Mon Feb 16 19:24:10 GMT 2004


Modify /etc/magic so that the file command doesn't know .PCF's as that file
type.

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Mike McMullen
> Sent: Monday, February 16, 2004 2:23 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Allowing Certain File Types
>
>
> > 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.
>
> TIA,
>
> Mike
>



More information about the MailScanner mailing list