[Mimedefang] SA reports

Stefano McGhee SMcGhee at ARCweb.com
Thu Mar 13 09:07:01 EST 2003


Hey Alan,
	SA doesn't modify the headers, but MD can use the information
gleaned from SA to add a few headers.  The sample filter has some examples
in filter_end.  I personally use the following line in my own filter to add
the tests that pling'd to the headers along with the score.  

action_change_header("X-Spam-Score", "$hits $names");

You can find more techniques in the archives.  Suffice it to say that you
can put as much SA information in the headers as you like.  The sample
MD/SA configuration also allows to you choose whether you get the entire
report in the body or as an attachment.  The MD/SA solution is quite
flexible.

Cheers,

Stefano

> I know when MIMEDefang passes the mail to SpamAssassin for 
> its part of the
> chain, SA isn't allowed to modify the headers of the email.
> 
> Therefore, <silly question I am sure>, but how do I get the 
> SA report it
> produces for each email with respect to the scoring?




More information about the MIMEDefang mailing list