Home › Forums › OS X Server and Client Discussion › Mail › amavis debug logs
- This topic has 2 replies, 2 voices, and was last updated 20 years, 2 months ago by
iztech.
-
AuthorPosts
-
January 21, 2005 at 8:02 pm #360432
iztech
Participanthello
not having much luck with spam control as far as bayes. i have repeated offenders and can not block them.
i believe there might be a problem with my set up.
can someone enlighten me on these log entries. maybe there is something here that will jump out.Jan 6 22:40:55 post.mail.idealzone.net amavisd[407]: SpamControl: initializing Mail::SpamAssassin
debug: Score set 0 chosen.
debug: running in taint mode? yesdebug: bayes: 407 tie-ing to DB file R/O /var/spool/spamassassin_toks
debug: bayes: 407 tie-ing to DB file R/O /var/spool/spamassassin_seen
debug: bayes: found bayes db version 2
debug: Score set 2 chosen.
debug: Initialising learner
debug: failed to open ‘/usr/share/spamassassin/triplets.txt’, cannot check dictionarydebug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=0
debug: running meta tests; score so far=0
debug: is spam? score=0 required=5 tests=
SpamAssassin: oops! still tied/locked to bayes DBs, untie’ing
debug: bayes: 407 untie-ing
debug: bayes: 407 untie-ing db_toks
debug: bayes: 407 untie-ing db_seen
Jan 6 22:40:56 post.mail.idealzone.net amavisd[407]: SpamControl: doneJanuary 22, 2005 at 11:41 am #360433bustthis
Participant[QUOTE]debug: failed to open ‘/usr/share/spamassassin/triplets.txt’, cannot check dictionary
[/QUOTE]check to see if you have a spamassassin directory located under /usr/share/spamassassin or /usr/local/share/spamassassin – the directory should contain the spamassassin tests. if it’s not there, i noticed after using cpan to upgrade spamassassin to 3.0.2, the tests were installed under /spamassassin, so look around for it and move it to the correct place 🙂
what version of spamassassin & amavis are you using? make sure that a .spamassassin directory exists in /var/amavis and chown -R clamav:clamav everything in that folder.
your local.cf should contain:
use_bayes 1
bayes_path /var/amavis/.spamassassin/bayesin etc/amavisd.conf:
$sa_local_tests_only = 0;debug again… should work now. once you set up spamassassin correctly, you will never need to touch it again. use the amavisd.conf to whitelist/blacklist senders and all should be fine.
January 22, 2005 at 11:38 pm #360435iztech
Participant[QUOTE]debug: failed to open ‘/usr/share/spamassassin/triplets.txt’, cannot check dictionary
[/QUOTE]i can not find triplets.txt anywhere on the server!
[QUOTE]check to see if you have a spamassassin directory located under /usr/share/spamassassin or /usr/local/share/spamassassin[/QUOTE]
does not exist in either place.
[QUOTE]make sure that a .spamassassin directory exists in /var/amavis and chown -R clamav:clamav everything in that folder. [/QUOTE]
yes all exist here.
[QUOTE]your local.cf should contain:
use_bayes 1
bayes_path /var/amavis/.spamassassin/bayes[/QUOTE]yes, i changed the bayes_path from /var/spool/spamassasin to the above.
now i can not run sa-learn it give me an error.
running amavisd debug
gave me better results but it said no spam learned.yikes.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed