yeah thx, but the result is a very long text.
in fact, i need to use the score as a number.
( for an intern use )

maybe a shell script will be usefull....

is there any way to get this score in a shell script and use it in it... ( as a variable )

i do not want to use spamc -R file.txt | grep .... etc
maybe RE can match it ?

On 3/29/06, Johann Spies < [EMAIL PROTECTED]> wrote:
On Wed, Mar 29, 2006 at 01:32:48PM +0200, Belette wrote:
>    hello there !
>
>    IS there a way to get SA scores using a shell command :
>
>    e.g. :
>    # spam -score < mail.txt
>    # .045
>
>    i need this coz i do not want to filter all mails, i just need a score,
>    without writing SA header inside it

spamc -R < mail.txt

Regars
Johann


--
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Trust in the Lord with all your heart and lean not on
      your own understanding; in all your ways acknowledge
      him, and he will direct your paths."  Proverbs 3:5,6

Reply via email to