You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Deon de Villiers - Hetzner Africa <dd...@hetzner.co.za> on 2004/07/08 16:38:45 UTC
Empty From address caught twice by header_abuse.cf
Hi
(I am just venturing into the SARE world, so am a newbie in this regard ;)
I have just installed basically all rules from rulesemporium.com - and
had wonderful results :)
Just one thing that puzzles me at this stage:
I had a FP mainly due to the following two rules being matched from
header_abuse.cf:
header FVGT_h_FROM_NONAME From =~ /\"\"\ \</
describe FVGT_h_FROM_NONAME FVGT - from has no name on purpose
score FVGT_h_FROM_NONAME 1.666
and
header L_f_Noname From =~ /""\ \</i
describe L_f_Noname Sender has blanked out name (RM)
score L_f_Noname 1.666
Can someone please explain to me why both of these would be required.
If I remove one of them I no longer have a false positive.
Regards
--
Deon de Villiers
Technical Manager
Hetzner Africa
Tel: +27 21 970 2000
Fax: +27 21 970 2001
http://www.hetzner.co.za/index.php?id=245
[Awarded Top 50 ICT Company in South Africa for the]
[period 2003/4 by the Corporate Research Foundation]
Re[2]: Empty From address caught twice by header_abuse.cf
Posted by Bob Menschel <Ro...@Menschel.net>.
Hello ddv,
Thursday, July 8, 2004, 11:36:25 AM, you wrote:
dhcz> Thanks for the reponse Loren. Glad to know I wasn't just
dhcz> missing something obvious :)
You weren't, and the quick work-around, until SARE gets our act
together, is to rescore those rules in your local.cf -- either set one
of the rules to zero, or halve both of them. I'd suggest the former.
dhcz> Can I ask what a further 2 things mean:
dhcz> - What is a 4-part ruleset?
I'm responding, since I'm the one who created the first 4-part
rulesets. I assume you're talking about 70_sare_genlsubj0.cf through
...3.cf (also header and html).
File 0 (70_sare_genlsubj0.cf, 70_sare_header0.cf, and
70_sare_html0.cf) contains those rules which hit spam and only spam
(no ham), and which hit significant spam (well, more than 10 among
several corpora). Those are rules which we feel confident every system
will benefit from (well, except that you may want to turn off some
rules in genlsubj0.cf if your business is specific enough that
everyone else's spam might be your ham).
File 1 contains rules which either hit fewer than 10 spam, or which
also hit ham. Primary qualification is that our S/O (total spam count
/ total email count) must be 0.900 or higher. Probably also good for
most sites, but not as conservative as file 0.
File 2 contains rules which should hit spam and only spam, but recent
mass-checks had no matches. Many of these are obfuscation rules.
Aggressive systems with more than sufficient resources may benefit
from these rules eventually (some will hit spam some day), but those
systems with tight resources should definitely stay away from these.
File 3 contains rules which hit lots of ham. They are scored low, and
might help push otherwise questionable spam over the SA threshold.
Very conservative systems, and those that are tight on resources,
should probably avoid these files.
dhcz> - What is the official SARE ruleset (ie. how do I tell if
dhcz> something is official or not)?
All actively maintained SARE rule set files are named 70_sare_xxxxx.cf
or something very similar. Some older files haven't yet been renamed
to this convention, but the more active files are.
You can also go to http://www.rulesemporium.com/rules.htm -- rules
listed on that page are official SARE rules files. They are named in
the box that has "redir" on top, and "highrisk" at bottom.
Those rules which are on other pages, such as the "incomplete rules",
"other rules", and "archived rules" are not official SARE rules.
Hope this helps.
Bob Menschel
Re: Empty From address caught twice by header_abuse.cf
Posted by Loren Wilton <lw...@earthlink.net>.
> Can I ask what a further 2 things mean:
> - What is a 4-part ruleset?
Look at for instance the description on the rules page labeled
70_sare_html?.cf
There are 4 separate files there making up the complete set of rules, and
the files get progressively more aggressive.
> - What is the official SARE ruleset (ie. how do I tell if something is
official
> or not)?
If its directly on the Rules page, it is an official SARE-maintained rule
set. Most of these (but not some of the older ones) begin by 70_sare_*. If
it is on the "other rules" page, then it is not an official SARE rule. This
is not to say those aren't good rules, they are. They just aren't
maintained by SARE, but by others.
If it is a rule on the "incomplete rules" page, then you should probably NOT
run it. These are rulesets that haven't been through complete testing and
cleanup yet, and could potentially have some problems.
Loren
Re: Empty From address caught twice by header_abuse.cf
Posted by dd...@hetzner.co.za.
Thanks for the reponse Loren. Glad to know I wasn't just missing something
obvious :)
Thanks also for the extra bit about utilising the rules. We are a web hosting
company so it is really difficult to decide on what suits us (before you really
think I was completely crazy - I only activated the rules on a server hosting
mail where I was able to physically keep an eye on false positives after I
added the rules - ie. a very limited and controlled environment - and I didn't
activate everything I pulled off rulesemporium) - looking good so far.
Can I ask what a further 2 things mean:
- What is a 4-part ruleset?
- What is the official SARE ruleset (ie. how do I tell if something is official
or not)?
Thanks
Deon.
Quoting Loren Wilton <lw...@earthlink.net>:
> > I had a FP mainly due to the following two rules being matched from
> > header_abuse.cf:
> >
> > header FVGT_h_FROM_NONAME From =~ /\"\"\ \</
> > describe FVGT_h_FROM_NONAME FVGT - from has no name on purpose
> > score FVGT_h_FROM_NONAME 1.666
> >
> > and
> >
> > header L_f_Noname From =~ /""\ \</i
> > describe L_f_Noname Sender has blanked out name (RM)
> > score L_f_Noname 1.666
> >
> > Can someone please explain to me why both of these would be required.
> > If I remove one of them I no longer have a false positive.
>
> Since they are seemingly the same rule, one supposes that one instance
> should do fine.
>
> The first rule appears to be from one of Fred's rulesets ("other rules we
> mirror") rather than an official SARE ruleset. I'm not sure where the
> second one comes from, and I'm too lazy to dig it out now, but it looks like
> one of Bob's rules.
>
> We are trying to clean this sort of thing up as time goes on, but we don't
> always spot them immediately, or have the time to deal with them as we will
> eventually. There are several other rules that are completely in the SARE
> rulesets that are either duplicates or near-duplicates, and will also get
> cleaned up.
>
> Loren
>
>
> BTW, I'm a little concerned by your statements of "new to SARE rules" and
> "grabbed basically all of them". Some of those rulesets you REALLY SHOULD
> read the descriptions and decide if they are appropriate for your situation
> rather than just throwing them all into the pot. Generally on the 4-part
> rulesets we tend to recommend that people start with the first two sets
> only, and only grab the others if they seem appropriate.
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Re: Empty From address caught twice by header_abuse.cf
Posted by Loren Wilton <lw...@earthlink.net>.
> I had a FP mainly due to the following two rules being matched from
> header_abuse.cf:
>
> header FVGT_h_FROM_NONAME From =~ /\"\"\ \</
> describe FVGT_h_FROM_NONAME FVGT - from has no name on purpose
> score FVGT_h_FROM_NONAME 1.666
>
> and
>
> header L_f_Noname From =~ /""\ \</i
> describe L_f_Noname Sender has blanked out name (RM)
> score L_f_Noname 1.666
>
> Can someone please explain to me why both of these would be required.
> If I remove one of them I no longer have a false positive.
Since they are seemingly the same rule, one supposes that one instance
should do fine.
The first rule appears to be from one of Fred's rulesets ("other rules we
mirror") rather than an official SARE ruleset. I'm not sure where the
second one comes from, and I'm too lazy to dig it out now, but it looks like
one of Bob's rules.
We are trying to clean this sort of thing up as time goes on, but we don't
always spot them immediately, or have the time to deal with them as we will
eventually. There are several other rules that are completely in the SARE
rulesets that are either duplicates or near-duplicates, and will also get
cleaned up.
Loren
BTW, I'm a little concerned by your statements of "new to SARE rules" and
"grabbed basically all of them". Some of those rulesets you REALLY SHOULD
read the descriptions and decide if they are appropriate for your situation
rather than just throwing them all into the pot. Generally on the 4-part
rulesets we tend to recommend that people start with the first two sets
only, and only grab the others if they seem appropriate.