Spamassassin reports

Kelly Hamlin fizz at BOMB.NET
Fri May 17 20:28:20 IST 2002


I Would like that change very much :)

*hint* *hint* :)
----- Original Message -----
From: "Hugh Fraser" <hugh_fraser at DOFASCO.CA>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Friday, May 17, 2002 3:06 PM
Subject: Re: Spamassassin reports


> The changes to add some additional info to the X-MailScanner-SpamCheck
> header are quite simple, if changes the header rather than the message
> itself suffices. I used a pipe created just before the fork() statement in
> sendmail.pl to provide a connection to the child process, wrote back some
> additional information to the parent (in my case, I wanted to know the
> number of hits, the required number to be considered spam, and the list of
> tests triggered by the mail) using the Mail::SpamAssassin::PerMsgStatus
> object, in the same way the child currently gets the get_hits number. The
> only twist is that the get_hits value is returned as the exit status of
the
> child process to the parent, and it's limited to a numeric value. Hence
the
> use of the pipe to pass arbitrary content back.
>



More information about the MailScanner mailing list