Hi Ernie,

While rebuilding the SA server a few months ago, I had to put back together a puzzle with missing pieces and only part of the box top picture to go by. :)

Based on the previous server's DNS zone file, I thought that the 3.4.0 version of sa-update would support CNAMEs but I guess it doesn't. I have set the DNS record you mentioned below to be a native TXT record.

Can you please run that sa-update command you have below again and see if it's happier now? Please let me know the outcome so I can adjust the script on the server that manages those sa-update DNS records.

Dave

On 06/29/2017 12:36 PM, Ernie Dunbar wrote:
Hi everyone. I've discovered a new bug in sa-update after I noticed some blatant porn spam in my inbox today.

Manually running sa-update resulted in the following output:

http: GET http://www.sa-update.pccc.com/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> <hr> <address>Apache/2.2.22 (Unix) Server at www.sa-update.pccc.com Port 80</address> </body></html> http: GET http://sa-update.space-pro.be/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> <hr> <address>Apache Server at sa-update.space-pro.be Port 80</address> </body></html> http: GET http://sa-update.ena.com/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> </body></html> http: GET http://sa-update.secnap.net/3.tar.gz request failed: 404 Not Found: <html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/1.6.2</center> </body> </html> http: GET http://sa-update.dnswl.org/3.tar.gz request failed: 404 Not Found: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /3.tar.gz was not found on this server.</p> </body></html>
channel: could not find working mirror, channel failed

The problem becomes evident when I run sa-update like this:

$ sudo sa-update --checkonly -v -D

and I see output that includes this line:

Jun 29 10:02:28.372 [8655] dbg: dns: 0.4.3.updates.spamassassin.org => 3.4 1799552, parsed as 3

I'm not sure where the bug exists - either in the sa-update script, or more likely, in the DNS record for 0.4.3.updates.spamassassin.org that states the Spamassassin version number before the update version number, ensuring that the sa-update script incorrectly parses the output.

I was successfully able to manually download the correct file at the mirror by going to http://sa-update.ena.com/1799552.tar.gz

Please fix this issue. Thanks in advance.


--
Dave

Reply via email to