[Mimedefang] SA Question
Jeff Grossman
jeff at stikman.com
Tue Oct 22 13:53:01 EDT 2002
on 10/22/02 5:44 AM, Chad Stalvey at cstalvey at hcsmail.com wrote:
> It appears by this code that you will only mark the headers if the count is
> over or equal to ten. I am wanting to have all messages have a header with
> the count so that I can see the score when a piece of SPAM gets through.
>
> I added: action_change_header("X-Spam-Score", "$hits ($score) $names");
>
> right before the: if ($hits >= 10) {
>
> line, but it does not work. Do I need a second test all on its own like:
>
> if ($hits >= 1) {
> action_change_header("X-Spam-Score", "$hits ($score) $names");
> }
>
>
> ? I'm not sure on this, cause I would have figured my first try would have
> worked. Thanks Again.
How about changing it to say "action_add_header("X-Spam-Score", "$hits
($score) $names");
That should work for you. Remember, you are adding the header, not changing
it.
Jeff
--
Jeff Grossman (jeff at stikman.com)
More information about the MIMEDefang
mailing list