You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Fernando S. Yépez" <fe...@gmail.com> on 2005/04/24 23:28:10 UTC

My local rules allways with score 1

Hello,

I defined some local rules inside my 'user_prefs' file. All the rules works 
great (SA catch what I find) but allways with score 1 don't matter what 
value I assign. I use SpamAssassin 3.0.2 (2004-11-16) in a Linux server with 
cPanel Pro 1.0 (RC2)

My rule:

header TO_USTED To =~ /Usted/i
score TO_USTED 2.5
describe TO_USTED Header 'To' contiene: 'Usted'

any help?


Fernando S. Yepez

Re: My local rules allways with score 1

Posted by Theo Van Dinter <fe...@kluge.net>.
On Sun, Apr 24, 2005 at 08:29:10PM -0700, jdow wrote:
> The wording implies both are needed. ("patch" and "additional patch".)
> But the strike-out text suggests the first one is deprecated.

The second patch is all you would need.  The strike-out text indeed
means the first patch was made obsolete.

-- 
Randomly Generated Tagline:
Bob Barker: "Which one of these lovely womanoids will take home atomic tiara?" 

Re: My local rules allways with score 1

Posted by jdow <jd...@earthlink.net>.
From: "Daryl C. W. O'Shea" <sp...@dostech.ca>

> Fernando S. Yépez wrote:
> > What happen if I can't add patch, what happend if I an end user? I need
to
> > wait next SA version?
> > any other solution?
> >
> > Fernando
>
> If you only want to increase the score added by your rule you could use
> additional meta rules that depend on your actual rule to increase the
> score one point at a time.
>
> Aside from that, you can either (i) try to get the patch installed, (ii)
> try to get your rules added to the global configuration if appropriate,
> or (iii) wait for the soon to be released 3.0.3 and hope that your
> system is upgraded.

One thing he can do is arrange the hack to the invocation for spamd
on his system. If somebody else runs the system there is, sadly speaking,
nothing he can do except get that somebody to hack in the patch. It is
rather easy to hack in, though. (It does not apply directly to 3.02,
though. It needs a human to perform the cut and paste correctly.)

{^_^}



Re: My local rules allways with score 1

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Fernando S. Yépez wrote:
> What happen if I can't add patch, what happend if I an end user? I need to 
> wait next SA version?
> any other solution? 
> 
> Fernando

If you only want to increase the score added by your rule you could use 
additional meta rules that depend on your actual rule to increase the 
score one point at a time.

Aside from that, you can either (i) try to get the patch installed, (ii) 
try to get your rules added to the global configuration if appropriate, 
or (iii) wait for the soon to be released 3.0.3 and hope that your 
system is upgraded.


Daryl


Re: My local rules allways with score 1

Posted by "Fernando S. Yépez" <fe...@gmail.com>.
What happen if I can't add patch, what happend if I an end user? I need to 
wait next SA version?
any other solution? 

Fernando


On 4/24/05, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> 
> jdow wrote:
> > From: "Theo Van Dinter" <fe...@kluge.net>
> >
> > ...
> >
> >
> > OK, Theo - which of the patches is needed or are both needed?
> >
> > The wording implies both are needed. ("patch" and "additional patch".)
> > But the strike-out text suggests the first one is deprecated.
> >
> > {o.o}
> 
> Theo's patch is all you need.
> 
>

Re: My local rules allways with score 1

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
jdow wrote:
> From: "Theo Van Dinter" <fe...@kluge.net>
> 
> ...
> 
> 
> OK, Theo - which of the patches is needed or are both needed?
> 
> The wording implies both are needed. ("patch" and "additional patch".)
> But the strike-out text suggests the first one is deprecated.
> 
> {o.o}

Theo's patch is all you need.


Re: My local rules allways with score 1

Posted by jdow <jd...@earthlink.net>.
From: "Theo Van Dinter" <fe...@kluge.net>

...


OK, Theo - which of the patches is needed or are both needed?

The wording implies both are needed. ("patch" and "additional patch".)
But the strike-out text suggests the first one is deprecated.

