Bret Miller wrote:
Theo Van Dinter wrote:
<SNIP>
Going further...
I could see SARE rules offered on many channels though some
reorganization may be required. Channels such as post25,
pre30, header,
body, etc. There are too many rules to have a channel for each but
possibly sets of popular rules could be collected together.
I could also see breaking my own local rules into individual
*.cf files.
I like the idea of moving all transient rules such as SARE and
TLS.cf(our local rules) into a common dir structure and location.
/var/lib/spamassassin/$VER/updates.sare-fraud.rulesemporium.com
/var/lib/spamassassin/$VER/updates.sare-header.rulesemporium.com
/var/lib/spamassassin/$VER/updates.tls.local
/var/lib/spamassassin/$VER/updates.someOtherRulesHouse.com
This would leave /usr/local/etc/mail/spamassassin containing only the
local site specific .pre files and local.cf which set
required options for my specific installation.
Would all this be a correct interpretation on my part?
That sounds good to me. I think the real problem with doing this to SARE
rules is the subsetting. Many of the SARE rulesets are subsetted so you
can use just the 0 set which is likely not to impact HAM at all, the 1,
2, 3, or full combined set depending on how much risk of false positives
you allow on your server.
I guess what you'd really need is a way to update all the rules without
re-writing the channel CF and PRE files. That way you could set your own
CF and PRE to include only the rules you wanted to use while still
updating the whole channel. It would be a tiny bit more overhead since
you'd have to download the entire set of rules even if you weren't using
them all, but probably the best compromise between that and having a
channel for every rule subset.
Bret
I have it working fine here, about 20 lines of /bin/sh and and I can
turn out any number of rule sets, even a channel per SARE rule.
I'm willing to publish the channels if there is interest in them. I
still believe packages or sets of popular rules would be good.
Alternatively I can create a channel file with each rule commented out
and the user can download the file, uncomment the rules they want, and
run 'sa-update --channelfile MY_FILE' and be done with it.
I still need to get a gpg sig for the channels, it's been a few years
since I did anything with gpg so there is a bit of dusting off of
braincells to do.
Any thoughts on popular sets?
No one from SARE has said a word about this yet, any problem with me
publishing SARE rules?
DAve
--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?
Maybe they forgot who made that choice possible.