Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded replies and known senders modules #4895

Merged
merged 171 commits into from
Jun 3, 2024
Merged

Conversation

LeftTry
Copy link
Contributor

@LeftTry LeftTry commented Mar 28, 2024

Added local and global replies sets to store verified senders.
Added functional to the known senders module to check if sender is verified.

LeftTry and others added 30 commits February 25, 2024 00:17
Made the global replies_set for verified recipients.
Made the global replies_set for verified recipients.
Made the global replies_set for verified recipients.
Made the global replies_set for verified recipients.
@vstakhov vstakhov merged commit 2a1fa7d into rspamd:master Jun 3, 2024
3 of 5 checks passed
@moisseev
Copy link
Member

moisseev commented Jun 5, 2024

After this change configdump fails if the known_senders module is enabled.

# rspamadm configdump known_senders
cannot parse known_senders options: expected { "symbol_unknown" = optional type "string", "redis_key" = optional type "string", "domains" = type "string", array of type "string", or { "upstreams" = optional type "string", or array of type "string", "data" = optional array of type "string", "selector_alias" = optional type "string", "url" = optional type "string", or array of type "string", "name" = optional type "string", "timeout" = type "number", "description" = optional type "string" }, or { "external" = equivalent to true, "method" = "body", "header", or "query", "encode" = optional "json", or "messagepack", "timeout" = 

--SNIP--

equivalent to true, "method" = "body", "header", or "query", "encode" = optional "json", or "messagepack", "timeout" = optional type "number", or type "string", "backend" = type "string" }, "username" = Username, "sentinel_password" = Sentinel password, "sentinel_watch_time" = Sentinel watch time, "max_senders" = optio
*** Section known_senders ***
domains = "https://maps.rspamd.com/freemail/free.txt.zst";
use_bloom = false;
enabled = true;
max_senders = 100000;
max_ttl = 2592000;

*** End of section known_senders ***

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants