On 08/11/2014 01:00 PM, li...@rhsoft.net wrote:
> Hi
> 
> http://www.postfix.org/header_checks.5.html
> 
> RULE:   /X-Virus-Scanned/ REPLACE X-Virus-Scanned: Yes
> BEFORE: X-Virus-Scanned: clamav-milter 0.98.4 at testserver.rhsoft.net
> NOW:    X-Virus-Scanned: Yes
> 
> so far, so nice
> _____________________________________
> 
> but in case of "X-Spam-Status" i am out of ideas to get only the 
> "version=3.4.0"
> away to not leak software versions and if possible the wrong 
> "UNPARSEABLE_RELAY"
> and i am even not sure if it is possible at all
> 
> the rest of the SpamAssasin header should stay untouched
> 
> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
> autolearn=ham autolearn_force=no version=3.4.0
> 

If you don't like UNPARSEABLE_RELAY, then just disable the rule in
spamassassin. For the formatting of the header, it's probably easier to
use spamassassin itself:
http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html#template_tags


Tom

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to