Re: Learn Ham/Spam to more than Bayes DB

2007-10-14 Thread Magnus Anderson
Michael Parker wrote: > > Magnus Anderson wrote: >> Hi, >> >> I have a script that runs every night with sa-learn to learn new ham/spam >> messages for every user. >> I do this with running these commands >> >> /usr/bin/sa-learn --ham --

Learn Ham/Spam to more than Bayes DB

2007-10-14 Thread Magnus Anderson
Hi, I have a script that runs every night with sa-learn to learn new ham/spam messages for every user. I do this with running these commands /usr/bin/sa-learn --ham --no-sync -u {$_array['sa_user']} {$_dir['inbox']} /usr/bin/sa-learn --ham --no-sync -u {$_array['sa_user']} {$_dir['ham']} /usr/bi

Global Bayes and AWL

2007-10-13 Thread Magnus Anderson
Hi, I have read this thread, http://www.nabble.com/forum/ViewPost.jtp?post=819176&framed=y This is also what I am searching for to do. Make SpamAssassin score against both a AWL/Bayes by the user and a AWL/Bayes by the system. What I was thinking on was to make a new set of rules for SA that ch

Re: Reporting spam with Spmassassin-run instead of sa-learn

2007-07-31 Thread Magnus Anderson
Matt Kettler-3 wrote: > > Matt Kettler wrote: >> su -c "username" spamassassin --revoke... >> >> >> > Erk, that should be su "username" -c "spamassassin --revoke".. Pardon my > error. > Please read my reply to Martin Schütte earlier. -- View this message in context: http://www.nabble.com/

Re: Reporting spam with Spmassassin-run instead of sa-learn

2007-07-29 Thread Magnus Anderson
Martin Schütte wrote: > > Magnus Anderson schrieb: >> So basicly, I want to run the "spamassassin --revoke/--report" commands >> as a >> specific username. How can I do that? > > man su > > For example: su vscan -c "spamassassin --repor

Reporting spam with Spmassassin-run instead of sa-learn

2007-07-29 Thread Magnus Anderson
At the moment I run sa-learn for learning new messages as spam/ham. The problem with this is that it just reports to bayes, not razor2, pyzor, dcc or spamcop. It is stated in the spamassassin-run manual that spamassassin-run is for reporting to these places, and to use sa-learn only if I want to

Re: CGPSA + MySQL, Userprefs Problems

2006-11-12 Thread Magnus Anderson
On Sun, 12 Nov 2006 12:59:33 +0100, Magnus Anderson wrote: > Hi, > > I'm having a problem with CGPSA and MySQL Userprefs settings. > > For the record, this *was* working a few days ago when I was testing to > set it up, but somehow it stopped working suddenly. Just in tim

CGPSA + MySQL, Userprefs Problems

2006-11-12 Thread Magnus Anderson
Hi, I'm having a problem with CGPSA and MySQL Userprefs settings. For the record, this *was* working a few days ago when I was testing to set it up, but somehow it stopped working suddenly. Just in time for me to implement it into a working system. Well, my problem is that it only reacts on Glo

AWL Rule not Kicking in

2006-11-06 Thread Magnus Anderson
Hi, I have enabled AWL on my SpamAssassin configuration - local.cf # Store AWL in MySQL auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList user_awl_dsnDBI:mysql:spamassassin:localhost user_awl_sql_username spamassassin user_awl_sql_password

[Solved]

2006-10-23 Thread Magnus Anderson
I have solved my problem with this. I used CGPSA v 1.4f and the developer has completed v 1.5 that now supports MySQL DB for all the user_auto_whitelist data. --Magnus

Re: auto-whitelist and MySQL Problems

2006-10-21 Thread Magnus Anderson
Benny Pedersen wrote: > On Sat, October 21, 2006 11:54, Magnus Anderson wrote: > >> If someone knows how to solve this problem I would be very happy. > > give the users there own mysql db is one solution > > another is to define mysql db in site wide config > > w

auto-whitelist and MySQL Problems

2006-10-21 Thread Magnus Anderson
I have a problem with auto-whitelisting and MySQL. I've setted up SpamAssassin (v. 3.14) to connect to MySQL and store Bayes and AWL Data. Bayes data are stored as it should for everyone, but the AWL doesn't work properly. When I start up SA I get this in the debug logs, and it looks good. [8494

Re: AWL: Plugin doesn't register glue with MySQL

2006-08-19 Thread Magnus Anderson
My setup are this in local.cf: auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList user_awl_dsnDBI:mysql:spamassassin:localhost user_awl_sql_username spamassassin user_awl_sql_password xxx user_awl_sql_table awl

AWL: Plugin doesn't register glue with MySQL

2006-08-19 Thread Magnus Anderson
I have just migrated over from file R/W of AWL to using our MySQL server. But it seems like it misses registering to use it for uses. It still wrties a file for everyone. When I run 'spamassassin -D -t < sample-spam.txt' it works and registers a record for user root in the awl database in mysql,