Hi Tim, Dimitri,

Sorry to resurrect such an old thread! I'm a bit concerned with the 500 error code being downloaded into the SA_DIR.

Tim Jackson wrote:

Lint output: config: SpamAssassin failed to parse line, skipping:
<html> config: SpamAssassin failed to parse line, skipping: <head>
config: SpamAssassin failed to parse line, skipping: <title>Error 500
Internal Server Error [timj.co.uk]</title>
...

This bothers me a lot (and it looks like a generalised problem) and I am
cc'ing Chris the RDJ maintainer. Chris, how is it that a download which
has had a 500 error is managing to get saved to disk as a ruleset which
SA then tries to use? Surely any 5xx error should mean that the
downloaded page is discarded? Or did I screw something up? (a page with
the title of "Error 500" certainly *should* have been sent with a HTTP
500 code)


RDJ does include code for both curl and wget to only copy rulesets that have been "downloaded". The test for downloaded is if the server returned a 200 code or not. Error messages are sent back to the administrator if the codes are 4xx or 5xx.

Dimitri or any other RDJ users, have you continued to see this behavior with a relatively recent version of RDJ?


Chris Thielen

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to