....
 

Guardian Digital Inc. > InfoCenter > Mailing List Archives > Amavis

Amavis Mailing List Archive

From: Mark Martinec (Mark.Martinec+amavis@ijs.si)
Date: Thu Dec 16 2004 - 12:18:16 EST


> is it possible to modify Amavisd generated X-Spam-Status header
> for example:
> X-Spam-Status: No, hits=5.919 tagged_above=3 required=6 tests=ALL_TRUSTED,
> HTML_50_60, HTML_MESSAGE, MIME_HTML_ONLY, MR_STRANGE_QUESTION,
> change to: X-Spam-Status: hits=5.919
> or: X-Spam-Status: 5.919

In sub add_forwarding_header_edits_per_recip
locate the:

  $hdr_edits->append_header('X-Spam-Status', $full_spam_status, 1);

and replace it with whatever you prefer,
or alternatively, uncomment the two nearby lines:

# $hdr_edits->append_header('X-Spam-Score',
# !defined $spam_level ? '-' : 0+sprintf("%.3f",$spam_level+$boost) );

Mark

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



[ About Guardian Digital ] - [ Press Center ] - [ Contact Us ] - [ System Activation ] - [ Reseller Info ] - [ Online Store ] - [ Site Map ]
Copyright (c) 2000 - 2004 Guardian Digital, Inc. Linux Lockbox and EnGarde are Trademarks of Guardian Digital, Inc.