spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Rule works in testing, but not hitting l

Re: Rule works in testing, but not hitting live mail

From: NFN Smith <worldoff9908_at_nospam>
Date: Sat Oct 30 2010 - 20:38:19 GMT

Lawrence @ Rogers wrote:

> Are you running it against an e-mail with a known match? Using
> spamassassin -D -t sample-spam.txt and having sample-spam.txt contain
> the complete e-mail including headers?

Yes, it's a known match. I can take a full copy of a received message
(with headers, although my servers strip Received: headers of inbound
messages before they're written to mailboxes). Thus, a message that
passes through a server where the rule is included in production
configurations will show plenty of hits on other SpamAssassin rules
(including ones I've added myself), but not this particular rule. From
there, I can take the same message, and pipe through spamassassin -D -t
(using the same config file), I do get a hit on the rule.

> Are you sure the machine in question doesn't have 2 copies of SA
> installed (I have seen this before on cPanel servers, one installed via
> CPAN and the other via RPM)

Maybe not impossible, but very unlikely. This one is a Debian server,
where installation has been done from the lenny-backports repository. I
don't remember if we have any CPAN modules currently installed, but we
go to CPAN only if specific individual modules aren't available via
normal Debian repositories.

I'm going to take a look at Jon Hardin's suggestion to look at what he's
got in his sandbox.