Re: [SAtalk] Moving Bayes Database.

2003-07-01 Thread Mark Jenks
Found my problem. Just a FYI to everyone else. Make sure that you are running the same versions of the Berekely DB. They new one was Version 7 and the old one was V2. (1.8.5). A db_dump185, and db_load got it to the newest version. -Mark Mark Jenks wrote: Sorry about the confusion on the p

Re: [SAtalk] Moving Bayes Database.

2003-07-01 Thread Mark Jenks
Sorry about the confusion on the permissions. The ones below are the way it should be. Amavisd-new is running under chroot, and if I leave the permissions like they are below, I can create the bayes with sa-learn, and it will create and use awl, and read bayes no problem at all. But if I copy

Re: [SAtalk] Moving Bayes Database.

2003-07-01 Thread Hannu Liljemark
On Tue, Jul 01, 2003 at 05:28:00PM +0300, Mark Jenks wrote: > I deleted the bayes and let it create it's own, with no > problems. I put the files in place of the ones that it > created and it doesn't like them. I'm using the exact > same names. > > drwxr-xr-x3 amavisd amavisd 4096 Jun

Re: [SAtalk] Moving Bayes Database.

2003-07-01 Thread Mark Jenks
I deleted the bayes and let it create it's own, with no problems. I put the files in place of the ones that it created and it doesn't like them. I'm using the exact same names. Also, the box that I'm copying it from has the same versions of amavisd-new, postfix, and SA2.55. What else could it

Re: [SAtalk] Moving Bayes Database.

2003-07-01 Thread Hannu Liljemark
On Tue, Jul 01, 2003 at 12:42:00AM +0300, Mark Jenks wrote: > I just tried this and it doesn't work. No matter how I set the > permissions on the bayes files, it > won't read them. But if I teach it, it will work just fine. > > .spamassassin # /usr/bin/sa-learn --rebuild > Failed to create def

Re: [SAtalk] Moving Bayes Database.

2003-06-30 Thread Mark Jenks
I just tried this and it doesn't work. No matter how I set the permissions on the bayes files, it won't read them. But if I teach it, it will work just fine. .spamassassin # /usr/bin/sa-learn --rebuild Failed to create default user preference file /root/.spamassassin/user_prefs Cannot open baye

Re: [SAtalk] Moving Bayes Database.

2003-06-12 Thread Hannu Liljemark
On Thu, Jun 12, 2003 at 05:28:00PM +0300, Mark Jenks wrote: > How can I move the bayes database from computer to > computer without corrupting it? Copy the bayes_ files from the old computer to the new one and place them so SA finds them again. Use check_bayes_db to see how they're working and if

[SAtalk] Moving Bayes Database.

2003-06-12 Thread Mark Jenks
I built a Postfix (2.0.9)/Spamassassin(2.55) mail relay setup and it's working great. Now I'm going to build a new box to receive smtp right from the internet, so that I can start blacklisting domains using postfix. How can I move the bayes database from computer to computer without corrupting