Re: autolearn=failed

2007-09-06 Thread maillist
As you want a site-wide Bayes, you also need the "bayes_path" parameter. What setting do you have for "bayes_path" (note it isn't a simple directory name). bayes_path /usr/spamassassin/bayes bayes_file_mode 0777 OK, is the directory "/usr/spamassassin" writable by the user-ID that you are r

[SOLVED] Re: autolearn=failed

2007-09-05 Thread Raquel
On Wed, 5 Sep 2007 01:22:15 -0500 (CDT) Dave Funk <[EMAIL PROTECTED]> wrote: > On Tue, 4 Sep 2007, Raquel wrote: > > >> > > bayes_path /usr/spamassassin/bayes > > bayes_file_mode 0777 > > OK, is the directory "/usr/spamassassin" writable by the user-ID > that you are running spamd as? What happe

Re: autolearn=failed

2007-09-05 Thread Raquel
Permission denied Sep 5 09:07:11 bryce spamd[12836]: bayes: locker: safe_lock: cannot create lockfile /usr/spamassassin/bayes.mutex: Permission denied Sep 5 09:07:11 bryce sm-mta[16868]: l85G6RF0016868: Milter add: header: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_50 autolearn=failed \n\tver

Re: autolearn=failed

2007-09-04 Thread Dave Funk
the server keeps getting "autolearn=failed". I don't seem to be able to figure out is causing that. [snip..] My local.cf says: bayes_auto_learn 1 use_bayes_rules 1 bayes_auto_learn_threshold_nonspam 0.1 bayes_auto_learn_threshold_spam 10 As you want a site-wide Baye

Re: autolearn=failed

2007-09-04 Thread Raquel
ever, email sent to the > > > server keeps getting "autolearn=failed". I don't seem to be > > > able to figure out is causing that. > > > > > > -- > > > Raquel > > > > > > > I should say that this ser

Re: autolearn=failed

2007-09-04 Thread David B Funk
On Mon, 3 Sep 2007, Raquel wrote: > On Mon, 3 Sep 2007 18:31:03 -0700 > Raquel <[EMAIL PROTECTED]> wrote: > > > I'm setting up a new server. However, email sent to the server > > keeps getting "autolearn=failed". I don't seem to be able to > &

Re: autolearn=failed

2007-09-04 Thread Raquel
#x27;m setting up a new server. However, email sent to the > > > server keeps getting "autolearn=failed". I don't seem to be > > > able to figure out is causing that. > > > > > > -- > > > Raquel > > > > > &g

Re: autolearn=failed

2007-09-03 Thread Matthias Leisi
> In Sendmail configuration I have: > INPUT_MAIL_FILTER(`spamassassin', > `S=local:/var/run/sendmail/spamass.sock, > F=,T=C:15m;S:4m;R:4m;E:10m')dnl > > Then in /etc/defaults/spamass-milter: > OPTIONS="-u spamassassin -i 127.0.0.1" Maybe a dumb question: did you restart spamass-milter aft

Re: autolearn=failed

2007-09-03 Thread Daryl C. W. O'Shea
Raquel wrote: I'm setting up a new server. However, email sent to the server keeps getting "autolearn=failed". I don't seem to be able to figure out is causing that. Run a message that hasn't been learned through spamassassin manually as the user who you normally s

RE: autolearn=failed

2007-09-03 Thread Rob Sterenborg
Raquel wrote: > On Mon, 03 Sep 2007 22:30:16 -0400 > Matt Kettler <[EMAIL PROTECTED]> wrote: > >> Raquel wrote: >>> >>> >>> I created a new user "spamassassin", with a password. I call >>> spamassassin-milter us

Re: autolearn=failed

2007-09-03 Thread Raquel
On Mon, 03 Sep 2007 22:34:01 -0400 Matt Kettler <[EMAIL PROTECTED]> wrote: > Raquel wrote: > > I created a new user "spamassassin", with a password. I call > > spamassassin-milter using the new user. However, I'm still > > getting "autolearn=faile

Re: autolearn=failed

2007-09-03 Thread Raquel
On Mon, 03 Sep 2007 22:30:16 -0400 Matt Kettler <[EMAIL PROTECTED]> wrote: > Raquel wrote: > > > > > > I created a new user "spamassassin", with a password. I call > > spamassassin-milter using the new user. However, I'm still > > gettin

Re: autolearn=failed

2007-09-03 Thread Matt Kettler
Raquel wrote: > I created a new user "spamassassin", with a password. I call > spamassassin-milter using the new user. However, I'm still getting > "autolearn=failed". > Wait.. Do you actually have the optional DB_File perl module installed? (required

Re: autolearn=failed

2007-09-03 Thread Matt Kettler
Raquel wrote: > > > I created a new user "spamassassin", with a password. I call > spamassassin-milter using the new user. However, I'm still getting > "autolearn=failed". > Interesting.. Could you detail how you called spamassassin-milter using that new user?

Re: autolearn=failed

2007-09-03 Thread Raquel
On Mon, 03 Sep 2007 21:40:44 -0400 Matt Kettler <[EMAIL PROTECTED]> wrote: > Raquel wrote: > > I'm setting up a new server. However, email sent to the server > > keeps getting "autolearn=failed". I don't seem to be able to > > figure out is causing

Re: autolearn=failed

2007-09-03 Thread Raquel
On Mon, 3 Sep 2007 18:39:40 -0700 Raquel <[EMAIL PROTECTED]> wrote: > On Mon, 3 Sep 2007 18:31:03 -0700 > Raquel <[EMAIL PROTECTED]> wrote: > > > I'm setting up a new server. However, email sent to the server > > keeps getting "autolearn=failed"

Re: autolearn=failed

2007-09-03 Thread Matt Kettler
Raquel wrote: > I'm setting up a new server. However, email sent to the server > keeps getting "autolearn=failed". I don't seem to be able to figure > out is causing that. > > Generally speaking, that means SpamAssassin can't write to the bayes datab

Re: autolearn=failed

2007-09-03 Thread Raquel
On Mon, 3 Sep 2007 18:31:03 -0700 Raquel <[EMAIL PROTECTED]> wrote: > I'm setting up a new server. However, email sent to the server > keeps getting "autolearn=failed". I don't seem to be able to > figure out is causing that. > > -- > Raquel >

autolearn=failed

2007-09-03 Thread Raquel
I'm setting up a new server. However, email sent to the server keeps getting "autolearn=failed". I don't seem to be able to figure out is causing that. -- Raquel Those who make peaceful revolution impossib

Re: Bayes not learning (autolearn=failed)

2006-05-22 Thread gerases
On Mon, May 22, 2006 at 09:29:18AM -1000, Chan, Wilson wrote: > Do you have a sample local.cf file I can base my on? Right now this is > what I have. That sounds pretty good. Mine is even shorter because bayes is enabled by default and so is bayes_auto_learn. According to "man Mail::SpamAssassin::

RE: Bayes not learning (autolearn=failed)

2006-05-22 Thread Chan, Wilson
the Bayes system use_bayes 1 # Enable Bayes auto-learning bayes_auto_learn1 Wilson -Original Message- From: Sergei Gerasenko [mailto:[EMAIL PROTECTED] Sent: Monday, May 22, 2006 9:20 AM To: users@spamassassin.apache.org Subject: Re: Bayes not learning (autolearn

Re: Bayes not learning (autolearn=failed)

2006-05-22 Thread Sergei Gerasenko
Also, I would add the path to your "auto-whitelist" file by adding this to your local.cf: auto_whitelist_path /home/spam/.spamassassin/auto-whitelist On Mon, May 22, 2006 at 09:07:48AM -1000, Chan, Wilson wrote: > That seemed to fix it. I guess the default is to create a prefs path. > Thanks!

RE: Bayes not learning (autolearn=failed)

2006-05-22 Thread Chan, Wilson
2006 8:42 AM To: users@spamassassin.apache.org Subject: Re: Bayes not learning (autolearn=failed) On Mon, May 22, 2006 at 08:17:57AM -1000, Chan, Wilson wrote: > Still getting autolearn=failed but its no longer complaining about > running spamd as root but its trying to create & read

Re: Bayes not learning (autolearn=failed)

2006-05-22 Thread gerases
On Mon, May 22, 2006 at 08:17:57AM -1000, Chan, Wilson wrote: > Still getting autolearn=failed but its no longer complaining about > running spamd as root but its trying to create & read files from root > still even though I have the local.cf defined for the location of the >

RE: Bayes not learning (autolearn=failed)

2006-05-22 Thread Chan, Wilson
Still getting autolearn=failed but its no longer complaining about running spamd as root but its trying to create & read files from root still even though I have the local.cf defined for the location of the bayes files. Any ideas? Thanks! May 22 08:13:57 localhost spamd[25519]: Crea

Re: Bayes not learning (autolearn=failed)

2006-05-21 Thread Theo Van Dinter
On Sun, May 21, 2006 at 12:46:32PM -1000, Chan, Wilson wrote: > I tried to add it to SPAMDOPTIONS="-d -c -m5 -H -u spam" Is this correct > because after I restarted the service I still see the same error > message. :( > > /etc/init.d/spamassassin > #!/bin/sh [...] > # Set default spamd configurat

Re: Bayes not learning (autolearn=failed)

2006-05-21 Thread Sergei Gerasenko
] && $0 restart >;; > status) > status spamd > RETVAL=$? > ;; > *) > echo "Usage: $0 {start|stop|restart|status|condrestart}" > RETVAL=1 > ;; > esac > > exit $RETVAL > > > > Wilson > >

