[Mimedefang] Re: $entity question

Kevin A. McGrail kmcgrail at pccc.com
Fri Apr 30 07:44:27 EDT 2004


All:

Since implementing the test to check the size of an email prior to testing
it for bad HTML objects, I have had 3 reports of problems.

I have also seen about 25 lines in my maillog with an issue where a
non-numeric error is published "uninitialized value in numeric le (<=) at
/etc/mail/mimedefang-filter > line 259."

Line 259 is this line in filter():

if (-s "$entity->bodyhandle->path" <= $sizelimit) {

Are there cases in filter where $entity isn't properly defined because I
can't see how $sizelimit would ever be undefined?  Specifically, I am
wondering if the problem might not be Embedded Perl related since yesterday
was the first time I saw the issue on our server.

Full milter code here:
http://www.peregrinehw.com/downloads/MIMEDefang/mimedefang-filter-KAM

Regards,
KAM



More information about the MIMEDefang mailing list