{o.o}


Re: My local rules allways with score 1

Posted by Theo Van Dinter <fe...@kluge.net>.
On Sun, Apr 24, 2005 at 06:51:45PM -0700, Loren Wilton wrote:
> Should be fixed in the next version.  There is talk of a possible 3.0.3
> release sometime next week, and if it happens I think this will be fixed in
> that verison.  If no, 3.1 shouldn't be too much longer.

FYI: This issue is covered in http://bugzilla.spamassassin.org/show_bug.cgi?id=4121

-- 
Randomly Generated Tagline:
Your mother seems really upset.  I better go have a talk with 
 her -- during the commercial.
 
 		-- Homer Simpson
 		   Simpsoncalifragilisticexpiala(annoyed grunt)ocious

Re: My local rules allways with score 1

Posted by Loren Wilton <lw...@earthlink.net>.
Should be fixed in the next version.  There is talk of a possible 3.0.3
release sometime next week, and if it happens I think this will be fixed in
that verison.  If no, 3.1 shouldn't be too much longer.

        Loren

----- Original Message ----- 
From: "jdow" <jd...@earthlink.net>
To: <us...@spamassassin.apache.org>
Sent: Sunday, April 24, 2005 3:20 PM
Subject: Re: My local rules allways with score 1


> Fernando, this is an extremely annoying (to me) bug with spamd. A Bugzilla
> report has been filed.
>
> What happens is a given instance of spamd will run correctly exactly once.
> Then it cannot manage to pick up your personal scores in spite of picking
> up your rules just fine. You can show this most graphically by cutting
> the number of spawned spamds by changing -m5 to -m1. Then when you
> restart spamd the FIRST message tested will succeed. And every fifth one
> after that will succeed, presuming you have "--max-conn-per-child=5"
> set. I can make it work OK with larger m numbers (but why) with the
> "--max-conn-per-child=5" parameter commented out. Or I simply run
> spamassassin itself. As they say with a look on the face of just
swallowing
> something vile, "Bleah!"
>
> {+,+}   Joanne
> ----- Original Message ----- 
> From: "Fernando S. Yépez" <fe...@gmail.com>
>
>
> Hello,
>
> I defined some local rules inside my 'user_prefs' file. All the rules
works
> great (SA catch what I find) but allways with score 1 don't matter what
> value I assign. I use SpamAssassin 3.0.2 (2004-11-16) in a Linux server
with
> cPanel Pro 1.0 (RC2)
>
> My rule:
>
> header TO_USTED To =~ /Usted/i
> score TO_USTED 2.5
> describe TO_USTED Header 'To' contiene: 'Usted'
>
> any help?
>
>
> Fernando S. Yepez
>


Re: My local rules allways with score 1

Posted by jdow <jd...@earthlink.net>.
Fernando, this is an extremely annoying (to me) bug with spamd. A Bugzilla
report has been filed.

What happens is a given instance of spamd will run correctly exactly once.
Then it cannot manage to pick up your personal scores in spite of picking
up your rules just fine. You can show this most graphically by cutting
the number of spawned spamds by changing -m5 to -m1. Then when you
restart spamd the FIRST message tested will succeed. And every fifth one
after that will succeed, presuming you have "--max-conn-per-child=5"
set. I can make it work OK with larger m numbers (but why) with the
"--max-conn-per-child=5" parameter commented out. Or I simply run
spamassassin itself. As they say with a look on the face of just swallowing
something vile, "Bleah!"

{+,+}   Joanne
----- Original Message ----- 
From: "Fernando S. Yépez" <fe...@gmail.com>


Hello,

I defined some local rules inside my 'user_prefs' file. All the rules works
great (SA catch what I find) but allways with score 1 don't matter what
value I assign. I use SpamAssassin 3.0.2 (2004-11-16) in a Linux server with
cPanel Pro 1.0 (RC2)

My rule:

header TO_USTED To =~ /Usted/i
score TO_USTED 2.5
describe TO_USTED Header 'To' contiene: 'Usted'

any help?


Fernando S. Yepez