I changed the path just in case. It was that way as a mistake anyhow. Here is the output of lint. (it is exactly the same as with the other paths so I am sure that is not the issue.) Note that it works there. Although not when run through procmail. I think your idea about users is on to something.
My .forward file is
"|IFS=' ' && exec /usr/bin/procmail || exit 75 #webmaster"
Quotes and all. Is that correct?
Tom


[EMAIL PROTECTED] webmaster]$ spamassassin -D --lint
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 '/usr/sbin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/X11R6/bin', which doesn't exist, dropping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/local/sbin', keeping.
debug: Final PATH set to: /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
debug: ignore: using a test message to lint rules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/home/webmaster/.spamassassin" for user state dir
debug: using "/home/webmaster/.spamassassin/user_prefs" for user prefs file
debug: bayes: 28490 tie-ing to DB file R/O /home/webmaster/.spamassassin/bayes_toks
debug: bayes: 28490 tie-ing to DB file R/O /home/webmaster/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
debug: Score set 3 chosen.
debug: Initialising learner
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=2.077
debug: bayes corpus size: nspam = 47336, nham = 1028
debug: uri tests: Done uriRE
debug: tokenize: header tokens for *F = "U*ignore D*compiling.spamassassin.taint.org D*spamassassin.taint.org D*taint.org D*org"
debug: tokenize: header tokens for *m = " 1096056335 lint_rules "
debug: bayes token 'TextCat' => 0.0489090909090909
debug: bayes token 'somewhat' => 0.095669124722507
debug: bayes token 'H*F:D*org' => 0.122005426957751
debug: bayes: score = 0.0118746978798883
debug: bayes: 28490 untie-ing
debug: bayes: 28490 untie-ing db_toks
debug: bayes: 28490 untie-ing db_seen
debug: Razor2 is not available
debug: running raw-body-text per-line regexp tests; score so far=2.077
debug: running uri tests; score so far=2.077
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=2.077
debug: Razor2 is not available
debug: Current PATH is: /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: DCC is not available: no executable dccproc found.
debug: all '*From' addrs: [EMAIL PROTECTED]
debug: all '*To' addrs:
debug: is Net::DNS::Resolver available? no
debug: is DNS available? 0
debug: running meta tests; score so far=2.077
debug: is spam? score=0.553 required=3 tests=BAYES_01,DATE_MISSING,NO_REAL_NAME


Matt Kettler wrote:

At 04:10 PM 9/24/2004, Thomas Bolioli wrote:

I do not believe that is an issue. It only puts the bayes databases at ~/.spammer_toks and ~/.spammer_seen. sa-learn has not had a problem loading the databases. They have grown everytime I have used it. I can't see why spamd would have a problem with it.


Fair enough. Like I said, it's a syntax error if a directory named ~/.spammer/ exists. However, if it doesn't exist, it's fine.

Are you sure spamc is being invoked as the proper user, and not as root?

spamd will fall back to "nobody" if it finds itself still running as root after setuiding to the client user. You could try copying a set of files into the path of nobody's home-dir and see if bayes starts running.







Reply via email to