[Mimedefang] Quarantine report (An e-mail had 0 parts ...)
Stephane Lentz
Stephane.Lentz at ansf.alcatel.fr
Thu Aug 22 18:01:01 EDT 2002
Using action_quarantine_entire_message in the filter code,
I get some Quarantine report :
<<
Subject: MIMEDefang Quarantine Report
An e-mail had 0 parts quarantined in the directory
/var/spool/MD-Quarantine/qdir-2002-08-22-22.38.11-001 on the mail
server.
>>
How about changing the signal_complete code from :
$body .= "An e-mail had $QuarantineCount part";
$body .= "s" if ($QuarantineCount != 1);
to
$body .= "An e-mail had $QuarantineCount part" if ($QuarantineCount != 0);
$body .= "An e-mail is" if ($QuarantineCount == 0);
$body .= "s" if ($QuarantineCount != 1 && $QuarantineCount !=0);
How about adding in future versions some option to prevent logging verbose lines such as :
Aug 22 22:01:12 mx3 filter: g7MK16ac001776: discard=1 quarantine_entire_message=1
ug 22 22:38:11 mx3 filter: g7MKc61Y002917: discard=1 quarantine_entire_message=1
I guess it comes from mimedefang.pl.in :
1059 if ($msg ne "") {
1060 $msg = "filter: $MsgID: " . $msg;
1061 syslog('info', $msg);
1062 }
Regards,
SL/
---
Stephane Lentz / Alcanet International - Internet Services
More information about the MIMEDefang
mailing list