This is a discussion on Re: [AMaViS-user] Disable X-Spam-Status header field within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Vladimir wrote: > According to http://www.ijs.si/software/amavisd/#faq-spam "the header > insertion/editing options ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Vladimir wrote:
> 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 ? They will not be used. "All mail (header) editing is done by amavisd-new and not by SA. Even though SA does observe options in its configuration file to rewrite mail body and modify mail header, the result is purposely not used by amavisd-new" >>> 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 As Vincent mentioned, it appears you could comment out some lines that write the headers you don't want. I think you want to comment out this entire statement, as shown: # if ($do_tag) { # $hdr_edits->add_header('X-Spam-Score', # !defined $spam_level ? '-' : 0+sprintf("%.3f",0+$spam_level+$boost)); # $hdr_edits->add_header('X-Spam-Level', $spam_level_bar) # if defined $spam_level_bar; # $hdr_edits->add_header('X-Spam-Status', $full_spam_status, 1); # } Gary V ------------------------------------------------------------------------- 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?p...rge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |