Re: running SA as non-root

2004-12-30 Thread David Newman
On Thu, 30 Dec 2004, Rainer Sokoll wrote: On Wed, Dec 29, 2004 at 05:52:45PM -0800, David Newman wrote: 2. Same question as (1) for startup -- what modifications are needed to /usr/local/etc/rc.d/sa-spamd.sh to launch SA as non-root user on startup? The answer is here in your question: /usr/bin/spa

User_prefs or sql prefs, faster?

2004-12-30 Thread MIKE YRABEDRA
Which is faster? Using the standard SA setup or using Mysql prefs and databases?

Re: RCVD_IN_ORBS

2004-12-30 Thread Matt Kettler
At 11:41 AM 12/30/2004, Stuart Johnston wrote: Looks like the old package used /etc/spamassassin for the standard rules. The new one uses /usr/share/spamassassin. OUCH! /etc/spamassassin should never contain the standard rules.. That's where local.cf, and add-on rules belong!

Re: RCVD_IN_ORBS

2004-12-30 Thread Stuart Johnston
Matt Kettler wrote: At 03:39 PM 12/30/2004 +0100, Rakotomandimby (R12y) Mihamina wrote: # grep RCVD_IN_ORBS *.cf 20_head_tests.cf:header RCVD_IN_ORBS eval:check_rbl('relay', 'orbs.dorkslayers.com.') 20_head_tests.cf:describe RCVD_IN_ORBS Received via a relay in orbs.dorkslayers.com 50_scores.cf:sco

Re: RCVD_IN_ORBS

2004-12-30 Thread jdow
From: "Rakotomandimby (R12y) Mihamina" <[EMAIL PROTECTED]> To: Sent: 2004 December, 30, Thursday 06:39 Subject: Re: RCVD_IN_ORBS On Thu, 2004-12-30 at 00:06 -0800, Loren Wilton wrote: > If you are on 3.0 and you installed in a clean directory it is impossible > that this is in the stock rules.

Re: RCVD_IN_ORBS

2004-12-30 Thread Matt Kettler
At 03:39 PM 12/30/2004 +0100, Rakotomandimby (R12y) Mihamina wrote: # grep RCVD_IN_ORBS *.cf 20_head_tests.cf:header RCVD_IN_ORBS eval:check_rbl('relay', 'orbs.dorkslayers.com.') 20_head_tests.cf:describe RCVD_IN_ORBS Received via a relay in orbs.dorkslayers.com 50_scores.cf:score RCVD_IN_ORBS

Re: problems matching the dollar sign ("$")

2004-12-30 Thread Rainer Sokoll
On Thu, Dec 30, 2004 at 08:36:00AM -0500, Josh Endries wrote: > body and rawbody. This is with SA 2.63 and Perl 5.005_03, which I > can't upgrade :(. You do not have to upgrade perl, you can have a 2nd install instead. In short: - grab the perl sources - configure --prefix=/usr/local/perl- - mak

Re: problems matching the dollar sign ("$")

2004-12-30 Thread Loren Wilton
I don't know why either. Here are a couple of simple rules I have that, while now a little out of date, worked really well, so I know they hit: header LW_SUB_200 Subject =~ /^Get \$200 bonus at our Casino!\s*$/ score LW_SUB_200 1 body LW_300K /\$300,000[^\d,]/ All I can think of is that anci

Re: RCVD_IN_ORBS

2004-12-30 Thread Loren Wilton
Well, on a not completely clean 2.64 installation I get [EMAIL PROTECTED] /usr/share/spamassassin]$ grep RCVD_IN_ORBS *.cf 30_text_it.cf:lang it describe RCVD_IN_ORBS Ricevuto tramite un relay presente in orbs.dorkslayers.com 30_text_sk.cf:lang sk describe RCVD_IN_ORBS Prijaté prostr

Re: RCVD_IN_ORBS

2004-12-30 Thread Rainer Sokoll
On Thu, Dec 30, 2004 at 03:39:47PM +0100, Rakotomandimby (R12y) Mihamina wrote: > # grep RCVD_IN_ORBS *.cf > 20_head_tests.cf:header RCVD_IN_ORBS eval:check_rbl('relay', > 'orbs.dorkslayers.com.') > 20_head_tests.cf:describe RCVD_IN_ORBS Received via a relay in > orbs.dorkslayers.com > 50_scores.c

problems matching the dollar sign ("$")

2004-12-30 Thread Josh Endries
Hello, A lot of spams are getting through with simple dollar amounts and links and certain words, so I'm trying to make a meta rule that hits those. The word matches work, and I have a link match working, but I'm having trouble matching the dollar amount. Nothing seems to work. I've tried... /\

