create the bayes with sa-learn, and it will create and use awl, and read bayes no problem at all.
But if I copy in the awl, or the bayes and keep the same permissions, it will fail.
It's like it will work on it's own from scratch, but doesn't like the files from the other server.
I even tried moving the files again in a .tar to make sure they didn't get corrupted.
debug: bayes: 12494 tie-ing to DB file R/O /var/amavisd/.spamassassin/bayes_toks
Cannot open bayes_path /var/amavisd/.spamassassin/bayes R/O:
debug: Tie-ing to DB file R/W in /var/amavisd/.spamassassin/auto-whitelist
debug: unlock: 12445 unlink /var/amavisd/.spamassassin/auto-whitelist.lock
debug: open of AWL file failed: Cannot open auto_whitelist_path /var/amavisd/.spamassassin/auto-whitelist: File exists
BTW, I'm running Gentoo 1.4.
total 10032 drwxr-xr-x 4 amavisd amavisd 4096 Jul 1 10:25 . drwxr-x--- 12 amavisd amavisd 4096 Jul 1 10:27 .. -rw------- 1 amavisd amavisd 10215424 Jul 1 10:21 auto-whitelist -rw------- 1 amavisd amavisd 1 Jul 1 10:24 bayes_msgcount -rw------- 1 amavisd amavisd 12288 Jul 1 10:24 bayes_seen -rw------- 1 amavisd amavisd 12288 Jul 1 10:24 bayes_toks drw-rw---- 2 amavisd amavisd 4096 Jun 30 13:07 save drwxr-xr-x 2 amavisd amavisd 4096 Jul 1 10:20 save2 -rw-r--r-- 1 amavisd amavisd 0 Jul 1 10:21 user_prefs
Hannu Liljemark wrote:
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-x 3 amavisd amavisd 4096 Jun 30 16:48 .
drwxr-x--- 12 amavisd amavisd 4096 Jun 30 16:31 ..
-rw------- 1 root root 10215424 Jun 30 16:36 auto-whitelist
-rw------- 1 root root 315 Jun 30 16:36 bayes_msgcount
-rw------- 1 root root 32768 Jun 30 16:36 bayes_seen
-rw------- 1 root root 335872 Jun 30 16:36 bayes_toks
drw-rw---- 2 amavisd amavisd 4096 Jun 30 13:07 save
-rw-r--r-- 1 root root 0 Jun 30 16:36 user_prefs
Maybe permission problems don't say R/O: File exists, but... under which user does amavisd run? The bayes db and AWL seem to be owned by root now yet the dir and this 'save' file belong to amavisd.
(Maybe that's fine if amavisd somehow uses spamd/spamc. I haven't used the software.)
Or how about removing the files and letting amavisd slowly create the db (or mail yourself some spam to trigger bayes auto-learn or set the auto-learn limits to something bogus temporarily) so you'd see if it can create the files on it's own and what they'd look like.
Does the AWL stuff work after moving the awl db?
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk