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; > -----Original Message----- > From: amavis-user-bounces@lists.sourceforge.net > [mailto:amavis-user-bounces@lists.sourceforge.net] On ...


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
Michael Scheidell
 
Posts: n/a
Default Re: [AMaViS-user] Sa-learn --ham vs spamassassin -report

> -----Original Message-----
> From: amavis-user-bounces@lists.sourceforge.net
> [mailto:amavis-user-bounces@lists.sourceforge.net] On Behalf Of Gary V
> Sent: Sunday, September 03, 2006 12:58 PM
> To: amavis-user@lists.sourceforge.net
> 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=...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
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

vB 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 12:52 AM.


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