Appending spam-status at the bottom of message body

2006-05-22 Thread chia3

Hello!

Is there any way to append certain spam status info (ie spam score, spam
tests etc) after the last line of the original message body?

I'm not interested in putting the original message body + spam status report
in two separate attachments, as done with the safe_report-option.

I read something about $status-rewrite_mail () and $messagestring =
$status-get_full_message_as_text (), but I don't know if these will do the
trick.. Neither do I know where/how to implement these commands.

Thanks for your help!

Best regards,
chia3
--
View this message in context: 
http://www.nabble.com/Appending+spam-status+at+the+bottom+of+message+body-t1664723.html#a4511260
Sent from the SpamAssassin - Users forum at Nabble.com.



Re: Appending spam-status at the bottom of message body

2006-05-22 Thread Theo Van Dinter
On Mon, May 22, 2006 at 12:41:50PM -0700, chia3 wrote:
 Is there any way to append certain spam status info (ie spam score, spam
 tests etc) after the last line of the original message body?

There's no way to do this with the standard SA (though you could fake it by
running messages through spamassassin -t).  If you wanted to do this with
spamd, for instance, you'd have to modify the rewrite_mail() stuff in
PerMsgStatus.

There isn't even a plugin hook for rewriting, yet.

 I read something about $status-rewrite_mail () and $messagestring =
 $status-get_full_message_as_text (), but I don't know if these will do the
 trick.. Neither do I know where/how to implement these commands.

Those are in the PerMsgStatus module.  You'd have to modify the Perl code
directly.

-- 
Randomly Generated Tagline:
lp1 on fire - Linux kernel error message


pgpCBiigCGkHF.pgp
Description: PGP signature