[Mimedefang] RE: [Mimedefang]Drop mails with pif attachements

Matthew Thomas mthomas at biocontrolsys.com
Thu Sep 4 11:44:00 EDT 2003


> >     if (filter_bad_filename($entity)) {
> > 
> >         if ($ext =~ /(pif|scr)/) {
> >             md_graphdefang_log('virus',"bad_filename $fname $type");
> >             return action_bounce("Bad attachment");
        }
> > Joseph Brennan         Columbia University in the City of New York

> Now can you get it to just drop the emails?


I got this working now with action_discard.  Thanks for all of the help.
That should take care of most of the problem, I think.

Best regards,
Matt Thomas




More information about the MIMEDefang mailing list