Thanks for the help, Matt. I've tried your suggestions, and haven't yet fixed this problem. Hope you or someone else have some more insights.
Here're the results so far: Dig works just fine. However, running sa-learn --rebuild is looking quite problematic. Here are some snippets. No, I don't run games on this machine. :) -----------run as root---------- zetmail2# sa-learn --rebuild Bus error (core dumped) -----------run as root---------- -----------run as root---------- zetmail2# sa-learn --rebuild -D debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/sbin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/games', keeping. debug: PATH included '/usr/local/sbin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/usr/X11R6/bin', which doesn't exist, dropping. debug: PATH included '/root/bin', which doesn't exist, dropping. debug: Final PATH set to: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin debug: using "/usr/local/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/root/.spamassassin/user_prefs" for user prefs file debug: bayes: 12739 tie-ing to DB file R/O /home/filter/.spamassassin_toks debug: bayes: 12739 tie-ing to DB file R/O /home/filter/.spamassassin_seen debug: bayes: found bayes db version 2 debug: bayes: Not available for scanning, only 185 ham(s) in Bayes DB < 200 debug: bayes: 12739 untie-ing debug: bayes: 12739 untie-ing db_toks debug: bayes: 12739 untie-ing db_seen debug: Score set 0 chosen. debug: Initialising learner debug: Initialising learner debug: Syncing Bayes journal and expiring old tokens... debug: lock: 12739 created /home/filter/.spamassassin.lock.zetmail2.zetron.com.12739 debug: lock: 12739 trying to get lock on /home/filter/.spamassassin with 0 retries debug: lock: 12739 trying to get lock on /home/filter/.spamassassin with 1 retries -----------run as root---------- ----------run as filter (the SA userid)---------- zetmail2% spamassassin --lint Created user preferences file: /home/filter/.spamassassin/user_prefs ----------run as filter (the SA userid)---------- ----------run as filter (the SA userid)---------- zetmail2% sa-learn --rebuild bayes expire_old_tokens: panic: sv_setpvn called with negative strlen at /usr/local/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/BayesStore.pm line 563. ----------run as filter (the SA userid)---------- ----------run as filter (the SA userid)---------- zetmail2% sa-learn --rebuild -D debug: Score set 0 chosen. debug: running in taint mode? yes debug: Running in taint mode, removing unsafe env vars, and resetting PATH debug: PATH included '/sbin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/sbin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/games', keeping. debug: PATH included '/usr/local/sbin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/usr/X11R6/bin', which doesn't exist, dropping. debug: PATH included '/root/bin', which doesn't exist, dropping. debug: Final PATH set to: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin debug: using "/usr/local/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/filter/.spamassassin/user_prefs" for user prefs file debug: bayes: 12744 tie-ing to DB file R/O /home/filter/.spamassassin_toks debug: bayes: 12744 tie-ing to DB file R/O /home/filter/.spamassassin_seen debug: bayes: found bayes db version 2 debug: bayes: Not available for scanning, only 185 ham(s) in Bayes DB < 200 debug: bayes: 12744 untie-ing debug: bayes: 12744 untie-ing db_toks debug: bayes: 12744 untie-ing db_seen debug: Score set 0 chosen. debug: Initialising learner debug: Initialising learner debug: Syncing Bayes journal and expiring old tokens... debug: lock: 12744 created /home/filter/.spamassassin.lock.zetmail2.zetron.com.12744 debug: lock: 12744 trying to get lock on /home/filter/.spamassassin with 0 retries debug: lock: 12744 trying to get lock on /home/filter/.spamassassin with 1 retries ----------run as filter (the SA userid)---------- -----Original Message----- From: Matt Kettler [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 18:56 To: Kurt Buff; SpamAssassin Users (E-mail) Subject: Re: Stumped, with a faulty install At 04:18 PM 3/26/04 -0800, Kurt Buff wrote: >Bayes autolearning isn't effective, because I haven't trained it with the >requisite 200/200 messages. Just because you haven't manually trained does not mean autolearning won't occur. The 200/200 just means that bayes scores won't be applied to messages. I'd suggest doing a sa-learn --rebuild and a sa-learn --force-expire, see if it clears any problems up. I'd also run a spamassassin --lint to double-check your config, which should run without complaints. The only other alternative I can think of from looking at your config is that your DNS might not be working and is timing out. Check your /etc/resolv.conf.. IIRC SA will only use the first resolver in the list.. make sure that particular DNS server works by forcing dig to use it: [EMAIL PROTECTED] www.spamassassin.org If nothing else, having a dead DNS in your /etc/resolv.conf isn't a good thing, so removing it will improve performance of DNS queries in general. >Anything anyone can suggest would be most appreciated.
