Thanks everyone for the ideas, two things though:

1) I am not doing any type of custom filter on the relay server that SA is running on, I was just more hoping for that particular format as I think it has the best information without a mess. I honestly dont know the first thing about creating custom filters for manipulating the SA add_header output.

2) I am filtering it at the destination server though by moving emails with X-Spam-Flag: YES to their Junk imap folder.


On 2014-01-07 09:38, Benny Pedersen wrote:
Bowie Bailey skrev den 2014-01-07 15:55:
If you want this report on all messages, you can add the following
line to your local.cf or user_prefs file:

add_header all Report _REPORT_

or better maybe:

add_header spam SpamReport _REPORT_
add_header ham HamReport _REPORT_

this is more easy to grep in scripts or procmail then

Reply via email to