[Mimedefang] stop warning email
Steve Lee
maillist at blitzen.net
Thu Apr 8 14:01:44 EDT 2004
thanks, worked like a charm.
> If you really only want to discard some of them, you could add something
> like:
> if (filter_bad_filename($entity)) {
> if ($ext =~ /pif|scr/) {
> md_log('PIFoSCR_attachment',$fname,$type);
> #return action_bounce("PIF attachment not accepted"); # if you
> wanted to bounce
> return action_discard();
> }
>
> Does that help? Or do you want to receive the message, with the attachment
> stripped, but no warning telling you that you aren't receiving the entire
> message that was sent?
>
> -Matt
More information about the MIMEDefang
mailing list