Good morning. The output of sa-learn --dump magic after bayes learning is +1 nspam/nham. I tried the command several. times. I tried write the mail with Subject: viagra; body: viagra and sent it from my first account to the my second account(score 0,4). Then I used sa-learn -spam for this mail. I wrote the same mail and sent it from account one to the second. The mail gain higher score 2.4. I took this mail and used sa-learn -spam. I wrote the same mail and repeat the sending(From 1. account to the second). The score was again higher 3.4. I tried it still several times but the score didnt grow... Thats was my small experiment with scoring by bayes.
My spamd process run under root. I started sa-learn under root. BUT the database is in /root directory and the same database is in /home/spamfilter directory. Spamfilter is user which is state in master.cf. In spamassassin (local.cf) I have record for the bayes database and the path is /home/spamfilter... When I started sa-learn under root so I check time of updating database. The database under user spamfilter is correctly updated(under root isnt updated). I know it is strange and confusing ...use two user for this. I wish all function and so on ran under one user, but I dont know how start up spamd under spamfilter. I am not sure if is it the right... maybe spamd should running under root. Here is my modification from master.cf(postfix). This modification is recommended by spamassassin www pages. smtp inet n - n - - smtpd -o content_filter=spamfilter:dummy ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # ==================================================================== spamfilter unix - n n - - pipe flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter -f ${sender} -- ${recipient} Thank you for explanation how bayes works and for time which you devoted to me. -- View this message in context: http://www.nabble.com/SA-learn-%28spamassassin%29-tp24773517p24786173.html Sent from the SpamAssassin - Users mailing list archive at Nabble.com.