Re: Error when trying to re-use Bayes database from one server to another

2016-02-16 Thread Kris Deugau
John Hardin wrote: > On Fri, 12 Feb 2016, Kris Deugau wrote: > >> In general though, if you're operating at a scale where one server isn't >> enough to handle your SA load, you may want to start thinking about SQL >> for Bayes, which can be shared much more easily than pushing file-based >> Bayes

[Solved] Re: Error when trying to re-use Bayes database from one server to another

2016-02-14 Thread Sebastian Arcus
On 13/02/16 18:58, Bill Cole wrote: On 13 Feb 2016, at 3:49, Sebastian Arcus wrote: Thank you. The donor machine has db42, db44 and db44 packages installed, Based on the question below, I'll assume the second db44 above was a typo for db48, i.e. a Berkeley DB v4.8.x package. Tangentially:

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Sebastian Arcus
On 13/02/16 18:58, Bill Cole wrote: On 13 Feb 2016, at 3:49, Sebastian Arcus wrote: Thank you. The donor machine has db42, db44 and db44 packages installed, Based on the question below, I'll assume the second db44 above was a typo for db48, i.e. a Berkeley DB v4.8.x package. Yes - sorry, y

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Bill Cole
On 13 Feb 2016, at 3:49, Sebastian Arcus wrote: Thank you. The donor machine has db42, db44 and db44 packages installed, Based on the question below, I'll assume the second db44 above was a typo for db48, i.e. a Berkeley DB v4.8.x package. Tangentially: that's a risky mess. It's a common pr

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Reindl Harald
Am 13.02.2016 um 16:56 schrieb Antony Stone: On Saturday 13 February 2016 at 16:50:56, Reindl Harald wrote: a different company with it's own infrastructure has no business to ssh-tunneling or access *my server* in any other way directly DIFFERENT NETWORKS DIFFERENT INFRASTRUCTURES DIFFERENT

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Antony Stone
On Saturday 13 February 2016 at 16:50:56, Reindl Harald wrote: > a different company with it's own infrastructure has no business to > ssh-tunneling or access *my server* in any other way directly > > DIFFERENT NETWORKS > DIFFERENT INFRASTRUCTURES > DIFFERENT OWNERS > DIFFERENT ADMINS > > NO DIR

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Reindl Harald
Am 13.02.2016 um 16:46 schrieb Marc Perkel: On 02/13/16 07:25, Reindl Harald wrote: Am 13.02.2016 um 15:59 schrieb Marc Perkel: On 02/13/16 00:42, Reindl Harald wrote: Am 13.02.2016 um 02:56 schrieb Marc Perkel: For what it's worth - just used Redis. Redis is the only thing that's worked re

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Marc Perkel
On 02/13/16 07:25, Reindl Harald wrote: Am 13.02.2016 um 15:59 schrieb Marc Perkel: On 02/13/16 00:42, Reindl Harald wrote: Am 13.02.2016 um 02:56 schrieb Marc Perkel: For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me you can't use Redis when it

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Reindl Harald
Am 13.02.2016 um 15:59 schrieb Marc Perkel: On 02/13/16 00:42, Reindl Harald wrote: Am 13.02.2016 um 02:56 schrieb Marc Perkel: For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me you can't use Redis when it comes to different servers in different n

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Marc Perkel
On 02/13/16 00:42, Reindl Harald wrote: Am 13.02.2016 um 02:56 schrieb Marc Perkel: For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me you can't use Redis when it comes to different servers in different networks for different clients BDB works fi

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Sebastian Arcus
On 13/02/16 04:32, Bill Cole wrote: On 12 Feb 2016, at 17:34, Sebastian Arcus wrote: Thanks for that suggestion. I think we might be getting somewhere. On original machine: #file bayes_seen bayes_seen: Berkeley DB (Hash, version 9, native byte-order) # file bayes_toks bayes_toks: Berkeley DB

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Reindl Harald
Am 13.02.2016 um 02:56 schrieb Marc Perkel: For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me you can't use Redis when it comes to different servers in different networks for different clients BDB works fine and relieable, at least without autolea

Re: Error when trying to re-use Bayes database from one server to another

