According to http://www.ijs.si/software/amavisd/#faq-spam "the header insertion/editing options must be specified in amavisd.conf". On the other hand "SA sees and observes all options in local.cf. It is just that some of them have no effect on the mail." Also, spamassassin has two perfect options "add_header" and "remove_header" which completelly solves my problem (i think :).
So the question is: how can i use this options in amavisd.conf or will they take effect if i will put them in the configuration file of spamassassin ? >> 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 VL> I don't think it is configuarable in /etc/amavisd.conf, you would have to VL> modifiy the code of amavisd if I am correct. The related lines maybe is VL> here in the sub add_forwarding_header_edits_per_recip ? VL> 8523 if ($do_tag2) { VL> 8524 $hdr_edits->add_header('X-Spam-Flag', 'YES'); VL> 8525 } VL> 8533 if ($do_tag2) { VL> 8534 $hdr_edits->add_header('X-Spam-Report', "\n".$msginfo->>spam_report, 2) VL> 8535 if c('sa_spam_report_header') && $msginfo->spam_report VL> ne ''; VL> 8536 } VL> But don't try it unless you are on test machine and you are comfortable VL> with Perl :) VL> 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/ >> VL> Vincent Li http://pingpongit.homelinux.com VL> Opensource .Implementation. .Consulting. VL> Platform .Fedora. .Debian. .Mac OS X. VL> Blog http://bl0g.blogdns.com -- С уважением, 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/