-------- Original Message --------
From: Evan Platt
To: spamassassin-users@incubator.apache.org
Subject: Re: A Central 'Rules' site?
Date: 20:19

Do you or anyone else have a more *doze friendly script? I have wget, cron and perl, so a lot of the other stuff in the rdj isn't needed - chmod, etc. Maybe a simple batch file that wget's the files?

Yes, in case you are using Win2k(3) or XP. Create a .bat, name it as you like and put the following in (watch line breaks):

::--batch start--

@echo off
for /F "eol=;" %%i in (saupdate.lst) do wget.exe -N --tries=2 %%i -P <your rules dir>

::--batch end--

Then create a file in the same dir as the .bat with all url's of files you like to update like:

http://www.rulesemporium.com/rules/70_sare_header0.cf
http://www.rulesemporium.com/rules/70_sare_header1.cf
http://www.rulesemporium.com/rules/70_sare_header2.cf
....

and name it saupdate.lst or change the name in the example line as well. That's it.

Regards, Nico

--
+-------------------------------------------+
- Mailto: [EMAIL PROTECTED]
- No HTML mails please
+-------------------------------------------+

Reply via email to