2016-02-13 Thread Reindl Harald
Am 13.02.2016 um 02:46 schrieb Benny Pedersen: On 12. feb. 2016 20.06.52 Marc Perkel wrote: # ls -l /var/spool/spamd/bayes/ Set bayes path without bayes why do you always give wrong advises? https://wiki.apache.org/spamassassin/SiteWideBayesSetup Note that the argument to bayes_path is

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Bill Cole
On 12 Feb 2016, at 17:34, Sebastian Arcus wrote: Thanks for that suggestion. I think we might be getting somewhere. On original machine: #file bayes_seen bayes_seen: Berkeley DB (Hash, version 9, native byte-order) # file bayes_toks bayes_toks: Berkeley DB (Hash, version 9, native byte-order)

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Marc Perkel
For what it's worth - just used Redis. Redis is the only thing that's worked reliably for me.

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Benny Pedersen
On 12. feb. 2016 20.06.52 Marc Perkel wrote: # ls -l /var/spool/spamd/bayes/ Set bayes path without bayes bayes: cannot open bayes databases /var/spool/spamd/bayes/bayes_* R/W: Remove bayes from local.cf Sent with AquaMail for Android http://www.aqua-mail.com

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 21:40, Kris Deugau wrote: Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the serve

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 21:40, Kris Deugau wrote: Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the serve

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread John Hardin
On Fri, 12 Feb 2016, Kris Deugau wrote: In general though, if you're operating at a scale where one server isn't enough to handle your SA load, you may want to start thinking about SQL for Bayes, which can be shared much more easily than pushing file-based Bayes data around. Or Redis (right?)

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 22:40 schrieb Kris Deugau: In general though, if you're operating at a scale where one server isn't enough to handle your SA load, you may want to start thinking about SQL for Bayes, which can be shared much more easily than pushing file-based Bayes data around no, that creat

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 22:36 schrieb Martin Gregorie: On Fri, 2016-02-12 at 20:58 +, Sebastian Arcus wrote: I'm on Slackware without selinux. I'm not even convinced it is a permission problem at all. If I restrict the permissions of the files on purpose, it actually reports: In that case ignor

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Kris Deugau
Sebastian Arcus wrote: > On 12/02/16 20:31, Antony Stone wrote: >> On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: >> >>> As per advice from this list, I have been re-using my bayes databases on >>> several different servers running SA. On one of the servers though, the >>> database

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 20:58 +, Sebastian Arcus wrote: > I'm on Slackware without selinux. I'm not even convinced it is a > permission problem at all. If I restrict the permissions of the files > on purpose, it actually reports: > In that case ignore my last post, which assumed it was an SElin

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Martin Gregorie
On Fri, 2016-02-12 at 15:49 -0500, Bowie Bailey wrote: > On 2/12/2016 3:45 PM, Sebastian Arcus wrote: > > On 12/02/16 20:31, Antony Stone wrote: > > > On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: > > > > > > > As per advice from this list, I have been re-using my bayes > > > > d

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 20:49, Bowie Bailey wrote: On 2/12/2016 3:45 PM, Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Bowie Bailey
On 2/12/2016 3:45 PM, Sebastian Arcus wrote: On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the d

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 20:31, Antony Stone wrote: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. Are the servers all t

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 21:31 schrieb Antony Stone: On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. Are the serv

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Antony Stone
On Friday 12 February 2016 at 17:29:23, Sebastian Arcus wrote: > As per advice from this list, I have been re-using my bayes databases on > several different servers running SA. On one of the servers though, the > database is not accepted. Are the servers all the same distro, release and version?

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 19:14, Reindl Harald wrote: Am 12.02.2016 um 20:06 schrieb Marc Perkel: Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 20:06 schrieb Marc Perkel: Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would look at the directories. see previous m

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Marc Perkel
Any chance that the parent directory structure doesn't have enough permissions? The error message says it can't access it so there's your clue. Since the files themselves seem to have good permissions I would look at the directories. On 02/12/16 08:29, Sebastian Arcus wrote: As per advice fr

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 16:59, Reindl Harald wrote: Am 12.02.2016 um 17:29 schrieb Sebastian Arcus: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several times

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
On 12/02/16 16:59, Reindl Harald wrote: Am 12.02.2016 um 17:29 schrieb Sebastian Arcus: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several times

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Reindl Harald
Am 12.02.2016 um 17:29 schrieb Sebastian Arcus: As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several times over ssh, to make sure they were not cor

Re: Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread John Hardin
On Fri, 12 Feb 2016, Sebastian Arcus wrote: # ls -l /var/spool/spamd/bayes/ total 5912 -rw-rw-rw- 1 spamd spamd 1310720 2016-02-09 08:42 bayes_seen -rw-rw-rw- 1 spamd spamd 4739072 2016-02-09 08:43 bayes_toks When I try to learn a new message on the receiving server (where I moved the bayes fi

Error when trying to re-use Bayes database from one server to another

2016-02-12 Thread Sebastian Arcus
As per advice from this list, I have been re-using my bayes databases on several different servers running SA. On one of the servers though, the database is not accepted. I re-transferred them several times over ssh, to make sure they were not corrupted. The database files are in the correct lo