<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pmg.proxmox.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=URIBL_Datafeed_over_DNS</id>
	<title>URIBL Datafeed over DNS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pmg.proxmox.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=URIBL_Datafeed_over_DNS"/>
	<link rel="alternate" type="text/html" href="https://pmg.proxmox.com/mediawiki/index.php?title=URIBL_Datafeed_over_DNS&amp;action=history"/>
	<updated>2026-04-27T16:10:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pmg.proxmox.com/mediawiki/index.php?title=URIBL_Datafeed_over_DNS&amp;diff=57&amp;oldid=prev</id>
		<title>Stoiko Ivanov: /* Introduction */</title>
		<link rel="alternate" type="text/html" href="https://pmg.proxmox.com/mediawiki/index.php?title=URIBL_Datafeed_over_DNS&amp;diff=57&amp;oldid=prev"/>
		<updated>2020-09-10T07:29:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Introduction&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:29, 10 September 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Usually there is a limit on the number of queries you can run against their service, before you get blocked.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Usually there is a limit on the number of queries you can run against their service, before you get blocked.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The very effective DNSBL [http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;urbil&lt;/del&gt;.com uribl] indicates that you have reached the rate-limit by creating SpamAssassin hits on &amp;lt;code&amp;gt;URIBL_BLOCKED&amp;lt;/code&amp;gt;, which show up in your mail logs.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The very effective DNSBL [http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;uribl&lt;/ins&gt;.com uribl] indicates that you have reached the rate-limit by creating SpamAssassin hits on &amp;lt;code&amp;gt;URIBL_BLOCKED&amp;lt;/code&amp;gt;, which show up in your mail logs.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Reaching the limit means your Proxmox Mail Gateway will not get correct answers from uribl, which reduces the spamdetection accuracy dramatically.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Reaching the limit means your Proxmox Mail Gateway will not get correct answers from uribl, which reduces the spamdetection accuracy dramatically.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key pmg_wiki:diff:1.41:old-46:rev-57:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Stoiko Ivanov</name></author>
	</entry>
	<entry>
		<id>https://pmg.proxmox.com/mediawiki/index.php?title=URIBL_Datafeed_over_DNS&amp;diff=46&amp;oldid=prev</id>
		<title>Martin: page created</title>
		<link rel="alternate" type="text/html" href="https://pmg.proxmox.com/mediawiki/index.php?title=URIBL_Datafeed_over_DNS&amp;diff=46&amp;oldid=prev"/>
		<updated>2020-06-03T11:22:45Z</updated>

		<summary type="html">&lt;p&gt;page created&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Certain DNSBLs are run as a &amp;quot;free for most&amp;quot; model, meaning that most users can use their service without payment.&lt;br /&gt;
