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
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
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
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
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
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
> &
#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
> 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
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
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
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
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
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
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?
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
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"
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
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
>
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
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::
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
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!
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
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
>
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
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
] && $0 restart
>;;
> status)
> status spamd
> RETVAL=$?
> ;;
> *)
> echo "Usage: $0 {start|stop|restart|status|condrestart}"
> RETVAL=1
> ;;
> esac
>
> exit $RETVAL
>
>
>
> Wilson
>
>
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
[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
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
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
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
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
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
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
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
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
> > 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
> -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
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
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).
>
&
> -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
>
[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
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
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
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
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
"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
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
. 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
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
51 matches
Mail list logo