Daryl C. W. O'Shea wrote:
Hello all,
For those of you interested in SpamAssassin's sa-update, I've created
sa-update channels for all of the rules found at the SpamAssassin Rules
Emporium website (http://www.rulesemporium.com/rules.htm).
Ya stole my thunder. I just came in from running a chainsaw all day and
was beginning to work on that again. If you are interested, I'd be happy
to mirror for you.
Two things I saw, maybe you covered them, maybe you don't care.
One, I had two URL vars in my script. A URL hitting my site so I could
download rules as often as I wanted, and another URL that hit
rulesemporium. Use the wrong URL too often and you get the following
instead of a rules file,
AUTOBAN: Over 500 *.cf requests in 48 hours period - Check your CRON
CONTACT: [EMAIL PROTECTED]
So checking for updates too often can cause you to create a big pile of
channel files that will not lint. Sorry Chris, I was trying to do
laundry and code at the same time. I knew better too, which was why I
had two URLs in the script.
Two, the GPG key really only says the rules are valid from your server,
it doesn't guarantee the rules are valid SARE rules. Not sure how to
handle that, or if users/authors will even care. Possibly authors would
be willing to tar, gzip, and sign their rules if they were provided an
upload facility.
Just some thoughts. Thanks for taking the time to do this, I think it
will be welcomed once the word gets out.
DAve
Brief directions for use are as follows:
- download the channels' GPG key from:
http://daryl.dostech.ca/sa-update/sare/GPG.KEY
- import that key into sa-update's keyring:
sa-update --import GPG.KEY
- add the channels you want to a channel file (text file):
updates.spamassassin.org
70_sare_adult.cf.sare.sa-update.dostech.net
70_sare_spoof.cf.sare.sa-update.dostech.net
etc...
- run sa-update -- tell it to use your channel file and to trust the
channels' GPG key:
sa-update --channelfile your-channel-file.txt --gpgkey 856AA88A
Slightly more verbose directions are available here:
http://daryl.dostech.ca/sa-update/sare/sare-sa-update-howto.txt
Also note that you'll want to remove any of the SARE rulesets updated
above from your local site directory (often /etc/mail/spamassassin/) to
keep them from overriding the ones installed by sa-update.
Regards,
Daryl
--
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.