mod_spam_filter: handle rtbl blocked domains#353
Merged
weiss merged 3 commits intoprocessone:masterfrom Apr 4, 2025
Merged
Conversation
e143f2e to
01dfa3a
Compare
b0df451 to
27d9efa
Compare
Member
|
Now that the PR passes the tests, it can be merged whenever you consider it stable enough. Otherwise, if you still want to make improvements, can you please rebase this branch with recent "master"? Specifically to get commit 3c10f86: the test action in this repository pulled elixir container images from docker hub, and it seems docker hub now has a pull quota... so I've updated to another container registry. |
Contributor
Author
|
Please merge it then. I’ll create extra PRs for upcoming changes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for RTBL blocked domains similar to how prosody's
mod_anti_spamdoes it, following the guide at https://xmppbl.org/dev. It subscribes to thespam_source_domainspubsub node at the givenrtbl_host(eg. use "xmppbl.org") and retrieves a list of domains. Presence and message stanzas from there are treated likeblock-strangers, means only if there's a roster subscription they are being let through.I've add the following commands: