Am 11.08.2014 um 14:10 schrieb Erik Logtenberg: > Well, this isn't really the right list to discuss SpamAssassin, but a > short reply then: > > The UNPARSEABLE_RELAY isn't really a spam-test
i know > but it there to warn you that your email has one or more > Received: lines that cannot be parsed which is not true - well, it may be true that Spamass can't parse it but in a message submitted authenticated over port 587 there are not much Received headers > Maybe you have accidentally mangled a Received: line with those > header_checks. You shouldn't do that, especially not on outgoing email. no - it's there without any header checks > More on this UNPARSEABLE_RELAY you find here: > https://wiki.apache.org/spamassassin/Rules/UNPARSEABLE_RELAY score UNPARSEABLE_RELAY 0 removes that warning thanks! > On 11-08-14 13:59, li...@rhsoft.net wrote: >> thanks looks good >> >> X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY >> autolearn=ham autolearn_force=no >> no idea wher the UNPARSEABLE_RELAY comes from and how to disable it :-( >> >> however, i am still interested in REPLACE just for things >> like /192\.168\.196\./ REPLACE /84\.113\.92\./ >> >> Am 11.08.2014 um 13:51 schrieb Erik Logtenberg: >>> Why don't you simply configure SpamAssassin to not put the version >>> number in the header to begin with? >>> >>> You can use directives like clear_headers, add_headers in your local.cf >>> configuration file to configure these. >>> >>> For instance I have these two lines in my local.cf: >>> >>> clear_headers >>> add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ >>> tests=_TESTS_ autolearn=_AUTOLEARN_ >>> >>> This gives me headers like this: >>> >>> X-Spam-Status: No, score=-7.0 required=5.0 >>> tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL >>> autolearn=ham >>> >>> On 11-08-14 13:00, 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