]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Update RBL config to use lower_utf8 for domains when hashing is in place
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Thu, 6 Nov 2025 10:22:25 +0000 (11:22 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Nov 2025 10:22:25 +0000 (11:22 +0100)
conf/modules.d/rbl.conf

index a3cacb8570702c7c57a0f4c0b22bb2f941bae2a2..ec577a7d784102548e6f8997a8d2e46c7419b31b 100644 (file)
@@ -317,9 +317,9 @@ rbl {
       exclude_users = false;
       emails_domainonly = true;
       selector = {
-        from_smtp = "from('smtp'):domain";
-        from_mime = "from('mime'):domain";
-        mid = "header(Message-Id).regexp('@([^\.]+\.[^>]+)').last";
+        from_smtp = "from('smtp'):domain.lower_utf8";
+        from_mime = "from('mime'):domain.lower_utf8";
+        mid = "header(Message-Id).regexp('@([^\.]+\.[^>]+)').last.lower_utf8";
       }
       returncodes = {
         RSPAMD_URIBL = [