I'm storing user preferences in a database.  The default hit is 8.0 currently 
(will shortly be back to 5.0) and spamc is getting called from procmail 
(which is getting called from qmail/vpopmail) thusly:

:0fw
| /usr/local/bin/spamc -u $EXT -f

$EXT is the username and any extension they have.  I can tell that SA is 
seeing the correct user by looking at my miscmail logfile:

Jun 28 16:51:40 auth spamd[22078]: clean message (4.6/8.0) for MLEWIS:99 in 0 
seconds.
Jun 28 16:51:44 auth spamd[22092]: clean message (4.6/8.0) for MLDRUMM:99 in  
1 seconds.
Jun 28 16:52:00 auth spamd[22189]: clean message (-86.5/8.0) for DEWD:99 in  
1 seconds.
Jun 28 16:52:07 auth spamd[22211]: identified spam (8.8/8.0) for dakota:99 in  
0 seconds.
Jun 28 16:52:11 auth spamd[22229]: clean message (-7.4/8.0) for concon:99 in   
0 seconds.
Jun 28 16:52:12 auth spamd[22242]: clean message (0.0/8.0) for stoellner:99 in   
0 seconds.

and so on.

now user steve has an entry in the userpref database that asks his default 
score to be 5.0.  However SA doesn't seem to be listening:

spamassassin=# select * from userpref where username='steve';
 prefid | username |  preference   | value
--------+----------+---------------+-------
     16 | steve    | required_hits | 5

auth:~$ tail -n 1000 /var/log/miscmail | grep steve
auth:~$ tail -n 10000 /var/log/miscmail | grep steve
Jun 28 14:55:51 auth spamd[3086]: clean message (-89.2/8.0) for mstevens:99 in  
0 seconds.
Jun 28 15:00:57 auth spamd[4185]: clean message (0.0/8.0) for steve:99 in   0 
seconds.
Jun 28 16:00:24 auth spamd[18121]: clean message (1.3/8.0) for steve:99 in   0 
seconds.
Jun 28 16:03:14 auth spamd[18862]: clean message (1.7/8.0) for steve:99 in   0 
seconds.
Jun 28 16:23:27 auth spamd[23229]: identified spam (12.9/8.0) for mstevens:99 
in   1 seconds.
Jun 28 16:30:34 auth spamd[15834]: clean message (0.0/8.0) for steve:99 in   0 
seconds.
Jun 28 16:34:40 auth spamd[17217]: clean message (0.0/8.0) for steve:99 in   1 
seconds.

Steve's hit-threshhold is still 8.0, which is the default for everyone else.  
Can anyone explain why?  I know that SA is picking up other scores for user 
"GLOBAL" just fine (individual score tests and the required_hits of 8.0) so 
I'm pretty sure it's not a database or db communication issue.

This is SA 2.20.

Regards,
Andrew


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to