After setting-up spamassassin, RTFM and monitoring the list I am still very confused 
about the correct way to set-up and run
spamassassin with bays (sa-learn).

The basics:

I am running Post.Office as a MTA on OS X client 10.2.8.  Post.Office has a plug-in 
that calls SA, checks the spam status and allows
for the rejection or notification of spam.

My current set-up is running spamd as follows:

/usr/bin/spamd -u mta -d -r /var/run/spamd.pid

I have added the -x and -D flags off and on to play with the disabling of user 
profiles and debugging.  This system is set-up for
system wide filtering. I have no need for user specific user rules or bayes databases.

When spamd runs it looks for /var/root/.spamassassin to create the bayes files.  I 
manually created that directory with the
appropriate permissions / ownership.

Here is my local.cf file bayes section:

#use_bayes               0
use_bayes               1
bayes_file_mode         0700
#bayes_path             /var/spool/bayes/bayes
bayes_path              /var/root/.spamassassin/bayes
bayes_auto_expire       1
bayes_learn_to_journal  0

My maillog still shows 'permission denied' errors on the /var/root/.spamassassin 
folder.  When I run sa-learn (as root) my bayes
files are created in /var/root/.spamassassin/ but as user root?

I am very confused and I know I am not doing this correctly.  Could someone please 
point me in the right direction on this?

Thanks,

Dan




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to