On Wed, 27 Sep 2006, Vladimir wrote:

> Hi all.
> I'm using postfix + amavisd-new-2.4.2 + spamassassin.
> Is there any chance to completely disable the insertion of the
> "X-Spam-Status" header field with all the scores, tests, etc. even if the

I don't think it is configuarable in /etc/amavisd.conf, you would have to 
modifiy the code of amavisd if I am correct. The related lines maybe is 
here in the sub add_forwarding_header_edits_per_recip ?

    8523       if ($do_tag2) {
    8524         $hdr_edits->add_header('X-Spam-Flag', 'YES');
    8525       }

    8533       if ($do_tag2) {
    8534         $hdr_edits->add_header('X-Spam-Report', 
"\n".$msginfo->spam_report, 2)
    8535           if c('sa_spam_report_header') && $msginfo->spam_report 
ne '';
    8536       }

But don't try it unless you are on test machine and you are comfortable 
with Perl :)

Vincent

> message is considered spam? I only need the "X-Spam-Flag" header field
> set to YES without all the other spam-related headers.
>
> -- 
> Regards,
> Vladimir                          mailto:[EMAIL PROTECTED]
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> 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/
>

Vincent Li      http://pingpongit.homelinux.com
Opensource      .Implementation. .Consulting.
Platform        .Fedora. .Debian. .Mac OS X.
Blog            http://bl0g.blogdns.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/

Reply via email to