> No, _REPORT_ is just the terse report for the header.  There is no
> template to modify for the header report.
>
>> Which is implying you only get the terse format using _REPORT_ ? Does
>> that
>> mean theres no way to get a report like the 2.55 format I pasted above ?
>>:(
>
> Correct, unless you modify code.

Ok, just playing around with using add_header in local.cf and think I
might have spotted a bug....

It seems that you can use a \n to represent a carrage return in an add
header line, but only the *FIRST* \n on the line is recognised, any later
ones are printed verbatim. One example - I attempted to modify the Status
header to look like 2.55 (newline between the hits and the tests, and
another newline between the tests and the autolearn bit, which I think
looks much tidier) thus:

add_header all Status "_YESNO_, hits=_HITS_
required=_REQD_\ntests=_TESTS_\nautolearn=_AUTOLEARN_ version=_VERSION_"

And the result was:

X-Spam-Status: Yes, hits=11.9 required=7.0
       
tests=BAYES_99,DNS_FROM_RFCI_DSN,MISSING_MIMEOLE,MISSING_OUTLOOK_NAME,NO_REAL_NAME,RATWARE_HASH_2_V2,RCVD_IN_DYNABLOCK,RCVD_IN_RFCI\nautolearn=no
version=2.60-rc2

Mucked up by email client wrapping of course - but anyhow the first \n
actually did give a new line in the header, but the following ones are
just showing up in the report. I tried putting spaces around them but it
didn't help, so it seems to simply not process any \n's after the first
one...

Bug ? Oversight ?

Regards,
Simon




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to