Thanks again!

Did that, kept the score directive in the database, but oddly enough, on
a test, it scores is 1.0 in the message headers, not 5 like I have in
the db...

--
Matthew Yette
Senior Engineer - NOC/Operations
MA Polce Consulting, Inc.
[EMAIL PROTECTED]
315-838-1644 (w)
315-356-0597 (f)
AIM/Yahoo: MAPolceNOC
MSN: [EMAIL PROTECTED]

-----Original Message-----
From: Michael Parker [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 23, 2005 4:30 PM
To: Matthew Yette
Cc: users@spamassassin.apache.org
Subject: Re: shared SQL DB


Matthew Yette wrote:

>Also Michael - how would one write a custom rule in the database? For 
>example, if I have this in a .cf file:
>
>
>header MY_STOCK Subject =~ /[sS]t[0]ck/i
>score MY_STOCK 5.0
>
>In which I create a new rule called MY_STOCK, how would I put that into

>the userpref table? Username of @GLOBAL, preference of header MY_STOCK 
>and value of Subject =~ /[sS]t[0]ck/i doesn't seem to work.
>
>  
>

You don't.  You can't put admin commands into the database, those belong
in *.cf files.

michael

Reply via email to