I'm not seeing any penpals bonuses and I'm at a loss for why.

I've believe I've got amavisd-new properly logging to PostgreSQL:

amavis=> select count(*) from maddr;
  6887
amavis=> select count(*) from msgrcpt;
 16227
amavis=> select count(*) from msgs;
  9278

I've got log level 2 set, and there are no log messages from penpals:
I do see it mentioned in timings:

Jul  7 14:49:18 tala amavis[8842]: (08842-06-3) TIMING [total 5826 ms] -
SMTP pre-DATA-flush: 3 (0%)0, SMTP DATA: 78 (1%)1, body_digest: 1 (0%)1,
sql-enter: 10 (0%)2, mime_decode: 24 (0%)2, get-file-type3: 15 (0%)2,
parts_decode: 1 (0%)2, AV-scan-1: 14 (0%)2, spam-wb-list: 2 (0%)3, SA
msg read: 1 (0%)3, SA parse: 3 (0%)3, SA check: 5617 (96%)99, SA finish:
4 (0%)99, update_cache: 2 (0%)99, penpals_check: 3 (0%)99,
decide_mail_destiny: 1 (0%)99, prepare-dsn: 2 (0%)99, main_log_entry: 8
(0%)99, sql-update: 34 (1%)100, update_snmp: 1 (0%)100, unlink-3-files:
1 (0%)100, rundown: 0 (0%)100

The database contents seem reasonable to me:
amavis=> select sid,rid,msgs.time_num,msgs.mail_id,subject from msgs
join msgrcpt on msgs.mail_id=msgrcpt.mail_id where ds='P' and
content!='V' order by time_num desc limit 20;
 sid  | rid  |  time_num  |   mail_id    |            subject
------+------+------------+--------------+-------------------------------
  182 |  973 | 1152302475 | g4oom-2kIQnc | Re: Held for Discussion
  182 |  972 | 1152302475 | g4oom-2kIQnc | Re: Held for Discussion
  182 |  971 | 1152302475 | g4oom-2kIQnc | Re: Held for Discussion
  182 |  230 | 1152302475 | g4oom-2kIQnc | Re: Held for Discussion
  182 |  970 | 1152302475 | g4oom-2kIQnc | Re: Held for Discussion
  971 | 6480 | 1152302465 | C-P442TmOg1K | Re: Held for Discussion

My amavisd.conf contains:

$penpals_bonus_score = 4;  # (no effect without a @storage_sql_dsn database)
$penpals_threshold_high = $sa_kill_level_deflt; # don't waste time on hi spam

So what am I missing? Do I need to turn something else on 
in amavisd.conf to have this work? How could I better debug?

Thanks in advance,

 Alan



-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
           Alan Schwartz               | Disclaimer: I represent no one
          <[EMAIL PROTECTED]>             |
         Associate Professor           |Life is what happens to you while
   Department of Medical Education     | you're busy making other plans
  University of Illinois at Chicago    |          - J. Lennon
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to