On Sun, July 12, 2009 21:04, Admin wrote:
> $ sa-learn --no-sync --spam --mbox ~/mail/Spam
ls -l ~/mail/Spam
ls -l /mail/Spam
> bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O:
> tie failed:
does the dir .spamassassin exists with the same user ?
have you set
Hi there,
Any clues how I can fix the following error?
sa-learn is failing
$ sa-learn --no-sync --spam --mbox ~/mail/Spam
bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O:
tie failed:
bayes: cannot open bayes databases /home/user/.spamassassin/bayes_* R/O:
tie failed
Copying thigs across doesn't always preserve permissions.
For cp command, you would need the '-p' option. Same for scp or rcp.
rsync, would be -a option.
Most likely permissions problems. Since the error message says 'Permission
denied'
Look at permissions on the files AND the directory, and pare
Michael Scheidell wrote:
>
>
>
>> From: Hungry Snail <[EMAIL PROTECTED]>
>> Date: Tue, 12 Aug 2008 07:21:01 -0700 (PDT)
>> To:
>> Subject: R/O: tie failed: Permission denied
>>
>>
>> hi Guys,
>>
>> I have recently moved
> From: Hungry Snail <[EMAIL PROTECTED]>
> Date: Tue, 12 Aug 2008 07:21:01 -0700 (PDT)
> To:
> Subject: R/O: tie failed: Permission denied
>
>
> hi Guys,
>
> I have recently moved out mail server to new hardware.
>
> It is setup exactly the same way
: tie failed: Permission denied
Tue Aug 12 15:13:36 2008 [6247] warn: bayes: cannot open bayes databases
/etc/mail/spamassassin/spamdb/bayes_* R/O: tie failed: Permission denied
The strange thing is, it is marking emails as spam like it should be, and if
I sa-learn a message as spam it correctly
David B Funk wrote:
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
David B Funk wrote:
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
Yes. Learning is slow. If two spamd children try to learn at the same
time only one will get a lock to write to the database. The child who
doesn't get the
On Thu, Feb 22, 2007 at 03:30:24PM -0500, Daryl C. W. O'Shea wrote:
> If he enabled it, sure, it'd help reduce the frequency that this occurs.
> There's still only a single journal, though, so it's still possible
> that a spamd child process won't get a tie on it during busy periods.
The journa
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
> David B Funk wrote:
> > On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
> >
> >> Yes. Learning is slow. If two spamd children try to learn at the same
> >> time only one will get a lock to write to the database. The child who
> >> doesn't get the
David B Funk wrote:
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
John Fleming wrote:
I also see an occasional message header that includes
"autolean=unavailable" - It that what ends up in the messages where the
tie fails?? I don't get the intermittent nature of this.
Yes. Learning is slo
On Thu, 22 Feb 2007, Daryl C. W. O'Shea wrote:
> John Fleming wrote:
>
> > I also see an occasional message header that includes
> > "autolean=unavailable" - It that what ends up in the messages where the
> > tie fails?? I don't get the intermittent nature of this.
>
> Yes. Learning is slow. If
John Fleming wrote:
I also see an occasional message header that includes
"autolean=unavailable" - It that what ends up in the messages where the
tie fails?? I don't get the intermittent nature of this.
Yes. Learning is slow. If two spamd children try to learn at the same
time only one wi
David Morton wrote:
> Matt Kettler wrote:
>
> >>> Also, make sure that /var/.spamassassin has world rwx privileges.
> >>>
> >>>
> >> Doesn't this create a potential or real giant type security risk?
> > Well, regardless, the current user SA is running as has to be able to
> > read and write to
- Original Message -
From: "David Morton" <[EMAIL PROTECTED]>
To: "Jim Knuth" <[EMAIL PROTECTED]>
Cc: "John Fleming" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2007 2:03 AM
Subject: Re: tie failed
Could
Feb 21 22:26:10 Luke spamd[5590]: spamd: setuid to elizabeth succeeded
Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases
/var/.spamassassin/bayes_* R/O: tie failed: Permission denied
1) are you using bayes_path ?
2) have you set bayes_file_mode 0777 in your local.cf?
YES
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Matt Kettler wrote:
>>> Also, make sure that /var/.spamassassin has world rwx privileges.
>>>
>>>
>> Doesn't this create a potential or real giant type security risk?
> Well, regardless, the current user SA is running as has to be able to
> read
is while tailing the mail log. THANKS - John
>
>> Feb 21 22:26:10 Luke spamd[5590]: spamd: setuid to elizabeth succeeded
>> Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases
>> /var/.spamassassin/bayes_* R/O: tie failed: Permission denied
That path looks
R Lists06 wrote:
>> 1) are you using bayes_path ?
>> 2) have you set bayes_file_mode 0777 in your local.cf?
>>
>> If you use bayes_path in a multi-user environment, you *MUST* set
>> bayes_file_mode 0777 in local.cf.
>>
>> Also, make sure that /var/.spamassassin has world rwx privileges.
>>
>>
> >
> 1) are you using bayes_path ?
> 2) have you set bayes_file_mode 0777 in your local.cf?
>
> If you use bayes_path in a multi-user environment, you *MUST* set
> bayes_file_mode 0777 in local.cf.
>
> Also, make sure that /var/.spamassassin has world rwx privileges.
>
Doesn't this create a p
ucceeded
> Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases
> /var/.spamassassin/bayes_* R/O: tie failed: Permission denied
>
1) are you using bayes_path ?
2) have you set bayes_file_mode 0777 in your local.cf?
If you use bayes_path in a multi-user environment, you *MUST
spamd: setuid to elizabeth succeeded
> Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases
> /var/.spamassassin/bayes_* R/O: tie failed: Permission denied
> Feb 21 22:26:10 Luke spamd[5590]: spamd: processing message
> <[EMAIL PROTECTED]> for elizabeth:1006
> F
bayes: cannot open bayes databases
/var/.spamassassin/bayes_* R/O: tie failed: Permission denied
Feb 21 22:26:10 Luke spamd[5590]: spamd: processing message
<[EMAIL PROTECTED]> for elizabeth:1006
Feb 21 22:26:10 Luke spamd[5590]: bayes: cannot open bayes databases
/var/.spamassassin/bayes
> > 3.0.3 from cpan, compiled DB_file,... but unfortunately bayes will not
> > > function. running SA with the -D option gives:
> > >
> > > debug: bayes: 7926 tie-ing to DB file R/O
> > > /home/kmd/.spamassassin/bayes_toks
> > > Cannot open bay
> function. running SA with the -D option gives:
> >
> > debug: bayes: 7926 tie-ing to DB file R/O /home/kmd/.spamassassin/bayes_toks
> > Cannot open bayes databases /home/kmd/.spamassassin/bayes_* R/O: tie failed:
> > debug: bayes: 7926 untie-ing DB file toks
> > debug:
tore/DBM.pm line 1772.
...
--- Delimiter END -
Procmail is also complaining as shown below--which may not be surprising
given the issue above?
-- Delimiter BEGIN
Cannot open bayes databases /home/mj/.spamassassin/bayes_
ther way -ya?
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078)
inhibited further callbacks
debug: bayes: 7110 tie-ing to DB file R/O
/var/amavisd/.spamassassin/bayes_toks
Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O:
tie failed: Inappropriate file type or forma
es /var/amavisd/.spamassassin/bayes_* R/O: tie
failed: Inappropriate file type or format
debug: bayes: 7110 untie-ing DB file toks
debug: Score set 0 chosen.
debug: bayes: 7110 tie-ing to DB file R/O
/var/amavisd/.spamassassin/bayes_toks
Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R
SpamAssassin failed to parse line, skipping: auto_learn 1
debug: config: SpamAssassin failed to parse line, skipping: dcc_add_header 1
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3cb7d078)
inhibited further callbacks
debug: bayes: 7110 tie-ing to DB file R/O
/var/amavisd/.spamassas
At 12:25 AM 10/13/2004 -0700, Chris Weiss wrote:
I've tried completely deleting and re-creating the bayes databases (using
sa-learn clear followed by sa-learn on my various mailboxes), but am still
getting the errors. I also made sure I'd installed DB_file (I'd read
somewhere it was needed). Any
went well, except now I'm getting the following error:
Cannot open bayes databases /var/amavisd/.spamassassin/bayes_* R/O: tie
failed: Inappropriate file type or format
I've tried completely deleting and re-creating the bayes databases
(using sa-learn clear followed by sa-learn on my va
On Sat, Oct 02, 2004 at 09:43:31PM, Alex S Moore wrote:
> On Sat, 2004-10-02 at 21:40 -0400, Asif Iqbal wrote:
> > On Sat, Oct 02, 2004 at 03:10:56PM, Bob Proulx wrote:
> > qmailq is the owner of spamd processses and has read/write permission on
> > bayes_* files through the spam group
> >
> > (ro
spamd.
Ray Dzek
Network Operations Supervisor
Specialized Bicycle Components
-Original Message-
From: Asif Iqbal [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 02, 2004 2:02 PM
To: [EMAIL PROTECTED]
Subject: Bayes R/O tie failed with SA 3.0
Hi All
I just upgraded my SA from 2.63
On Sat, 2004-10-02 at 21:40 -0400, Asif Iqbal wrote:
> On Sat, Oct 02, 2004 at 03:10:56PM, Bob Proulx wrote:
> qmailq is the owner of spamd processses and has read/write permission on
> bayes_* files through the spam group
>
> (root)@qmail:/etc/mail/spamassassin# ls -al bayes_*
> -rw-rw-r-- 1 ro
6286c Cannot open bayes databases
> > /etc/mail/spamassassin/bayes_* R/O: tie failed: Permission denied
>
> You probably ran sa-learn as root instead of as the user that normally
> runs spamassassin. That changed the ownership of the files to root.
> Find them. Change them
pamassassin/bayes_* R/O: tie failed: Permission denied
Whichever user you had owning the bayes_* files before the upgrade has
changed. Actually, the `sa-learn --sync` probably changed the
permissions. Correct the permissions to what is appropriate for your
environment.
Alex
Asif Iqbal wrote:
> I just upgraded my SA from 2.63 to 3.0. I did the sa-learn --sync after
> the upgrade and the restarted spamd. Now I am seeing this error in the
> log
>
> @4000415f15ec35d6286c Cannot open bayes databases
> /etc/mail/spamassassin/bayes_* R/O: tie failed:
Hi All
I just upgraded my SA from 2.63 to 3.0. I did the sa-learn --sync after
the upgrade and the restarted spamd. Now I am seeing this error in the
log
@4000415f15ec35d6286c Cannot open bayes databases
/etc/mail/spamassassin/bayes_* R/O: tie failed: Permission denied
37 matches
Mail list logo