Switch the default "rspamd.com" rule from a hardcoded round-robin host
list to SRV-based discovery. "service=fuzzy+rspamd.com" makes the
upstream parser resolve the _fuzzy._tcp.rspamd.com SRV record, so
backends and ports are managed entirely in DNS with no client-side
config change.
The legacy fuzzy1/fuzzy2 hostnames keep resolving to every live
backend, so existing installs that pinned the old round-robin string
are unaffected. See rspamd/dns#8.
retransmits = 1;
rule "rspamd.com" {
algorithm = "mumhash";
- servers = "round-robin:fuzzy1.rspamd.com:11335,fuzzy2.rspamd.com:11335";
+ # Fuzzy backends are discovered via the _fuzzy._tcp.rspamd.com SRV record,
+ # so adding/removing a server or changing its port needs no config change.
+ # Legacy form (still valid): "round-robin:fuzzy1.rspamd.com:11335,fuzzy2.rspamd.com:11335"
+ servers = "service=fuzzy+rspamd.com";
encryption_key = "icy63itbhhni8bq15ntp5n5symuixf73s1kpjh6skaq4e7nx5fiy";
symbol = "FUZZY_UNKNOWN";
mime_types = ["*"];