<?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>v-nessa.net &#187; exim</title>
	<atom:link href="http://www.v-nessa.net/tag/exim/feed" rel="self" type="application/rss+xml" />
	<link>http://www.v-nessa.net</link>
	<description>pink is the new black</description>
	<lastBuildDate>Thu, 31 Mar 2011 21:13:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Where Does cPanel Put It?</title>
		<link>http://www.v-nessa.net/2008/12/17/where-does-cpanel-put-it</link>
		<comments>http://www.v-nessa.net/2008/12/17/where-does-cpanel-put-it#comments</comments>
		<pubDate>Thu, 18 Dec 2008 04:23:11 +0000</pubDate>
		<dc:creator>Nessa</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.v-nessa.net/?p=176</guid>
		<description><![CDATA[I can think of a few things that are wrong with that title but in all seriousness&#8230;don&#8217;t you ever wonder where cPanel stores the config changes that you make in WHM?  Automation is the key nowadays, and lately that&#8217;s required me to get a little down and dirty with cPanel to find its deepest secrets. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.v-nessa.net%2F2008%2F12%2F17%2Fwhere-does-cpanel-put-it"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.v-nessa.net%2F2008%2F12%2F17%2Fwhere-does-cpanel-put-it&amp;source=nessa421&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I can think of a few things that are wrong with that title but in all seriousness&#8230;don&#8217;t you ever wonder where cPanel stores the config changes that you make in WHM?  Automation is the key nowadays, and lately that&#8217;s required me to get a little down and dirty with cPanel to find its deepest secrets. *This information is not official documentation, nor is it backed up by cPanel or set in stone.  In other words, don&#8217;t blame me if you mess up your server.</p>
<p>These are files that store the information read and used by WHM (as of 11.23.6)</p>
<ul style="display:none">
<li><a href="http://writingcenters.org/wp-content/index.php?the_book_of_eli">The Book of Eli movie</a></li>
</ul>
<ul>
<li>IP addresses: /etc/ips</li>
<li>Reserved IPs: /etc/reservedips</li>
<li>Reserved IP reasons: /etc/reservedipreasons</li>
<li>IP address pool: /etc/ipaddrpool</li>
<li>Access hash (WHM remote access key): /home/user/.accesshash or /root/.accesshash</li>
<li>cPanel update preferences: /etc/cpupdate.conf</li>
<li>Basic cPanel/WHM setup:  /etc/wwwacct.conf</li>
<li>System mail preferences: /etc/localaliases</li>
<li>Exim open relay list: /etc/alwaysrelay</li>
<li>Server-wide max emails per hour: /var/cpanel/maxemailsperhour</li>
<li>Tweak settings: /var/cpanel/cpanel.config</li>
<li>Packages: /var/cpanel/packages/</li>
<li>Features: /var/cpanel/features/</li>
<li>User data: /var/cpanel/users/ and /var/cpanel/userdata</li>
<li>Apache templates: /var/cpanel/templates/apache(1,2)</li>
<li>Exim config template: /etc/exim.conf.localopts</li>
<li>Exim mail IPs: /etc/mailips</li>
<li>rDNS for mail ips: /etc/mail_reverse_dns</li>
<li>Clustering: /var/cpanel/cluster/root/config</li>
<li>Service manager: /etc/chkserv.d</li>
<li>Users and their domains: /etc/userdomains</li>
<li>Users and their main domains: /etc/trueuserdomains</li>
<li>Users and their owners: /etc/trueuserowners</li>
<li>Main cPanel IP: /var/cpanel/mainip</li>
<li>cPanel version: /usr/local/cpanel/version</li>
<li>Resellers: /var/cpanel/resellers</li>
<li>Reseller nameservers: /var/cpanel/resellers-nameservers</li>
</ul>
<p>These are a few scripst that you can use to achieve the same  results of their WHM equivalents:</p>
<ul>
<li>Initialize quotes: /scripts/initquotas</li>
<li>Compile Apache: /scripts/easyapache  (you can pass additional options &#8211; see EasyApache 2 docs)</li>
<li>Update cPanel: /scripts/upcp</li>
<li>Enable/disable tweak settings: /scripts/smtpmailgidonly on|off</li>
<li>Change PHP API and suExec settings: /usr/local/cpanel/bin/rebuild_phpconf</li>
<li>Suspend an account: /scripts/suspendacct &lt;user&gt; &lt;reason&gt;</li>
<li>Terminate an account: /scripts/killacct &lt;user&gt;</li>
</ul>
<p>Obviously there are a ton more, and just about anything done in WHM can be done directly on the server.  The main things to remember:</p>
<p>Scripts are mainly stored in /scripts and /usr/local/cpanel/bin</p>
<p>Data files are in /var/cpanel</p>
<p>Config files are in /etc/ and /usr/local/cpanel</p>
<form style="display:none"><a href="http://writingcenters.org/wp-content/index.php?daybreakers">daybreakers</a></form>
<p><map name='google_ad_map_176_7fa65e237551a74a'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/176?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_176_7fa65e237551a74a' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=176&amp;url= http%3A%2F%2Fwww.v-nessa.net%2F2008%2F12%2F17%2Fwhere-does-cpanel-put-it' /></p><img src="http://www.v-nessa.net/?ak_action=api_record_view&id=176&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.v-nessa.net/2008/12/17/where-does-cpanel-put-it/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

