<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[SpamAssassin rule &#96;RCVD_IN_VALIDITY_CERTIFIED&#96; related queries are failing, causing them to trigger on every message.]]></title><description><![CDATA[<p dir="auto">I've been noticing the past week or so that these seem to be included on every single email:</p>
<p dir="auto"><code>RCVD_IN_VALIDITY_CERTIFIED RBL: Sender in Validity Certification - *      Contact certification@validity.com *      [Excessive Number of Queries | &lt;https://knowledge.validity.com/hc/en-us/articles/20961730681243&gt;]</code></p>
<p dir="auto">I get that for the following three built-in SpamAssassin rules:</p>
<ul>
<li>RCVD_IN_VALIDITY_CERTIFIED</li>
<li>RCVD_IN_VALIDITY_RPBL</li>
<li>RCVD_IN_VALIDITY_SAFE</li>
</ul>
<p dir="auto">I was looking at <a href="https://knowledge.validity.com/s/articles/Accessing-Validity-reputation-data-through-DNS?language=en_US" target="_blank" rel="noopener noreferrer nofollow ugc">https://knowledge.validity.com/s/articles/Accessing-Validity-reputation-data-through-DNS?language=en_US</a> and it looks like they say the following for when these errors are seen:</p>
<blockquote>
<p dir="auto">I get a 127.255.255.255 response on all my queries to Validity reputation data. What does this mean?</p>
<p dir="auto">127.255.255.255 | Excessive Number of Queries</p>
<p dir="auto">This query response code indicates that you are querying Validity reputation data via a DNS resolver / IP address that is unregistered or making an excessive number of queries. Consequently, the query is blocked, and it will return no reputation data.</p>
<p dir="auto">To avoid excessive queries, Validity recommends avoiding public DNS resolvers. Instead, run a local caching, non-forwarding DNS server as the system resolver on your mail server.</p>
</blockquote>
<p dir="auto">I only recently noticed this, it definitely wasn't present when I was making all my SpamAssassin rule tweaks last month, so this is something new. I did find this though from the same KB article:</p>
<blockquote>
<p dir="auto">Validity will allow up to 10,000 requests to anonymous users over a 30-day period. If you require the ability to query in larger volumes then a contractual agreement is needed.</p>
</blockquote>
<p dir="auto">This makes me think that if the email server goes over 10,000 queries in a month, then it's triggered. So I suppose this means I've reached over 10,000 queries in a 30 day period. Since this is built-in to SpamAssassin, I've temporarily disabled them by 0.0 otherwise the scores all get triggered because of the "too many queries" issue, which is odd behaviour but it at least will no longer distort the totals tagged to each message.</p>
<p dir="auto">Perhaps this can be avoided by using a local cache as it suggests? Since it's a built-in rule to SpamAssassin, I'm hoping maybe we can have the Cloudron DNS server be a local cache perhaps, if that's how that works.</p>
]]></description><link>https://forum.cloudron.io/topic/13751/spamassassin-rule-rcvd_in_validity_certified-related-queries-are-failing-causing-them-to-trigger-on-every-message.</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 18:27:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13751.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 May 2025 04:24:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SpamAssassin rule &#96;RCVD_IN_VALIDITY_CERTIFIED&#96; related queries are failing, causing them to trigger on every message. on Fri, 09 May 2025 15:19:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Oh that is interesting, I didn’t realize we could customize the DNS server. This is helpful. Thanks so much! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/106874</link><guid isPermaLink="true">https://forum.cloudron.io/post/106874</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Fri, 09 May 2025 15:19:27 GMT</pubDate></item><item><title><![CDATA[Reply to SpamAssassin rule &#96;RCVD_IN_VALIDITY_CERTIFIED&#96; related queries are failing, causing them to trigger on every message. on Fri, 09 May 2025 15:10:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> right, what I mean is that disabling the rule by setting to 0 for the <a href="http://validity.com" target="_blank" rel="noopener noreferrer nofollow ugc">validity.com</a> rule is the correct approach .</p>
<p dir="auto">As for caching, you can experiment with custom configs for unbound - <a href="https://docs.cloudron.io/networking/#unbound" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/networking/#unbound</a> . The default Cloudron config  uses cache-max-negative-ttl as 30 and cache-max-ttl as 300 . If you change these, it will have side effects on the DNS propagation checks at app installation time. Maybe unbound has a way to have low ttl for your own domains but not the rest, not sure.</p>
]]></description><link>https://forum.cloudron.io/post/106872</link><guid isPermaLink="true">https://forum.cloudron.io/post/106872</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 09 May 2025 15:10:00 GMT</pubDate></item><item><title><![CDATA[Reply to SpamAssassin rule &#96;RCVD_IN_VALIDITY_CERTIFIED&#96; related queries are failing, causing them to trigger on every message. on Fri, 09 May 2025 14:55:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> It’s a built-in SpamAssassin rule set, I don’t think there’s a way to just “not use their servers” unfortunately because they’re built-in. The annoying thing is it litters all the matched spam rules for each incoming message since after the 10,000 it seems to trigger all the Validation rules on every message due to the query failure.</p>
<p dir="auto">The best I have found so far is setting the scores to 0 so that they’re at least non-impacting when triggered.</p>
<p dir="auto">I wonder if it’d be helpful to expose the caching settings of the DNS servers so we can adjust to our own requirements? Or if there’s a way we can start locally downloading the lists? I think SpamHaus recommends something similar too for any servers with a high enough query count. Maybe some people might be hitting these limitations as Cloudron grows, and we may need to think of how to handle that.</p>
<p dir="auto">I will see if there’s a way to force SpamAssassin to no longer even trigger those rules at all, that might help too for those who are hovering over the 10,000 messages a month, but I’m not sure if it’d be possible through what’s exposed to us in Cloudron yet. I’ll look into that. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=16ee7d1409f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/106870</link><guid isPermaLink="true">https://forum.cloudron.io/post/106870</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Fri, 09 May 2025 14:55:02 GMT</pubDate></item><item><title><![CDATA[Reply to SpamAssassin rule &#96;RCVD_IN_VALIDITY_CERTIFIED&#96; related queries are failing, causing them to trigger on every message. on Fri, 09 May 2025 10:46:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> the mail container already uses <code>unbound</code> which is a local caching, non forwarding DNS server. However, the caching is intentionally low so that we can "fresh" results for latest DNS values etc. I don't think there is an easy fix for this. I suggest simply not using their servers .</p>
<p dir="auto">There's a number of reports of the same issue on the web and some posts even saying validity has gone fully paid (<a href="https://lists.apache.org/thread/m4s61n1h7glpjt9nngm3lch9nht026zc" target="_blank" rel="noopener noreferrer nofollow ugc">https://lists.apache.org/thread/m4s61n1h7glpjt9nngm3lch9nht026zc</a>). Some bug reports - <a href="https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8278" target="_blank" rel="noopener noreferrer nofollow ugc">https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8278</a> and <a href="https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8244" target="_blank" rel="noopener noreferrer nofollow ugc">https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8244</a> . So, I think disabling the rule by setting it to 0 is the correct approach .</p>
]]></description><link>https://forum.cloudron.io/post/106850</link><guid isPermaLink="true">https://forum.cloudron.io/post/106850</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 09 May 2025 10:46:44 GMT</pubDate></item></channel></rss>