[Mimedefang] Report

Stefano McGhee SMcGhee at ARCweb.com
Wed Jul 2 11:08:01 EDT 2003


Carol,
	Two things.  First, for your issue, I would move the block of code:

# If you find the SA report useful, add it, I guess...

action_add_part($entity, "text/plain", "-suggest",
	"$report\n",
	"SpamAssassinReport.txt", "inline");

>From where you have it to just under the line:

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

You actually have this line commented out in your code.  That should
generate the behavior you seek.

Second, you might want to bring that SA size test of 15000 in:

if (-s "./INPUTMSG" < 15000*1024) {

Down to about 150.  I imagine you don't want to be scanning messages over
150kb.  You have an upperlimit there of 15MB.  That very well may tie up SA
for the afternoon...

Hope that helps,

Stefano

> -----Original Message-----
> From: Carol Man [mailto:mimedefang at yahoo.com] 
> Sent: Wednesday, July 02, 2003 10:47 AM
> To: mimedefang at lists.roaringpenguin.com
> Subject: RE: [Mimedefang] Report
> 
> 
> Stefano,
> 
>   here is the part that it's in my SA.. I made some
> changes from the default SA, because in the begining
> it wasn't working.. =P .. hope you can help me..
> 
>   Thanks!! 
> 
>   Carol
> 




More information about the MIMEDefang mailing list