[Mimedefang] How to get SA stats when use MimeDefang?

Damrose, Mark mdamrose at elgin.edu
Wed Jul 14 16:01:56 EDT 2004


> -----Original Message-----
> From: Yanick Quirion [mailto:YQuirion at tranzyme.com]
> Sent: Wednesday, July 14, 2004 1:59 PM
> 
> Using mimefefang-filter I was able to create a similar line, 
> but I can't
> get following data:
> 
> Scantime

use Time::HiRes;
$Scantime = Time::HiRes::time;
my($hits, $req, $names, $report) = spam_assassin_check();
$Scantime = sprintf( "%.1f", Time::HiRes::time - $Scantime);

> Size

$Size = -s "./INPUTMSG"

> Mid

Use the built-in variable $MessageID

> Autolearn

Sorry, can't help with this one.
 



More information about the MIMEDefang mailing list