Your problem is that when you execute spamc from exim, you are telling it to use a home directory of /tmp. This isn't likely the same home directory you have when you execute spamassassin manually.

The bayes db is probably being yanked from /tmp/.spamassassin as a result, since ~/ is now /tmp/. (~/ is home)

You can get over this in one of several ways. One way would be to force the bayes_path to be an absolute path, instead of ~/.spamassassin/bayes you could do /root/.spamassassin/bayes. This would mean that SA would always use the same database no matter how its called.

Or you could copy or link a bayes db up to /tmp/.spamassassin

At 01:08 PM 8/30/03 +0200, Martin Bretschneider wrote:
If I feed spamasssassindirectly from the shell of my user account it uses Bayes but not in the
chain fetchmail->exim->SA->exim->/var/spool/mail. Where ist he problem?
<snip>

home_directory = "/tmp"



------------------------------------------------------- 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