Re: RCVD_IN_ORBS

2004-12-30 Thread Rakotomandimby (R12y) Mihamina
On Thu, 2004-12-30 at 00:06 -0800, Loren Wilton wrote: > If you are on 3.0 and you installed in a clean directory it is impossible > that this is in the stock rules. So it must be left over in some > site-specific rules you have somewhere. # grep RCVD_IN_ORBS *.cf 20_head_tests.cf:header RCVD_IN_

Re: Learn from another bayes db?

2004-12-30 Thread jdow
You might look at the special upgrade instructions for the 3.0.x series. The upgrade requires a database sync before importing it to 3.x. That floats the journal file into the basic database so nothing is lost when upgrading. That would logically apply to handle it. But, newly created Bayes files t

Learn from another bayes db?

2004-12-30 Thread MIKE YRABEDRA
I have a very old and established bayes db. I want to have newly created user bayes files 'learn' from it. Is there a way to do this? And if so, is it recommended I do so?

Journal?

2004-12-30 Thread MIKE YRABEDRA
For a while now (years) I have employed a single bayes db for my entire server of users. It used bayes and kept three files; bayes_seen, bayes_toks and bayes_journal. All of these files had current creation(modification) dates so I know they were being used. Thing is, I never used the rebuild fea

Re: running SA as non-root

2004-12-30 Thread Rainer Sokoll
On Wed, Dec 29, 2004 at 05:52:45PM -0800, David Newman wrote: > 2. Same question as (1) for startup -- what modifications are needed to > /usr/local/etc/rc.d/sa-spamd.sh to launch SA as non-root user on > startup? The answer is here in your question: > /usr/bin/spamd --daemonize --username sa-ru

Re: RCVD_IN_ORBS

2004-12-30 Thread Loren Wilton
If you are on 3.0 and you installed in a clean directory it is impossible that this is in the stock rules. So it must be left over in some site-specific rules you have somewhere. Running spamassassin -D should show you the paths SA is using to find the various rule files. You can then look in th

Re: RCVD_IN_ORBS

2004-12-30 Thread Rakotomandimby (R12y) Mihamina
On Thu, 2004-12-30 at 01:49 -0500, Matt Kettler wrote: > What ancient version of SA are you using? RCVD_IN_ORBS hasn't been a part > of SA in a LONG time. The last version of SA to include this test in > the ruleset at all was 2.55 (may 2003). I already heard that on this list, and I have u

Re: running SA as non-root

2004-12-30 Thread Matt Kettler
At 05:52 PM 12/29/2004 -0800, David Newman wrote: I am using this command to launch spamd: /usr/bin/spamd --daemonize --username sa-run \ --pidfile /var/run/spamd.pid It launches OK, but the output of "sa-learn -D --sync" (below) suggests that SA is still looking in /root for user_prefs. sa-learn,

Re: RCVD_IN_ORBS

2004-12-30 Thread Matt Kettler
At 06:24 AM 12/30/2004 +0100, Rakotomandimby (R12y) Mihamina wrote: RCVD_IN_ORBS RBL: Received via a relay in orbs.dorkslayers.com [66.218.66.58 listed in orbs.dorkslayers.com] [66.218.66.30 listed in orbs.dorkslayers.com] [66.94.237.47 listed in orbs.dor

Re: Whitelist spamassassin.apache.org?

2004-12-30 Thread Rob Blomquist
On Wednesday 29 December 2004 9:07 am, Rainer Sokoll wrote: > On Wed, Dec 29, 2004 at 11:34:34AM -0500, Jim Maul wrote: > > Im using sitewide SA setup so there are no user prefs. I'd really like > > a way to do this within one of the tools that im already using if at all > > possible. Does anyone

RCVD_IN_ORBS

2004-12-30 Thread Rakotomandimby (R12y) Mihamina
Hello, I would like to know if there are some other "open relay list", because I think the default behaviour of the dorkslayers server is not really good: it tells RCVD_IN_ORBS RBL: Received via a relay in orbs.dorkslayers.com [66.218.66.58 listed in orbs.dorkslayers.com]

running SA as non-root

2004-12-30 Thread David Newman
1. What is the best method for running spamd as a non-root user? I am using this command to launch spamd: /usr/bin/spamd --daemonize --username sa-run \ --pidfile /var/run/spamd.pid It launches OK, but the output of "sa-learn -D --sync" (below) suggests that SA is still looking in /root for user_pr