On Saturday 13 September 2008 21:58, aladdin wrote:
> On Saturday 13 September 2008 20:38, aladdin wrote:
> > On Saturday 13 September 2008 20:30, Daryl C. W. O'Shea wrote:
> > > On 13/09/2008 8:20 PM, aladdin wrote:
> > > > On Saturday 13 September 2008 20:00, Daryl C. W. O'Shea wrote:
> > > >> Check to make sure that network tests aren't disabled.  Many distro
> > > >> packages have network tests turned off my default.  Not sure where
> > > >> Debian would configure this, sorry.
> > > >>
> > > >> Daryl
> > > >
> > > > Thanks for the reply!
> > > >
> > > > Where would I check that and what would I look for?  Can you tell
> > > > that from either the header or the config file I posted?
> > >
> > > Not sure where Debian keeps its daemon config files, but you can
> > > probably find out by running the following command and looking for "-L"
> > > or "--local" in the output.
> > >
> > > ps aux | grep spamd
> > >
> > >
> > > Daryl
> >
> > Thanks again!
> >
> > Yeah, if you saw my last email, I checked that very thing.  I believe
> > that all my config files are in /etc/spamassassin; that is where the
> > local.cf came from, and there are init.pre and v310, v312.... files in
> > there as well. That's where I looked to see if it appeared the networks
> > tests (razor, pyzor, etc.) where turned on, and they *appear* to be;-).
>
> A bit more data- lo & behold, I checked the log files, and here is what
> they say:
>
> #######################################################
> Sep 13 21:19:37 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/O: tie failed:
> Sep 13 21:20:37 anw-dev last message repeated 5 times
> Sep 13 21:24:41 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/O: tie failed:
> Sep 13 21:24:41 anw-dev last message repeated 2 times
> Sep 13 21:24:41 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/W: tie failed: Inappropriate
> ioctl for device
> Sep 13 21:35:55 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/O: tie failed:
> Sep 13 21:35:55 anw-dev last message repeated 2 times
> Sep 13 21:35:55 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/W: tie failed: Inappropriate
> ioctl for device
> Sep 13 21:39:57 anw-dev spamd[17910]: bayes: cannot open bayes
> databases /home/anw/.spamassassin/bayes_* R/O: tie failed:
> #########################################################
>
> So, evidently, it can't find my bayes database.  So, since I want to use a
> system-wide database, where is it (/usr/share/spamassassin?, which has a
> lot of likely looking files in it), and how do I tell spamd to use it?
>
> This directory has a lot of bayes, razor, pyzor, etc. filenames in it, and
> this could be my problem.

Well, I have run (from the time of my last post) spamd with this command line:

/usr/sbin/spamd --create-prefs --max-children 
5 --helper-home-dir=/usr/share/spamassassin -d --pidfile=/var/run/spamd.pid

and I still have the same problem with emails and the same log entries.
-- 
Thanks and regards,

Allen Williams
Office: +1.321.309.7931
Mobile: +1.321.258.1272

Reply via email to