spamassassin-users October 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: Latest Version Query

Re: Latest Version Query

From: Clayton Keller <inetadmin_at_nospam>
Date: Thu Oct 21 2010 - 21:01:09 GMT
To: users@spamassassin.apache.org

On 10/21/2010 3:43 PM, John Hardin wrote:
> On Thu, 21 Oct 2010, Clayton Keller wrote:
>
>> Is there an available/preferred method to query for the most recent
>> released version of SpamAssassin?
>>
>> I know there exists TXT records to for each version to maintain
>> sa-update based rules (i.e. 1.3.3.updates.spamassassin.org). But does
>> something exist to query and indicate that the current version is, for
>> example 3.3.1?
>>
>> Rather than say scraping the "Released version" line from the
>> Downloads page, I was looking for a DNS related query to easily
>> provide the most current stable release.
>
> As an update package is released with each base code release, you can
> iterate the TXT records until you get no response. If you already have
> SA installed and you want to see if a newer version is available, that's
> three queries: current.current.current+1, current.current+1.0, and
> current+1.0.0
>
Thanks for the reply John.

That's kind of the direction I was beginning to go myself with what's
available at the present time.

Would there be interest in adding a TXT record which would respond with
the most current version, the most current sa-update response for that
version, etc.? I was thinking of something similar to ClamAV's
current.cvd.clamav.net TXT entry.