<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=SURBL</id>
	<title>SURBL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.qmailtoaster.org:80/index.php?action=history&amp;feed=atom&amp;title=SURBL"/>
	<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=SURBL&amp;action=history"/>
	<updated>2026-05-01T21:28:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=SURBL&amp;diff=1344&amp;oldid=prev</id>
		<title>Ebroch at 16:13, 19 October 2024</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=SURBL&amp;diff=1344&amp;oldid=prev"/>
		<updated>2024-10-19T16:13:32Z</updated>

		<summary type="html">&lt;p&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 10:13, 19 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Configuration#SURBL|Back]]&amp;lt;br&amp;gt;&lt;/ins&gt;&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;div&gt;SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other [[RBLs]] in that they&amp;#039;re used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies.  &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;SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other [[RBLs]] in that they&amp;#039;re used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies.  &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;/table&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
	<entry>
		<id>http://wiki.qmailtoaster.org:80/index.php?title=SURBL&amp;diff=117&amp;oldid=prev</id>
		<title>Ebroch: Created page with &quot;SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other RBLs in that they&#039;re used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies.   Here&#039;s how to get emails checked against [http://www.surbl.org SURBL] via SpamAssassin with QMailToaster.  REQUIRES: current spamassa...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.qmailtoaster.org:80/index.php?title=SURBL&amp;diff=117&amp;oldid=prev"/>
		<updated>2024-03-16T16:11:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other &lt;a href=&quot;/index.php?title=RBLs&quot; title=&quot;RBLs&quot;&gt;RBLs&lt;/a&gt; in that they&amp;#039;re used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies.   Here&amp;#039;s how to get emails checked against [http://www.surbl.org SURBL] via &lt;a href=&quot;/index.php?title=SpamAssassin&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SpamAssassin (page does not exist)&quot;&gt;SpamAssassin&lt;/a&gt; with QMailToaster.  REQUIRES: current spamassa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other [[RBLs]] in that they&amp;#039;re used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies. &lt;br /&gt;
&lt;br /&gt;
Here&amp;#039;s how to get emails checked against [http://www.surbl.org SURBL] via [[SpamAssassin]] with QMailToaster.&lt;br /&gt;
&lt;br /&gt;
REQUIRES: current spamassassin-toaster and a caching DNS to be working, and perl modules Mail::SpamAssassin::Plugin::URIDNSBL and Net::DNS::Resolver&lt;br /&gt;
----------&lt;br /&gt;
As an admin, do yourself a favor and subscribe to a spamassassin list.  This will help you keep up with developments in the battle against spam.  Subscribe to at least to the digest version.  Visit: http://wiki.apache.org/spamassassin/MailingLists&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
1)  Edit &amp;#039;&amp;#039;&amp;#039;/var/qmail/supervise/spamd/run&amp;#039;&amp;#039;&amp;#039; to be:&lt;br /&gt;
    exec /usr/bin/spamd -x -u vpopmail -s stderr 2&amp;gt;&amp;amp;1&lt;br /&gt;
(remove the -L switch, which forces only local rules to be used)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2)  As root&lt;br /&gt;
&lt;br /&gt;
    # cd /etc/mail/spamassassin&lt;br /&gt;
    # echo &amp;#039;loadplugin Mail::SpamAssassin::Plugin::URIDNSBL&amp;#039; &amp;gt; local.pre&lt;br /&gt;
&lt;br /&gt;
Note: 1) spamassassin reads all pre files in this directory on startup&lt;br /&gt;
      2) by creating a local.pre, you prevent a future upgrade of SA from&lt;br /&gt;
         rpmsave&amp;#039;ing (and thus disabling) your customizations without you&lt;br /&gt;
         realizing it.  some plugins that people frequently add---razor,&lt;br /&gt;
         pyzor, fuzzyocr (and so on)---are also affected, unless you do it in&lt;br /&gt;
         a local.pre or otherwise named your-name-choice.pre file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Test by running&lt;br /&gt;
    # sudo -u vpopmail -H spamassassin -D --lint&lt;br /&gt;
&lt;br /&gt;
Note, it is ok to get:&lt;br /&gt;
    dbg: diag: module not installed: Net::Ident (&amp;#039;require&amp;#039; failed)&lt;br /&gt;
    dbg: diag: module not installed: IO::Socket::INET6 (&amp;#039;require&amp;#039; failed)&lt;br /&gt;
    dbg: diag: module not installed: Razor2::Client::Agent (&amp;#039;require&amp;#039; failed)&lt;br /&gt;
&lt;br /&gt;
No other errors? You are good to go.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the test fails with &amp;#039;&amp;#039;&amp;#039;Net::DNS::Resolver is not installed&amp;#039;&amp;#039;&amp;#039;, install it by doing:&lt;br /&gt;
    # yum install perl-Net-DNS.i386&lt;br /&gt;
&lt;br /&gt;
Do the same for any other uninstalled modules, then repeat test above and fix until there are no warnings.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4)  Restart the spamd daemon. You might want to use Jake&amp;#039;s [http://v2gnu.com/qmail/spamd.html spamd script] to do this. Otherwise, simply:&lt;br /&gt;
    # qmailctl stop&lt;br /&gt;
    # qmailctl start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Send yourself an email from outside your domain with http://surbl-org-permanent-test-point.com in the body to make sure the rule is operating properly. It should be tagged as spam big time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rules and scoring are stored at /usr/share/spamassassin/. 25_uribl.cf contains the SURBL rules, and 50_scores.cf contains scores for all rules.&lt;br /&gt;
&lt;br /&gt;
Sit back and watch those spam scores rise and get rejected. :)&lt;/div&gt;</summary>
		<author><name>Ebroch</name></author>
	</entry>
</feed>