Next: Reader's Comments
Up: How to integrate spamassassin
Previous: The Most Effective Block
  Contents
More Fun With SA
Since I laready have this written, I may as well pass it along. If you
want to see only and all of spamassassin's report on a message, pipe the
output of spamc(1) or spamassassin(1) through the
following awk script:
/^ +[[:digit:].]+ points/ {print "(score=" $1 ")."}
Alternatively, obtain just the report with this script:
BEGIN {flag=0};
/^[^[:space:]]/ { ($1 ~ /X-Spam-Report/) ? flag=1 : flag=0};
{if (flag) print };
Derrick 'dman' Hudson
2003-11-06