&lt;br /&gt;
Usually there is a limit on the number of queries you can run against their service, before you get blocked.&lt;br /&gt;
&lt;br /&gt;
The very effective DNSBL [http://urbil.com uribl] indicates that you have reached the rate-limit by creating SpamAssassin hits on &amp;lt;code&amp;gt;URIBL_BLOCKED&amp;lt;/code&amp;gt;, which show up in your mail logs.&lt;br /&gt;
&lt;br /&gt;
Reaching the limit means your Proxmox Mail Gateway will not get correct answers from uribl, which reduces the spamdetection accuracy dramatically.&lt;br /&gt;
&lt;br /&gt;
The first mitigation you should consider is making sure that you have a working and correct DNS setup for your Proxmox Mail Gateway, for example by&lt;br /&gt;
installing a [https://pmg.proxmox.com/wiki/index.php/DNS_server_on_Proxmox_Mail_Gateway dedicated recursive DNS server].&lt;br /&gt;
&lt;br /&gt;
Should you still reach the query limit, you should consider subscribing to a dedicated [http://uribl.com/datafeed.shtml datafeed via DNS], which &lt;br /&gt;
removes the query limit for you, and is priced based on your number of queries.&lt;br /&gt;
&lt;br /&gt;
Once you have subscribed you will receive an email with detailed instructions, which should give you a good overview of the features offered&lt;br /&gt;
by the datafeed service.&lt;br /&gt;
&lt;br /&gt;
This HOWTO provides the necessary steps to integrate your custom DNS datafeed in your Promox Mail Gateway installation, based off the&lt;br /&gt;
[http://uribl.com/datafeed_dns.txt configuration howto from uribl.com].&lt;br /&gt;
&lt;br /&gt;
Depending on whether you have a dedicated DNS server used by your Proxmox Mail Gateway or not you can follow two&lt;br /&gt;
ways to use your custom datafeed.&lt;br /&gt;
&lt;br /&gt;
== Configuration with a dedicated DNS Server ==&lt;br /&gt;
If you have one or two dedicated IP Networks under your control, where your DNS Servers are located, you can simply&lt;br /&gt;
[https://admin.uribl.com/?section=lookup;method=dologin login to uribl] and add those 2 networks as registered with your datafeed.&lt;br /&gt;
&lt;br /&gt;
Your DNS requests will come from one of the whitelisted IPs and will not be blocked due to ratelimiting&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039; This method is only applicable if you run a recursive DNS server, where you know who is allowed to ask queries there.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Do not whitelist shared DNS servers provided by your ISP, or globally (8.8.8.8, 9.9.9.9, 1.1.1.1) - since else all requests&lt;br /&gt;
being relayed via those IPs will be billed to your account.&lt;br /&gt;
&lt;br /&gt;
== Configuration by adapting SpamAssassin Configuration ==&lt;br /&gt;
&lt;br /&gt;
If your setup needs to use a shared DNS server and you cannot control who can use it for URIBL queries you will have&lt;br /&gt;
to configure SpamAssassin within your Proxmox Mail Gateway to use the custom query host provided with your datafeed.&lt;br /&gt;
&lt;br /&gt;
The correct way to change the [https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_custom_spamassassin_configuration SpamAssassin configuration in a Proxmox Mail Gateway installation] is by using the &lt;br /&gt;
[https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine templating system].&lt;br /&gt;
&lt;br /&gt;
Just add the adapted example configuration provided by uribl to your &amp;lt;code&amp;gt;/etc/mail/spamassassin/custom.cf&amp;lt;/code&amp;gt; - this will also ensure that it gets synchronized to all nodes, if you have a clustered setup.&lt;br /&gt;
&lt;br /&gt;
Make sure to replace &amp;lt;code&amp;gt;_CUSTID&amp;lt;/code&amp;gt; by your custom datafeed id, which you received in the mail from uribl.com&lt;br /&gt;
&lt;br /&gt;
The following minimal config enables your custom datafeed for the regular DNSBLs (URIBL_BLACK, URIBL_GREY, URIBL_RED):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
urirhssub       URIBL_BLOCKED     _CUSTID.df.uribl.com.        A   1&lt;br /&gt;
urirhssub       URIBL_BLACK       _CUSTID.df.uribl.com.        A   2&lt;br /&gt;
urirhssub       URIBL_GREY        _CUSTID.df.uribl.com.        A   4&lt;br /&gt;
urirhssub       URIBL_RED         _CUSTID.df.uribl.com.        A   8&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As suggested in the uribl guide you can check the workings by running: &amp;lt;code&amp;gt; echo -e &amp;quot;Subject: test\n\nhttp://uribl.asia\n\n&amp;quot; | spamassassin -D 2&amp;gt;&amp;amp;1 | grep URIBL_BLACK&amp;lt;/code&amp;gt;&lt;br /&gt;
Your custom datafeed id should be present in the output.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Should you need further help, consider getting a [https://www.proxmox.com/en/proxmox-mail-gateway/pricing enterprise support subscription]&lt;/div&gt;</summary>
		<author><name>Martin</name></author>
	</entry>
</feed>