[Rspamd-Users] Potential bug, but more likely a heads up/documention and feature request (all related.)
Michelle Sullivan
michelle at isux.com
Wed Feb 4 02:02:40 UTC 2026
Ran into an issue where rspamd stopped working, and it defaulted to failing open (more on that later.)
The potential bug: timeout in the redis configuration does not timeout/affect timeout for the connection to the redis server.
We had a little snafu where the redis hostname was set to its IP rather than the local tunnel process, so connection would timeout and not receive "Connection Refused". This resulted in task timeouts being hit and defaulting to "no-action" (as soft_reject_on_timeout was set to false). Bit of playing around in our dev/staging area worked out that normal results would be returned after 145 seconds... which seems about right on a default stack. This of course is a bit of an issue, and probably should be either fixed or documented.
Second part is more a suggestion for a fix/feature request/comment:
soft_reject_on_timeout=true results in "soft reject" being returned on timeout.. which happens to be the same as greylisting...
Perhaps it would be better to have the option "action_on_timeout" so one can set it to: action_on_timeout="failed" or action_on_timeout="timeout"
best,
Michelle Sullivan
http://www.mhix.org/
If we don't find a way out of this soon, I'm gonna lose it. Lose it... It means go crazy, nuts, insane, bonzo, no longer in possession of ones faculties, three fries short of a Happy Meal, wacko!
More information about the Users
mailing list