4.35.10: more $id syslog tweaks

Jeff A. Earickson jaearick at COLBY.EDU
Wed Nov 3 20:39:41 GMT 2004


Upgraded to 4.35.10.  I hate to be a PITA, but how about the
email message ID in some of the attachment size checks?
Looking at CheckAttachmentSizes(), isn't $id the email message ID?
Could the syslogging be changed to:

    MailScanner::Log::InfoLog("Attachment size check: %s < %s (%s) in %s",
                              $attachsize, $minsize, $unsafename,$id);

and likewise for the > check?  Please, please, anytime you syslog
info have the email msg id there if you can (or appropriate).  This is
something I grep for a lot when chasing problems.  Thanks.

Jeff Earickson
Colby College

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

More information about the MailScanner mailing list