[Mimedefang] Reading MIMEDefang log-entries

Kevin A. McGrail kmcgrail at pccc.com
Tue Jul 31 12:00:01 EDT 2007


> I am at the moment trying your script, but somehow the variables seem not 
> to
> be filled with values, as I am only getting lines like this (req/hits 
> always
> 0):
...
> And the filter_end:
> sub filter_end ($) {
>    md_syslog('warning', "SA-DEBUG: $recip_list - 
> ".&build_status_line($hits,
> $req, $names, $report));

The call for the logging needs to be AFTER your call to 
spam_assassin_check().  Look for something like

my($hits, $req, $names, $report) = spam_assassin_check();

Regards,
KAM




More information about the MIMEDefang mailing list