Re: [AMaViS-user] Sa-learn --ham vs spamassassin -report

This is a discussion on Re: [AMaViS-user] Sa-learn --ham vs spamassassin -report within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Michael wrote: > I am working an a program that accepts spamassassin 'TELL' (learning) > reports > (see spamc/spamd, ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-03-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Sa-learn --ham vs spamassassin -report

Michael wrote:

> I am working an a program that accepts spamassassin 'TELL' (learning)
> reports
> (see spamc/spamd, and new 'spamassassin coach' for outlook and
> thunderbird)


> Sa coach sends stream to spamd with 'TELL' protocol.
> It then calls the equivalent of 'spamassassin -r' (for spam) or '-z for
> ham' or -f for forget.


> Is this sufficient for amavisd-new installations?
> Do I need to call sa-learn --ham and sa-learn --spam also?


> If I call sa-learn --ham or --spam INSTEAD OF, I lose the ability to
> report to DCC,razor,spamcop.,pyzor, etc.


> I will be releasing sa-learnd for amavisd-new users as sa coach also
> gets more stable (I can't get it to work with outlook, and even the
> thunderbird version is missing a lot of error checking)


> So, is spamassassin -r a superset of sa-learn --spam? Or do I need to
> run them both to get the local Bayesian table updated?


It would be best to ask on the SA users list.

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.

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

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.

Gary V


-------------------------------------------------------------------------
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=...057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0