Re: Bayes not learning (autolearn=failed)

2006-05-21 Thread Magnus Holmgren
Monday 22 May 2006 00:46 skrev Chan, Wilson: > I read the man docs and I need to specify "-u username" so the question > is where do I put this? I create a username called spam and gave it full > rights to where the bayes tok files are to be located. > > I tried to add it to SPAMDOPTIONS="-d -c -m5

RE: Bayes not learning (autolearn=failed)

2006-05-21 Thread Chan, Wilson
[mailto:[EMAIL PROTECTED] Sent: Sunday, May 21, 2006 11:58 AM To: users@spamassassin.apache.org Subject: Re: Bayes not learning (autolearn=failed) On Sun, May 21, 2006 at 11:16:14AM -1000, Chan, Wilson wrote: > By default on CentOS I think it runs as root. How do you change it so > that spamd is n

Re: Bayes not learning (autolearn=failed)

2006-05-21 Thread Theo Van Dinter
On Sun, May 21, 2006 at 11:16:14AM -1000, Chan, Wilson wrote: > By default on CentOS I think it runs as root. How do you change it so > that spamd is not running as root? I assume I'd have to change a > parameter in /etc/rc.d/init.d/spamassassin? Thanks! If you read the spamd man page, it tells yo

RE: Bayes not learning (autolearn=failed)

2006-05-21 Thread Chan, Wilson
ay 21, 2006 9:17 AM To: users@spamassassin.apache.org Subject: Re: Bayes not learning (autolearn=failed) On Sun, May 21, 2006 at 08:40:58AM -1000, Chan, Wilson wrote: > My logs are showing that spamd is falling back to the nobody user. I > think this is why my bayes auto-learning is always fail

Re: Bayes not learning (autolearn=failed)

2006-05-21 Thread Theo Van Dinter
On Sun, May 21, 2006 at 08:40:58AM -1000, Chan, Wilson wrote: > My logs are showing that spamd is falling back to the nobody user. I > think this is why my bayes auto-learning is always failing. Anyone know > how I can fix this problem? Spec's below: Don't run spamc as root. Or if you're doing si

Bayes not learning (autolearn=failed)

2006-05-21 Thread Chan, Wilson
Hi, Hi! My logs are showing that spamd is falling back to the nobody user. I think this is why my bayes auto-learning is always failing. Anyone know how I can fix this problem? Spec's below: /var/log/maillog May 21 08:32:26 localhost spamd[29258]: info: setuid to root succeeded May 21 08:32:26 lo

Re: autolearn=failed

2006-05-19 Thread Matt Kettler
Dennis Clark wrote: > Using FC5, SA 3.1.0, calling SA with spampd. > > Every message that meets the autolearn threshold (spaminess>~30 > <1) results in an autolearn=failed result. Checked permissions and made > sure bayesian and whitelist were r/w for user mail. Log show

autolearn=failed

2006-05-19 Thread Dennis Clark
Using FC5, SA 3.1.0, calling SA with spampd.   Every message that meets the autolearn threshold (spaminess>~30 <1) results in an autolearn=failed result.  Checked permissions and made sure bayesian and whitelist were r/w for user mail.  Log shows locking errors on whitelist.  usi

Autolearn=failed

2006-05-18 Thread Dennis Clark
Using FC5, SA 3.1.0, calling SA with spampd.   Every message that meets the autolearn threshold (spaminess>~30 <1) results in an autolearn=failed result.  Checked permissions and made sure bayesian and whitelist were r/w for user mail.  Log shows locking errors on whitelist.  usi

autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Steven Manross
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL=0.023,BAYES_00=-2.599 autolearn=failed version=3.1.1 It seems that since upgrading to 3.11 last night, the autolearn=yes|no|failed always shows up as failed (on all messages). Did I miss something? As well, the headers added by SA (and

RE: autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Steven Manross
> > It seems that since upgrading to 3.11 last night, the > > autolearn=yes|no|failed always shows up as failed (on all messages). > > > > Did I miss something? > > Generally "Failed" means that SA somehow can't access the > bayes database to write to it. > > Have you tried sa-learn --sync an

RE: autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Steven Manross
> -Original Message- > From: Matt Kettler [mailto:[EMAIL PROTECTED] > Sent: Monday, March 13, 2006 1:35 PM > To: Steven Manross > Cc: users@spamassassin.apache.org > Subject: Re: autolearn=failed after upgrade to 3.11 > > Steven Manross wrote: > > &g

Re: autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Matt Kettler
Steven Manross wrote: > It looks like the autolearn is working now. > > Does anyone have any ideas on the "misplaced" headers? Or is that a new > de facto standard? You mean this: > As well, the headers added by SA (and me [through SA] for MsgID) are now > showing at the top of the headers from

Re: autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Matt Kettler
Steven Manross wrote: > X-Spam-Status: No, score=-2.6 required=5.0 > tests=AWL=0.023,BAYES_00=-2.599 > autolearn=failed version=3.1.1 > > It seems that since upgrading to 3.11 last night, the > autolearn=yes|no|failed always shows up as failed (on all messages). > &

RE: autolearn=failed ---- after upgrade to 3.11

2006-03-13 Thread Steven Manross
> -Original Message- > From: Steven Manross > Sent: Monday, March 13, 2006 12:46 PM > To: users@spamassassin.apache.org > Subject: autolearn=failed after upgrade to 3.11 > > X-Spam-Status: No, score=-2.6 required=5.0 > tests=AWL=0.023,BAYES_00=-2.599 >

Re: Autolearn=failed, on SA version 3.0.4

2006-01-19 Thread Matt Kettler
[EMAIL PROTECTED] wrote: > > > While referring the previous discussions regarding permissions on > Bayes DB files, I would like to know what should be the permissions > because the log files indicate > > autolearn=failed/no Well "no" merely indicates that the me

Autolearn=failed, on SA version 3.0.4

2006-01-19 Thread padma
While referring the previous discussions regarding permissions on Bayes DB files, I would like to know what should be the permissions because the log files indicate autolearn=failed/no Jan 19 14:34:57 newece spamd[93985]: logmsg: result: . 1 - RCVD_IN_BL_SPAMCOP_NET scantime=4.6,size

Re: autolearn=failed

2005-07-05 Thread Matt Kettler
Michael wrote: > When I receive spam msgs I have this line in headers autolearn=failed .I > tried to look it on wiki but I couldn't find anything. I know it that > the SA cannot gain lock on bayes database. I checked maillog file but I > couldn't find anything that was sus

RE: autolearn=failed

2005-07-05 Thread Sander Holthaus - Orange XL
File-permission issue? From: Michael [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 05, 2005 6:21 PMTo: users@spamassassin.apache.orgSubject: autolearn=failed When I receive spam msgs I have this line in headers autolearn=failed .I tried to look it on wiki but I

autolearn=failed

2005-07-05 Thread Michael
When I receive spam msgs I have this line in headers autolearn=failed .I tried to look it on wiki but I couldn't find anything. I know it that the SA cannot gain lock on bayes database. I checked  maillog file but I couldn't find anything that was suspicious. Anybody could help me

Re: Autolearn=failed when BAYES_00 is only rule hit

2005-04-01 Thread Andy Jezierski
"Jean Caron" <[EMAIL PROTECTED]> wrote on 04/01/2005 10:19:13 AM: > You're not alone Don ! hehe... > > I was waiting for replies after your first post. Now with this one, I should > be able to make some sense of this autolearn feature within my setup. > Already something is clearer (clear as

Re: Autolearn=failed when BAYES_00 is only rule hit

2005-04-01 Thread Jean Caron
YES_00 is the ONLY rule that hits I get "Autolearn=failed". Two quick questions: 1) What should I do about this, and 2) Should I worry, or just ignore it? TIA, -Don I may have found at least part of the problem, at least as far as the "autolearn=no" portion of the quest

RE: Autolearn=failed when BAYES_00 is only rule hit

2005-04-01 Thread Don Levey
. Now that the DB is usable, it's interesting > that while most ham messages produce at least one small rule hit and > a negative Bayes score that results in "Autolearn=no", when BAYES_00 > is the ONLY rule that hits I get "Autolearn=failed". > > Two quick ques

Autolearn=failed when BAYES_00 is only rule hit

2005-03-31 Thread Don Levey
ting that while most ham messages produce at least one small rule hit and a negative Bayes score that results in "Autolearn=no", when BAYES_00 is the ONLY rule that hits I get "Autolearn=failed". Two quick questions: 1) What should I do about this, and 2) Should I worry, or just ignore it? TIA, -Don