<?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>WHM/cPanel Help and Tutorials</title>
	<atom:link href="http://www.cpanel-help.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cpanel-help.com</link>
	<description>WHM/cPanel Help and Tutorials</description>
	<lastBuildDate>Sat, 22 Oct 2011 20:09:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>List directories that email was sent from</title>
		<link>http://www.cpanel-help.com/exim/list-directories-that-email-was-sent-from</link>
		<comments>http://www.cpanel-help.com/exim/list-directories-that-email-was-sent-from#comments</comments>
		<pubDate>Tue, 18 Oct 2011 10:02:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exim]]></category>

		<guid isPermaLink="false">http://www.cpanel-help.com/?p=30</guid>
		<description><![CDATA[The best thing to do to determine where these are being sent fom on your server is to increase exim&#8217;s verbosity. Put this in the top box of the advanced exim configuration area of WHM. log_selector = +address_rewrite +all_parents +arguments &#8230; <a href="http://www.cpanel-help.com/exim/list-directories-that-email-was-sent-from">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The best thing to do to determine where these are being sent fom on your server is to increase exim&#8217;s verbosity. Put this in the top box of the advanced exim configuration area of WHM.</p>
<p>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 +tls_cipher +tls_peerdn<span id="more-30"></span></p>
<p>Then save it. Allow some time to pass (maybe 6 to 24 hours) and then run the following:</p>
<pre class="brush: bash; gutter: false">awk '$3 ~ /^cwd/{print $3}' /var/log/exim_mainlog | sort | uniq -c | sed "s|^ *||g" | sort -nr</pre>
<p>This will list directories that email was sent from. You&#8217;d be looking for user home directories with a large number. If there are no numbers or directories in that listing, it&#8217;s possible they are using a raw socket() command to connect to remote MX servers and spam.</p>
<p>Also, you may want to check the queue and see if this is just one message that is being retried in which case you can just deleted it from the queue. This also can be done from WHM using &#8220;Mail Queue Manager&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanel-help.com/exim/list-directories-that-email-was-sent-from/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[an error occurred while processing this directive]</title>
		<link>http://www.cpanel-help.com/cpanel/an-error-occurred-while-processing-this-directive</link>
		<comments>http://www.cpanel-help.com/cpanel/an-error-occurred-while-processing-this-directive#comments</comments>
		<pubDate>Sat, 19 Apr 2008 10:52:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://www.cpanel-help.com/?p=7</guid>
		<description><![CDATA[After logging into cPanel for all users, all skins, the following error appears directly under the &#8220;Please update your contact information here&#8221; line: [an error occurred while processing this directive]  make sure /etc/wwwacct.conf is chmod 644]]></description>
			<content:encoded><![CDATA[<p><span class="Apple-style-span" style="font-weight: normal;">After logging into cPanel for all users, all skins, the following error appears directly under the &#8220;Please update your contact information here&#8221; line:</span></p>
<p class="MsoNormal"><strong>[an error occurred while processing this directive] </strong></p>
<p class="MsoNormal"><span><span style="font-weight: normal;"> </span></span><span class="Apple-style-span" style="font-weight: normal;">make sure /etc/wwwacct.conf is chmod 644</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanel-help.com/cpanel/an-error-occurred-while-processing-this-directive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and configure cPanel</title>
		<link>http://www.cpanel-help.com/cpanel/install-and-configure-cpanel</link>
		<comments>http://www.cpanel-help.com/cpanel/install-and-configure-cpanel#comments</comments>
		<pubDate>Sat, 19 Apr 2008 07:51:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[cPanel]]></category>
		<category><![CDATA[cpanel configuration]]></category>
		<category><![CDATA[cpanel installation]]></category>

		<guid isPermaLink="false">http://www.cpanel-help.com/?p=5</guid>
		<description><![CDATA[1. You must complete a server installation of one of the supported operating systems listed on cpanel.net main page. (Install suplimentary wget and lynx) 2. You must have a server with the following minimum specifications: At least a Pentium 3 &#8230; <a href="http://www.cpanel-help.com/cpanel/install-and-configure-cpanel">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>1. You must complete a server installation of one of the supported operating systems listed on cpanel.net main page. (Install suplimentary wget and lynx)</p>
<p class="MsoNormal">2. You must have a server with the following minimum specifications:</p>
<p class="MsoNormal">At least a Pentium 3 500 MHz processor<br />
At least a 10 GB hard drive<br />
At least 256 MB of RAM</p>
<p class="MsoNormal">3. The following partitions are recommended prior to installing cPanel:<span id="more-5"></span></p>
<p class="MsoNormal"><span>1 GB /<br />
</span>1 GB /boot (No seperate /boot for FreeBSD)<br />
2 GB /tmp<br />
30 GB /usr<br />
30 GB /var<br />
4 GB swap (swap should be 2x RAM)</p>
<p class="MsoNormal"><span>Remaining space to /home</span></p>
<p class="MsoNormal">Note: The above partitioning scheme is assuming a 40 GB hard drive. If you have a larger hard drive, you should increment /usr &amp; /var accordingly.</p>
<p class="MsoNormal">If you do not have a partitioning scheme similar to the above, it is recommended that you format &amp; repartition your machine as you may run into operational issues in the future.</p>
<p class="MsoNormal">mkdir /home/cptemp<br />
cd /home/cptemp<br />
wget http://layer1.cpanel.net/latest<br />
sh latest</p>
<p class="MsoNormal">At this point the installation has started and may take anywhere from 30 &#8211; 60 minutes to complete. At no point during the installation should you be prompted for user input. You will know the cPanel installation has been completed by the screen output coming to a stop &amp; the statement &#8220;Done.&#8221; is printed on your screen. You should then hit &#8220;ctrl c&#8221;† to continue.</p>
<p class="MsoNormal">Note: You must be on a stable connection to install cPanel. If your shell session disconnects during a cPanel install the cPanel installation will be aborted. You can restart the cPanel installation by completing &#8220;sh cpanel-*&#8221;† again, however it is recommended that you reformat your machine &amp; start over to ensure a clean slate before placing the machine into production.</p>
<p class="MsoNormal">Connect to WHM in a web browser: https://server_ip:2087</p>
<p class="MsoNormal">Follow the instructions and click next</p>
<p class="MsoNormal">On &#8220;Server Setup&#8221; section click on &#8220;Edit setup&#8221;.</p>
<p class="MsoNormal"><span>a) Type a email address at &#8220;Server Contact E-Mail Address&#8221;<br />
</span>b) Insert primary and secondary Name Server and click on &#8220;Assign Ip Address&#8221; and &#8220;Add An A Entry for this nameserver&#8221; for every NS. (You need to have a supplimentary IP for second Name Server).<br />
c) Click on &#8220;Save&#8221;</p>
<p class="MsoNormal">Click on &#8220;Tweak Settings&#8221; and check/uncheck what do you consider necesarry.</p>
<p class="MsoNormal">On &#8220;Tweak Security&#8221; click &#8220;SMTP Tweak&#8221; and check &#8220;Allow connections to localhost on port 25.&#8221; Click &#8220;Enable&#8221;</p>
<p class="MsoNormal">Click on &#8220;Update Config&#8221; ans select build type (I recomand &#8220;Automatic (RELEASE tree)&#8221;</p>
<p class="MsoNormal">&#8220;Shell Fork Bomb Protection&#8221; click on &#8220;Enable Protection&#8221;</p>
<p class="MsoNormal">&#8220;Service Configuration&#8221;</p>
<p class="MsoNormal"><span>&#8220;FTP Configuration&#8221; I recomand to disable &#8220;Anonimous Ftp&#8221; and switch to &#8220;Pure-ftpd&#8221; </span></p>
<p class="MsoNormal">&#8220;DNS Functions&#8221;</p>
<p class="MsoNormal"><span>&#8220;Add an A Entry for your Hostname&#8221; and click on &#8220;Add the entry&#8221; </span></p>
<p class="MsoNormal">&#8220;IP Functions&#8221;</p>
<p class="MsoNormal"><span>If you have a IP Class click on &#8220;Add a New IP Address&#8221; and follow the instruction </span></p>
<p class="MsoNormal">&#8220;Software&#8221;</p>
<p class="MsoNormal"><span>Click on &#8220;Update Server Software&#8221; and &#8220;Update System Software&#8221; and wait&#8230;.<br />
</span>Click on &#8220;Update Apache&#8221; leave the check box selected and I recomand to select suplimentary just &#8220;GD&#8221; and &#8220;IMAP&#8221; and click &#8220;Start build&#8221;</p>
<p class="MsoNormal">&#8220;cPanel&#8221;</p>
<p class="MsoNormal"><span>Click on &#8220;Addon Modules&#8221; and install &#8220;modsecurity&#8221; and &#8220;addonupdates&#8221;<br />
</span>Click on &#8220;Upgrade to Latest Version&#8221; and &#8220;Click to upgrade&#8221;</p>
<p class="MsoNormal"><span>I recomand to install additional monitoring software like phpSysInfo <a title="http://phpsysinfo.sourceforge.net/ " href="http://phpsysinfo.sourceforge.net/ " target="_blank">http://phpsysinfo.sourceforge.net/</a> (Install the scripts into a domain hosted in server, </span><span>www.domain.com/info/</span><span>)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanel-help.com/cpanel/install-and-configure-cpanel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Block emails from a specific domain in Exim</title>
		<link>http://www.cpanel-help.com/exim/block-emails-from-a-specific-domain</link>
		<comments>http://www.cpanel-help.com/exim/block-emails-from-a-specific-domain#comments</comments>
		<pubDate>Sat, 19 Apr 2008 07:49:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exim]]></category>

		<guid isPermaLink="false">http://www.cpanel-help.com/?p=4</guid>
		<description><![CDATA[To block all emails sent from a specific domain: -go to WHM/Service Configuration/Exim Configuration and switch to Advanced mode -at begin ACL form put: if $header_from: contains &#8220;@domain_name.com&#8221; then fail text &#8220;What message do you want.&#8221; seen finish endif]]></description>
			<content:encoded><![CDATA[<p>To block all emails sent from a specific domain:</p>
<p class="MsoNormal"><span>-go to WHM/Service Configuration/Exim Configuration and switch to Advanced mode</span></p>
<p class="MsoNormal"><span>-at begin ACL form put:</span></p>
<p class="MsoNormal">if $header_from: contains &#8220;@domain_name.com&#8221;<br />
then<br />
fail text &#8220;What message do you want.&#8221;<br />
seen finish<br />
endif</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanel-help.com/exim/block-emails-from-a-specific-domain/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email and website on different servers</title>
		<link>http://www.cpanel-help.com/exim/email-and-website-on-different-servers</link>
		<comments>http://www.cpanel-help.com/exim/email-and-website-on-different-servers#comments</comments>
		<pubDate>Sat, 19 Apr 2008 07:44:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exim]]></category>
		<category><![CDATA[mx change]]></category>

		<guid isPermaLink="false">http://www.cpanel-help.com/?p=3</guid>
		<description><![CDATA[When a client want to get email from other server you need to change MX (change from WHM/Edit a DNS Zone not from cPanel) 1. In DNS Zone do that: domain.com. 14400 IN MX 0 any.domain.com. 2. Add new entry &#8230; <a href="http://www.cpanel-help.com/exim/email-and-website-on-different-servers">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When a client want to get email from other server you need to change MX (change from WHM/Edit a DNS Zone not from cPanel)</p>
<p class="MsoNormal"><span>1. In DNS Zone do that:<br />
</span>domain.com. 14400 IN MX 0 any.domain.com.</p>
<p class="MsoNormal"><span>2. Add new entry<br />
</span>any.domain.com. 14400 IN A 123.123.123.123<br />
Change last figure of Serial Number and click Save. Restart Bind</p>
<p class="MsoNormal"><span>3. Make a ssh connection and remove the domain name from /etc/localdomains<br />
</span>Add the domain name in /etc/remotedomains</p>
<p class="MsoNormal"><span>Restart Exim (/scripts/restartsrv_exim)<br />
</span>You need to wait aprox. 4 hours to work</p>
<p class="MsoNormal"><span> </span>If the domain name are pointed to Email server and from there are redirected the www do that:</p>
<p class="MsoNormal"><span>1. Remove the DNS Zone from WHM<br />
</span>2. Make a ssh connection and remove the domain name from /etc/localdomains<br />
Add the domain name in /etc/remotedomains<br />
Restart Exim (/scripts/restartsrv_exim)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanel-help.com/exim/email-and-website-on-different-servers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

