Thanks, that helps a bit:
X-Spam-Status: No, score=4.6 required=5.0 tests=[AWL=-0.040,
RP_MATCHES_RCVD=-0.001, SO_FROM_HJPC=0.65, SO_HELO_LDOM=0.65,
SO_LOCAL_FROM=-0.1, SO_NOT_FROM_RP=2.5, SPF_FAIL=0.919] autolearn=no
X-Spam-Level: ****
But I am still missing these two lines:
X-Spam-Flag: YES
X-Spam-Score: 14.176
I know that information is already included in the X-Spam-Status, but I
really need them to be separate available on with their own line as
well. I guess its not possible to specify multiple add_header entries?
On 2014-01-09 18:21, Karsten Bräckelmann wrote:
On Tue, 2014-01-07 at 07:29 -0600, Mark Chaney wrote:
I am using spamassassin standalone and I am trying to figure out how
to
duplicate this format that I would normally get from my servers that
user amavis or mailscanner. How can I get a format like so? Ive read
the
manual, but havent really figured it out. I also have no use for the
spam-checker-version
The X-Spam-Checker-Version header is added by SA unconditionally, since
it provides vital data for support. That header can not be removed.
X-Spam-Flag: YES
X-Spam-Score: 14.176
X-Spam-Level: **************
X-Spam-Status: Yes, score=14.176 tagged_above=-10 required=5
tests=[AWL=-1.500, BAYES_95=4.5, DATE_IN_PAST_06_12=1.543,
HTML_MESSAGE=0.001, KAM_SOLAR=3.5, MIME_HTML_MOSTLY=0.428,
MPART_ALT_DIFF=0.79, NUMERIC_HTTP_ADDR=1.242, RDNS_NONE=0.793,
SO_RDNS_UNKNOWN=0.35, SPF_HELO_SOFTFAIL=0.732, SPF_SOFTFAIL=0.665,
T_REMOTE_IMAGE=0.01, URI_HEX=1.122] autolearn=no
The following SA configuration mimics the Amavis Status header. Mind
the
line wrap and extra indentation added for readability.
add_header all Status _YESNO_, score=_SCORE()_ required=_REQD_
tests=[_TESTSSCORES(, )_]
autolearn=_AUTOLEARN_
The tagged_above value is an Amavis thing, not applicable for SA. As I
understand, the important bit you're after is the _TESTSSCORES(, )_
Template Tag anyway -- note the custom separator. See
http://spamassassin.apache.org/doc/Mail_SpamAssassin_Conf.html#template_tags
for more details about the Template Tags used. Also see the M::SA::Conf
documentation for the add_header option.