> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Gary V > Sent: Sunday, September 03, 2006 12:58 PM > To: [email protected] > Subject: Re: [AMaViS-user] Sa-learn --ham vs spamassassin -report > It would be best to ask on the SA users list. >
SA guys don't know about amavisd-new, sorta treat it like a bastard child ; > Just a test: > > sfa:~# ls -l /var/lib/amavis/.spamassassin/ > total 40 > -rwxr-x--- 1 amavis amavis 12288 2006-08-19 20:51 auto-whitelist > -rw-rw-rw- 1 amavis amavis 12 2006-08-27 12:18 bayes.mutex > -rw------- 1 amavis amavis 12288 2006-08-26 18:18 bayes_seen > -rw------- 1 amavis amavis 12288 2006-08-27 12:18 bayes_toks > -rwxr-x--- 1 amavis amavis 1487 2006-08-19 20:51 user_prefs > > sfa:~# su amavis -c 'spamassassin -r < email.txt' > [2762] warn: reporter: SpamCop message older than 2 days, not > reporting 1 message(s) examined. > Wonder what spamassassin -k would do if not 'revoke'? How to you get spamassassin to add to baysien list? > sfa:~# ls -l /var/lib/amavis/.spamassassin/ > total 40 > -rwxr-x--- 1 amavis amavis 12288 2006-08-19 20:51 auto-whitelist > -rw-rw-rw- 1 amavis amavis 12 2006-09-03 10:52 bayes.mutex > -rw------- 1 amavis amavis 12288 2006-09-03 10:51 bayes_seen > -rw------- 1 amavis amavis 12288 2006-09-03 10:51 bayes_toks > -rwxr-x--- 1 amavis amavis 1487 2006-08-19 20:51 user_prefs > Touched it, but did it reject bayes also because you previously learned it? Or spamcop rejected it? > sfa:~# su amavis -c 'sa-learn --spam < email.txt' > Learned tokens from 1 message(s) (1 message(s) examined) > > sfa:~# ls -l /var/lib/amavis/.spamassassin/ > total 52 > -rwxr-x--- 1 amavis amavis 12288 2006-08-19 20:51 auto-whitelist > -rw-rw-rw- 1 amavis amavis 15 2006-09-03 10:53 bayes.mutex > -rw------- 1 amavis amavis 12288 2006-09-03 10:53 bayes_seen > -rw------- 1 amavis amavis 24576 2006-09-03 10:53 bayes_toks > -rwxr-x--- 1 amavis amavis 1487 2006-08-19 20:51 user_prefs > > So, it appears to me no learning takes place when using > spamassassin -r, but the bayes files are accessed. What I suspected. So, I need to run both sa-learn --spam AND spamassassin -r. User options should include: 'learn from spam/ham' (sa-learn --spam/ham) 'report spam spamassassin -r' 'forget spam/ham' (which should both 'sa-learn -forget' and 'spamassassin -k (revoke)') Looking for people who want to try that sa coach and my 'sa-learnd'? Could potentially remove need for the imap version of sa-learn and answer FAQ's about 'how do I send mistakes' to amavisd-new. You need thunderbird > 1.5 on the client side, server side is perl, should run everywhere(tm). Its supposed to support outlook > 2000 but I could not get it to work on three different networks. For sa coach (designed to work with spamd http://sourceforge.net/projects/soc2006spamd/ released under apache 2.0 license. Sa-learnd, proposed to release under GLP2. (email me for a copy) setup is: install sa-coach on client, insert ip address of amavisd-new server. Install sa-learnd on amavisd-new server, start it up. To run: highlight email in outlook/thunderbird, select 'learn as spam/ham' or forget. On spamd (if you run spamd and not sa-learnd), does spamassassin -r On sa-learnd, does spamassassin -r/sa-learn --spam vs spamassassin -k/sa-learn --ham. Single threaded now, my first perl socket daemon :-). Seems to work with thurderbird version of sa-learn, I could not get outlook version to even contact target host port at all. -- Michael Scheidell, CTO 561-999-5000, ext 1131 SECNAP Network Security Corporation Keep up to date with latest information on IT security: Real time security alerts: http://www.secnap.com/news ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
