Subject: Re: add headers
Date: Wednesday 6th September 2006 14:05:06 UTC (over 10 years ago)
On Wed, Sep 06, 2006 at 10:20:25AM +0100, Nigel Frankcom wrote: > >> >>> I would like to add headers X-Spam-Status, X-Spam-Level, X-Spam-Flag to > >> >>> every e-mail tested by SpamAssassin. Except for Flag, they're added by default to all mails already. The docs show the config for this, and I'll put it below with the change for Flag: add_header all Flag _YESNOCAPS_ add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_ add_header all Level _STARS(*)_ > >To be fair, the docs aren't explicit as to whether 1 and 2 *also* add > >X-Spam-mumble headers. Headers are always added. report_safe changes whether or not the mail is encapsulated (0 vs 1/2) and how (1 vs 2). > IIRC, this is the 2nd post along similar lines, I'm curious to know > what server/setup is being used. I'm aware some setups can do weird > and wonderless things to the headers. It's worth noting that the documentation and SA config work for using SA only. If you're using a third party tool, they could change any or all of it, depending on how they use SA. For instance, the usual problem when people complain about "I can't add/change the X-Spam headers in mails" is that they're using a third-party utility which does the markup instead of SA, therefore SA's header markup config is useless. -- Randomly Generated Tagline: Is fire supposed to shoot out of it like that?