On Mon, 2011-11-14 at 12:07 -0800, Mike Koleszar wrote:
> Hi all, I would like to put together a script that will show me the spam 
> score of emails that come in.
>
That's fairly vague. Do you want to see the score of each individual
message as it comes in and, if so, who should see this? If this is what
you want, do as Bowie says or simply look at the message headers, which
will contain the headers added by Spamassdassin.

Or, do you want to see a list of all the messages that arrive during a
period together with their scores, say for each day? If this is what you
want *and* you have access the the server where SA runs, then the best
idea is probably to write an awk or Perl script that extracts the
information from the mail log - /var/log/maillog in my system.


Martin


Reply via email to