-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 24 of July 2003 20:26, Mark Martinec wrote:

> From my logs (SA 2.60):
> debug: bayes: 2816 tie-ing to DB file R/O
> /var/amavis/.spamassassin/bayes_toks debug: bayes: 2816 tie-ing to DB file
> R/O /var/amavis/.spamassassin/bayes_seen
>
> debug: auto-learn? yes, spam (19.933 > 15)
> debug: bayes: 2816 tie-ing to DB file R/W
> /var/amavis/.spamassassin/bayes_toks debug: bayes: 2816 tie-ing to DB file
> R/W /var/amavis/.spamassassin/bayes_seen
>

weird.

as stated in perldoc Mail::SpamAssassin::Conf  parameter auto_learn is on by 
default and i don't have it anywhere disabled. Nothing changes even if i set 
it to value 1.


> It seems it ties them R/W only if db needs to be updated (by auto-learn),
> otherwise it is R/O, which is wise to avoid unnecessary locking.

If i feed amavisd-new and spamassassin with the same email message, the 
spamassassin command will create bayes db, if it does not exist, amavisd-new 
will not.

I created bayes db from about  ~ 5000 messages, that were captured by 
amavisd-new with sa-learn. I've put that db into amavis sandbox, into 
.spamassassin directory. After that amavisd-new successfully ties R/O bayes 
db.

Another perl/freebsd issue (running 5.1/i386 on perl 5.8.0)?!

Brane
-----BEGIN PGP SIGNATURE-----

iD8DBQE/INaXfiC/E+t8hPcRAv9ZAJ9UfHiID4P7g///lCjCQHeTD/piSACZAVN/
6TcDwNGST9/sxgrI/CGlHd4=
=qN8X
-----END PGP SIGNATURE-----



-------------------------------------------------------
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/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to