You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jason Gauthier <jg...@lastar.com> on 2005/01/05 14:37:52 UTC
Problem with custom rule
Hey all,
Last week I was inquiring about some custom rules. I've written a
very simple rule, and put it in local.cf, but it doesn't seem to be
working.
Firstly, I'm running SA through amavisd-new, not spamd.
My version of SA is 3.0.2 and amavisd-new is 2.2.1.
Here's what I've added in local.cf:
header L_TEST From =~ jgauthier
score L_TEST -999.0
When the mail comes this is what the header "From" line looks like:
From: jgauthier@sammael.pendulus.org
I see this in my maillogs:
Jan 5 08:35:04 spamfilter amavis[8276]: (08276-07) spam_scan:
hits=1.232
tests=ALL_TRUSTED,AWL,NO_REAL_NAME,RCVD_IN_NJABL_DUL,RCVD_IN_SORBS_DUL
Jan 5 08:35:04 spamfilter amavis[8276]: (08276-07) SPAM-TAG,
<jg...@sammael.pendulus.org> -> <jg...@lastar.com>, No,
hits=1.232 tagged_above=-999 required=2 tests=ALL_TRUSTED, AWL,
NO_REAL_NAME, RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL
Am I doing something wrong, or is my understanding of how this works a
little off?
Thanks!
Re: Problem with custom rule
Posted by Rainer Sokoll <R....@intershop.de>.
On Wed, Jan 05, 2005 at 08:37:52AM -0500, Jason Gauthier wrote:
> Here's what I've added in local.cf:
>
> header L_TEST From =~ jgauthier
I think it should be
header L_TEST From =~ /jgauthier/
Rainer