--=-i9/xmpd+ytdVDRG/cI1l
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2007-08-02 at 12:25 -0600, Reg Clemens wrote:
> I am getting the following error message from my (daily) update of SpamAs=

sassin
> Rules
>=20
> ---
>=20
> Subject: RulesDuJour/deneb.dwf.com: 404 errors
>=20
>
>=20
> The following rules had errors:
> SARE 70_sare_bayes_poison_nxm.cf Ruleset had an unknown error:
> curl exit code: 52
> curl: (52) Empty reply from server
> 000
>=20
> ---
>=20
> Other than blowing everything away and starting again Im not sure how to
> clear this up.


actually, that is the best policy. RulesDuJour has been supplanted by
sa-update.

> Can one of you experts give me a clue.


Not an expert, but I did create an RPM will all of the pieces so that I
would not have to re-create this every time. I have a script that runs
from cron once a day that calls sa-update. If successful, it runs
sa-compile, then reloads amavisd (and flushes postfix, since amavisd is
messy when it reloads... Probably need to code a "graceful" shutdown
for amavisd at some point.)

To pick up all of the channels, I created a channel file, like so:
[mcdonalddj@sa ~]$ sudo cat /etc/sysconfig/sa-update-channels
updates.spamassassin.org
70_sare_evilnum0.cf.sare.sa-update.dostech.net
bogus-virus-warnings.cf.sare.sa-update.dostech.net
70_sare_adult.cf.sare.sa-update.dostech.net
70_sare_random.cf.sare.sa-update.dostech.net
70_sare_header0.cf.sare.sa-update.dostech.net
70_sare_genlsubj0.cf.sare.sa-update.dostech.net
99_sare_fraud_post25x.cf.sare.sa-update.dostech.net
70_sare_html0.cf.sare.sa-update.dostech.net
70_sare_html1.cf.sare.sa-update.dostech.net
70_sare_uri0.cf.sare.sa-update.dostech.net
70_sare_specific.cf.sare.sa-update.dostech.net
70_sare_obfu0.cf.sare.sa-update.dostech.net
70_sare_unsub.cf.sare.sa-update.dostech.net
70_sare_stocks.cf.sare.sa-update.dostech.net

So that gpg works, I imported the public key from dostech.net and
referenced it in an gpgkeyfile:

[mcdonalddj@sa ~]$ sudo cat /etc/sysconfig/sa-update-keys =20
5244EC45
856AA88A

the actual update command is
sa-update --channelfile /etc/sysconfig/sa-update-channels
--gpgkeyfile /etc/sysconfig/sa-update-keys

once set up, this has much less impact than rulesdujour had.

>=20

--=20
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
Austin Energy
http://www.austinenergy.com

--=-i9/xmpd+ytdVDRG/cI1l
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGsiitLxmhOiLop2oRAnLyAJ4rJXp8jUGdcoMQgciJAV EbY2djSQCbBr5m
z767xFlyHzOlaD03gUG2Ei4=
=v1Qu
-----END PGP SIGNATURE-----

--=-i9/xmpd+ytdVDRG/cI1l--