[Mimedefang] Report

Carol Man mimedefang at yahoo.com
Wed Jul 2 12:56:02 EDT 2003


Stefano,

  thanks a lot!!! It really works! =)
  My boss would get angry with me if it didn't work.. 

 =P.. Now I'll test the Message_to_Recipient.. hope
that it will works too.. 

  Thanks again!!!!

  Carol


--- Stefano McGhee wrote:

> 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
> 
>

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the MIMEDefang mailing list