<?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>cPanel Admins &#187; Exim</title>
	<atom:link href="http://www.cpaneladmins.com/category/exim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpaneladmins.com</link>
	<description>Random Notes for cPanel Admins</description>
	<lastBuildDate>Wed, 08 Sep 2010 10:15:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lowest numbered MX record points to localhost</title>
		<link>http://www.cpaneladmins.com/2010/07/29/lowest-numbered-mx-record-points-to-localhost/</link>
		<comments>http://www.cpaneladmins.com/2010/07/29/lowest-numbered-mx-record-points-to-localhost/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 04:20:45 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=359</guid>
		<description><![CDATA[If you see the following in exim&#8217;s main_log: temporarily rejected RCPT : lowest numbered MX record points to local host This indicates that the domain doesn&#8217;t exist in /etc/localdomains. Edit the file with your favorite editor and ensure it&#8217;s listed there. At the same time, you&#8217;ll want to ensure it isn&#8217;t listed in /etc/remotedomains.]]></description>
			<content:encoded><![CDATA[<p>If you see the following in exim&#8217;s main_log:</p>
<p><code>temporarily rejected RCPT <name@domain.tld>: lowest numbered MX record points to local host</code></p>
<p>This indicates that the domain doesn&#8217;t exist in /etc/localdomains.  Edit the file with your favorite editor and ensure it&#8217;s listed there.</p>
<p>At the same time, you&#8217;ll want to ensure it <strong>isn&#8217;t</strong> listed in /etc/remotedomains.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/07/29/lowest-numbered-mx-record-points-to-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically Create DomainKeys Records When Creating Account</title>
		<link>http://www.cpaneladmins.com/2010/05/21/automatically-create-domainkeys-records-when-creating-account/</link>
		<comments>http://www.cpaneladmins.com/2010/05/21/automatically-create-domainkeys-records-when-creating-account/#comments</comments>
		<pubDate>Sat, 22 May 2010 05:29:20 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[domainkeys]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=311</guid>
		<description><![CDATA[Hopefully this will someday be an option in &#8220;Tweak Settings&#8221;, but in the meantime, you can add DomainKeys records to your customers DNS zones automatically by creating a &#8220;hook&#8221; which will be run after /scripts/wwwacct (the script behind &#8220;Create an Account&#8221; in WHM). You&#8217;ll want to create a file called /scripts/postwwwacct, and add the following [...]]]></description>
			<content:encoded><![CDATA[<p>Hopefully this will someday be an option in &#8220;Tweak Settings&#8221;, but in the meantime, you can add DomainKeys records to your customers DNS zones automatically by creating a &#8220;hook&#8221; which will be run after /scripts/wwwacct (the script behind &#8220;Create an Account&#8221; in WHM).</p>
<p>You&#8217;ll want to create a file called /scripts/postwwwacct, and add the following content:</p>
<p><code>my %OPTS = @ARGV;<br />
my $user = $OPTS{’user’};<br />
/usr/local/cpanel/bin/domain_keys_installer $user</code></p>
<p>You&#8217;re all set now &#8212; there&#8217;s nothing else that needs to be done.  Note that this only creates the DomainKeys records for <strong>new</strong> accounts.  If you want to create DomainKeys records for all your <strong>existing</strong> users at once, check out my other article on the topic: http://www.cpaneladmins.com/2009/12/07/install-domainkeys-and-spf-records-for-all-users/</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/05/21/automatically-create-domainkeys-records-when-creating-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding SPF records for a user via SSH</title>
		<link>http://www.cpaneladmins.com/2010/05/06/adding-spf-records-for-a-user-via-ssh/</link>
		<comments>http://www.cpaneladmins.com/2010/05/06/adding-spf-records-for-a-user-via-ssh/#comments</comments>
		<pubDate>Fri, 07 May 2010 00:18:59 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=305</guid>
		<description><![CDATA[# /usr/local/cpanel/bin/spf_installer USERNAME]]></description>
			<content:encoded><![CDATA[<p><code># /usr/local/cpanel/bin/spf_installer USERNAME</code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/05/06/adding-spf-records-for-a-user-via-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim Guide</title>
		<link>http://www.cpaneladmins.com/2010/05/03/exim-cheatshee/</link>
		<comments>http://www.cpaneladmins.com/2010/05/03/exim-cheatshee/#comments</comments>
		<pubDate>Tue, 04 May 2010 02:59:53 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=291</guid>
		<description><![CDATA[I could write up a post on exim commands, but it would take some time, and &#8220;Bradthemad&#8221; has already done it. With that, the exim cheatsheet.]]></description>
			<content:encoded><![CDATA[<p>I could write up a post on exim commands, but it would take some time, and &#8220;Bradthemad&#8221; has already done it.  With that, the <a href="http://bradthemad.org/tech/notes/exim_cheatsheet.php">exim cheatsheet</a>.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/05/03/exim-cheatshee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug in Mailman version 2.1.12.cp3</title>
		<link>http://www.cpaneladmins.com/2010/04/10/bug-in-mailman-version/</link>
		<comments>http://www.cpaneladmins.com/2010/04/10/bug-in-mailman-version/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 03:23:42 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[mailman]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=194</guid>
		<description><![CDATA[Error:Bug in Mailman version 2.1.12.cp3 We're sorry, we hit a bug! Let&#8217;s make sure that all other permissions are set properly: # ./usr/local/cpanel/3rdparty/mailman/bin/check_perms No problems found As mailman is working properly on this server, no errors were discovered, but as you&#8217;re received the error above, you&#8217;ll likely see some errors displayed.]]></description>
			<content:encoded><![CDATA[<p><strong>Error:</strong><code>Bug in Mailman version 2.1.12.cp3</p>
<p>We're sorry, we hit a bug!</code></p>
<p>Let&#8217;s make sure that all other permissions are set properly:</p>
<p><code># ./usr/local/cpanel/3rdparty/mailman/bin/check_perms<br />
No problems found</code></p>
<p>As mailman is working properly on this server, no errors were discovered, but as you&#8217;re received the error above, you&#8217;ll likely see some errors displayed.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/04/10/bug-in-mailman-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DomainKeys and SPF Record Checking</title>
		<link>http://www.cpaneladmins.com/2010/04/10/domainkeys-and-spf-check/</link>
		<comments>http://www.cpaneladmins.com/2010/04/10/domainkeys-and-spf-check/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 03:00:36 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[domainkeys]]></category>
		<category><![CDATA[spf]]></category>
		<category><![CDATA[SPF Records]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=183</guid>
		<description><![CDATA[You probably know that you can configure DomainKeys and SPF records in cPanel >> Email Authentication (if you didn&#8217;t, there you go ). If you&#8217;d like to confirm that your TXT records are working properly, here are some resources for you: SPF Record Check &#8211; via HTTP PoliteMail&#8217;s SPF Check &#8211; outputs a brief breakdown [...]]]></description>
			<content:encoded><![CDATA[<p>You probably know that you can configure DomainKeys and SPF records in cPanel >> Email Authentication (if you didn&#8217;t, there you go <img src='http://www.cpaneladmins.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).  If you&#8217;d like to confirm that your TXT records are working properly, here are some resources for you:</p>
<p><strong>SPF Record Check</strong> &#8211; via HTTP<br />
<a href="http://www.politemail.com/check-spf.aspx">PoliteMail&#8217;s SPF Check</a> &#8211; outputs a brief breakdown of your records details &#8211; the IP addresses permitted in the record, the hostname, and the mailserver name.  Then outputs the TXT record it queried.</p>
<p><a href="http://www.mxtoolbox.com/SuperTool.aspx">MXToolBox&#8217;s SuperTool</a> &#8211; Provides SPF checks, among other useful queries.</p>
<p><a href="http://www.kitterman.com/spf/validate.html">kitterman.com</a></p>
<p><strong>SPF Record Check</strong> &#8211; via email<br />
This is pretty neat &#8211; you can send an email to spf-test@openspf.org from the domain you want to test, and it will reject the message, but in that rejection message, you&#8217;ll see the results of your test:</p>
<p><code>  spf-test@openspf.org<br />
    SMTP error from remote mail server after RCPT TO:<spf-test@openspf.org>:<br />
    host mailout02.controlledmail.com [72.81.252.18]:<br />
    550 5.7.1 <spf-test@openspf.org>: Recipient address rejected:<br />
    SPF Tests: Mail-From Result="pass": Mail From="test@cpaneladmins.com" HELO name="server.cpaneladmins.com" HELO Result="none" Remote IP="12.34.56.78"</code></p>
<p><strong>DomainKeys Record Check</strong></p>
<p>http://www.mailradar.com/domainkeys/</p>
<p><strong>Other Resources:</strong><br />
<a href="http://old.openspf.org/wizard.html">OpenSPF.org&#8217;s Wizard</a> &#8211; If you want to configure SPF records manually, go here.  Note that you won&#8217;t be able to edit the records via cPanel >> Email Authentication later on, though.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2010/04/10/domainkeys-and-spf-check/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install DomainKeys and SPF Records for All Users</title>
		<link>http://www.cpaneladmins.com/2009/12/07/install-domainkeys-and-spf-records-for-all-users/</link>
		<comments>http://www.cpaneladmins.com/2009/12/07/install-domainkeys-and-spf-records-for-all-users/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 05:14:02 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[domainkeys]]></category>
		<category><![CDATA[SPF Records]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=138</guid>
		<description><![CDATA[cd /var/cpanel/users for user in * ; do /usr/local/cpanel/bin/domain_keys_installer $user ; done for user in * ; do /usr/local/cpanel/bin/spf_installer $user ; done]]></description>
			<content:encoded><![CDATA[<p><code><br />
cd /var/cpanel/users<br />
for user in * ; do /usr/local/cpanel/bin/domain_keys_installer $user ; done<br />
for user in * ; do /usr/local/cpanel/bin/spf_installer $user ; done<br />
</code></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2009/12/07/install-domainkeys-and-spf-records-for-all-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring DomainKeys from the CLI</title>
		<link>http://www.cpaneladmins.com/2009/09/28/configuring-domainkeys-from-the-cli/</link>
		<comments>http://www.cpaneladmins.com/2009/09/28/configuring-domainkeys-from-the-cli/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 19:22:11 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[domainkeys]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=70</guid>
		<description><![CDATA[/usr/local/cpanel/bin/domain_keys_installer USERNAME]]></description>
			<content:encoded><![CDATA[<pre lang=”LANGUAGE” line=”1″ file=”download.txt” colla=”+”>
/usr/local/cpanel/bin/domain_keys_installer USERNAME
</pre>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2009/09/28/configuring-domainkeys-from-the-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modify Default Mailbox Size</title>
		<link>http://www.cpaneladmins.com/2009/09/26/modify-default-mailbox-size/</link>
		<comments>http://www.cpaneladmins.com/2009/09/26/modify-default-mailbox-size/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 19:59:38 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=57</guid>
		<description><![CDATA[If using x3, edit the following file: /usr/local/cpanel/base/frontend/x3/mail/popsinclude.html and modify input type="text" name="quota" value="250" Change the value from 250 to your new default. This will modify the default quota server-wide.]]></description>
			<content:encoded><![CDATA[<p>If using x3, edit the following file:<br />
<code><br />
/usr/local/cpanel/base/frontend/x3/mail/popsinclude.html<br />
</code><br />
 and modify </p>
<p><code><br />
input type="text" name="quota" value="250"<br />
</code></p>
<p>Change the value from 250 to your new default.  This will modify the default quota server-wide.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2009/09/26/modify-default-mailbox-size/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Track down &#8220;nobody&#8221; spammers, Add Extended Logging To Exim</title>
		<link>http://www.cpaneladmins.com/2009/09/25/add-extended-logging-to-exim/</link>
		<comments>http://www.cpaneladmins.com/2009/09/25/add-extended-logging-to-exim/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:54:43 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=47</guid>
		<description><![CDATA[If you&#8217;re seeing outgoing spam from nobody@your.hostname.tld, you can track it down fairly easily. In WHM, go to Exim Configuration Editor, then select Advanced Editor. In the first field, paste in: log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re seeing outgoing spam from nobody@your.hostname.tld, you can track it down fairly easily.</p>
<p>In WHM, go to Exim Configuration Editor, then select Advanced Editor.  In the first field, paste in:</p>
<p><code><br />
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject<br />
</code></p>
<p>You will then see extended logging in /var/log/exim_mainlog.  You can simply run </p>
<p><code>grep cwd=/home /var/log/exim_mainlog</code> </p>
<p>and that will show you the path for any user that is sending email via sendmail through exim.  It won&#8217;t give you the filename, but at least you&#8217;ll have the user/folder name, and you can look through the scripts from there.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/2009/09/25/add-extended-logging-to-exim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
