<?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; Mail</title>
	<atom:link href="http://www.cpaneladmins.com/category/mail/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>Reinstall Mailman</title>
		<link>http://www.cpaneladmins.com/2010/07/29/reinstall-mailman/</link>
		<comments>http://www.cpaneladmins.com/2010/07/29/reinstall-mailman/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 01:54:42 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[reinstall]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=345</guid>
		<description><![CDATA[If you run into an issue where you need to reinstall Mailman, you can do so with the following: # /usr/local/cpanel/bin/mailman-install --force]]></description>
			<content:encoded><![CDATA[<p>If you run into an issue where you need to reinstall Mailman, you can do so with the following:</p>
<p><code># /usr/local/cpanel/bin/mailman-install --force</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/07/29/reinstall-mailman/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fatal! Write Failure to /etc/valiases</title>
		<link>http://www.cpaneladmins.com/2010/05/03/fatal-write-failure-to-etcvaliases/</link>
		<comments>http://www.cpaneladmins.com/2010/05/03/fatal-write-failure-to-etcvaliases/#comments</comments>
		<pubDate>Tue, 04 May 2010 03:02:34 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=293</guid>
		<description><![CDATA[Fatal! Write Failure: /etc/valiases/yourdomain.tld. Ignore any messages of success this can only result in failure! First, verify that your domain exists (as a file) in /etc/valiases, and that it has &#8220;username:mail&#8221; permissions. # touch /etc/valiases/yourdomain.tld # chown username:mail /etc/valiases/yourdomain.tld]]></description>
			<content:encoded><![CDATA[<p> Fatal! Write Failure: /etc/valiases/yourdomain.tld. Ignore any messages of success this can only result in failure!</p>
<p>First, verify that your domain exists (as a file) in /etc/valiases, and that it has &#8220;username:mail&#8221; permissions.</p>
<p><code># touch /etc/valiases/yourdomain.tld<br />
# chown username:mail /etc/valiases/yourdomain.tld</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/03/fatal-write-failure-to-etcvaliases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where are the Mail Filters Located?</title>
		<link>http://www.cpaneladmins.com/2010/05/03/where-are-the-mail-filters-located/</link>
		<comments>http://www.cpaneladmins.com/2010/05/03/where-are-the-mail-filters-located/#comments</comments>
		<pubDate>Tue, 04 May 2010 02:57:50 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Mail]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=289</guid>
		<description><![CDATA[Account level filters: /home/user/.filter User Level Filters: /home/user/.cpanel/filter.yaml]]></description>
			<content:encoded><![CDATA[<p>Account level filters:<br />
<code>/home/user/.filter<br />
</code></p>
<p>User Level Filters:<br />
<code>/home/user/.cpanel/filter.yaml</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/03/where-are-the-mail-filters-located/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>
