[Mimedefang] Re: $entity question

Kevin A. McGrail kmcgrail at pccc.com
Wed Jun 2 11:37:37 EDT 2004


Thank you.  The solution was right in my face in the filter_bad_filename
routine.

> > if (-s "$entity->bodyhandle->path" <= $sizelimit) {
>
> $entity should always be defined, but $entity->bodyhandle or
> $entity->bodyhandle->path might not be -- you need to check both.

KAM



More information about the MIMEDefang mailing list