<?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>Life of a Plesk Admin &#187; plesk</title>
	<atom:link href="http://www.lifeofapleskadmin.com/category/plesk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifeofapleskadmin.com</link>
	<description>Where i go for Geek</description>
	<lastBuildDate>Wed, 04 Jan 2012 15:18:42 +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>Disable Watchdog on Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2011/01/disable-watchdog/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/01/disable-watchdog/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 00:49:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=236</guid>
		<description><![CDATA[Watchdog is an application that monitors the services on your (dv) server for security issues and availability. When Watchdog is running it spawns off several processes that can consume a lot of memory. We have found that running Watchdog can &#8230; <a href="http://www.lifeofapleskadmin.com/2011/01/disable-watchdog/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Watchdog is an application that monitors the services on your (dv) server for security issues and availability. When Watchdog is running it spawns off several processes that can consume a lot of memory. We have found that running Watchdog can actually cause instabilities with some servers.</p>
<p>It is our recommendation to not use this module. If you need a monitoring solution you may want to look for an off-site option. Our newer servers are not provisioned with watchdog installed. If you have an older server and would like to remove watchdog you can run the following command via ssh as root to remove the watchdog package.</p>
<pre>rpm -e psa-watchdog</pre>
<p>Source: <a href="http://kb.mediatemple.net/questions/770/(dv)+HOWTO:+Misc.+performance+tuning">http://kb.mediatemple.net/questions/770/(dv)+HOWTO:+Misc.+performance+tuning</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/01/disable-watchdog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable SpamAssassin on Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2011/01/disable-spamassassin/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/01/disable-spamassassin/#comments</comments>
		<pubDate>Sun, 23 Jan 2011 00:45:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=231</guid>
		<description><![CDATA[SpamAssassin is a service that filters for spam on incoming mail. Each instance can use as much as 20 MBs per process. If you choose to run spam protection via your email client you can gain that memory back for &#8230; <a href="http://www.lifeofapleskadmin.com/2011/01/disable-spamassassin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>SpamAssassin is a service that filters for spam on incoming mail. Each instance can use as much as 20 MBs per process. If you choose to run spam protection via your email client you can gain that memory back for other applications to use. We have found that most client-side filtering provides similar protection so this redundancy is not needed in most cases.<br />
NOTE:</p>
<p>Turning off SpamAssassin may significantly increase the amount of spam that your email accounts receive. You will have to decide for yourself if this is a trade-off that you are comfortable with. To help further prevent spam we strongly suggest disabling any &#8220;catch-all&#8221; email addresses and enabling &#8220;reject emails to non-existent users&#8221; in the Mail section under Clients &gt;&gt; Domains &gt;&gt; Mail in Plesk.</p>
<p>Type the following command in your SSH session:</p>
<pre>/etc/init.d/psa-spamassassin stop</pre>
<p>To disable it permanently, run the following command by typing</p>
<pre>chmod 644 /etc/init.d/psa-spamassassin</pre>
<p>You can always add it back by changing 644 to 755.</p>
<p>Source: <a href="http://kb.mediatemple.net/questions/770/(dv)+HOWTO:+Misc.+performance+tuning">http://kb.mediatemple.net/questions/770/(dv)+HOWTO:+Misc.+performance+tuning</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/01/disable-spamassassin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Location of Horde Webmail on Plesk Server</title>
		<link>http://www.lifeofapleskadmin.com/2010/09/location-of-horde-webmail-on-plesk-server/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/09/location-of-horde-webmail-on-plesk-server/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 19:06:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>
		<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=214</guid>
		<description><![CDATA[/usr/share/psa-horde/]]></description>
			<content:encoded><![CDATA[<pre>/usr/share/psa-horde/</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/09/location-of-horde-webmail-on-plesk-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract list of email accounts from Plesk that have a mailbox and no redirect</title>
		<link>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 20:35:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=183</guid>
		<description><![CDATA[SELECT mail.mail_name, domains.name FROM domains LEFT JOIN mail ON domains.id = mail.dom_id LEFT JOIN DomainServices ON domains.id = DomainServices.dom_id WHERE mail.postbox = 'true' AND mail.mail_group = 'false' AND DomainServices.type = 'mail' AND DomainServices.status = '0']]></description>
			<content:encoded><![CDATA[<pre>
SELECT mail.mail_name, domains.name
FROM domains
LEFT JOIN mail ON domains.id = mail.dom_id
LEFT JOIN DomainServices ON domains.id = DomainServices.dom_id
WHERE mail.postbox =  'true'
AND mail.mail_group =  'false'
AND DomainServices.type =  'mail'
AND DomainServices.status =  '0'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grep UID in Plesk from Qmail log</title>
		<link>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 12:33:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>
		<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=167</guid>
		<description><![CDATA[Click on the header link in the mail server queue: Received: (qmail 30501 invoked by uid 10077); 3 Dec 2009 21:47:42 -0500 Date: 3 Dec 2009 21:47:42 -0500 Message-ID: &#60;20091204024742.30498.qmail@hostserver.com&#62; To: email@domain.com Subject: This is a test. MIME-Version: 1.0 Content-type: &#8230; <a href="http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Click on the header link in the mail server queue:</p>
<pre>Received: (qmail 30501 invoked by uid <strong>10077</strong>); 3 Dec 2009 21:47:42 -0500
Date: 3 Dec 2009 21:47:42 -0500
Message-ID: &lt;20091204024742.30498.qmail@hostserver.com&gt;
To: email@domain.com
Subject: This is a test.
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: &lt;user@domain.com&gt;</pre>
<p>It says its invoked by uid 10077 which corresponds to the account on the /etc/password file:</p>
<pre>-bash-3.2# more /etc/passwd | grep <strong>10077</strong>
username:x:10077:2522::/var/www/vhosts/domain.com:/bin/false</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Limit to Postini IP Range in Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 20:41:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=164</guid>
		<description><![CDATA[Login to Plesk and go to SYSTEM -&#62; MODULES -&#62; FIREWALL Choose Add Custom Rule Enter in a rule name Choose what direction to match, in this case, incoming Choose ALLOW Enter in port 25 Leave as TCP Press ADD &#8230; <a href="http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>Login to Plesk and go to SYSTEM -&gt; MODULES -&gt; FIREWALL</li>
<li>Choose Add Custom Rule</li>
<li>Enter in a rule name</li>
<li>Choose what direction to match, in this case, incoming</li>
<li>Choose ALLOW</li>
<li>Enter in port 25</li>
<li>Leave as TCP</li>
<li>Press ADD</li>
<li>Enter in 74.125.148.0/22 in the five boxes, the fifth box being the 22 (no slash)</li>
<li>Press ADD</li>
<li>Press OK</li>
</ul>
<p>That rule will accept Postini&#8217;s block. Then, to block the rest of the email:</p>
<ul>
<li>Choose Add Custom Rule</li>
<li>Enter in a rule name</li>
<li>Choose incoming</li>
<li>Choose DENY</li>
<li>Enter in port 25 and press ADD</li>
<li>Leave the network space blank</li>
<li>Press OK</li>
</ul>
<p>It is important that you have the rules in this order, otherwise all email will be denied. Ensure that the ALLOW is above the DENY in the display list when you are done, then commit the changes.</p>
<p>Source: <a href="http://www.experts-exchange.com/OS/Linux/Q_24418022.html">http://www.experts-exchange.com/OS/Linux/Q_24418022.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer database between domains in Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2009/11/transfer-database-between-domains-in-plesk/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/11/transfer-database-between-domains-in-plesk/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 02:08:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=162</guid>
		<description><![CDATA[If you are moving the database from one domain to another on the same server, and you want to keep the database name the same, you just need to change the owner of the database in the &#8216;data_bases&#8217; table in &#8230; <a href="http://www.lifeofapleskadmin.com/2009/11/transfer-database-between-domains-in-plesk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are moving the database from one domain to another on the same server, and you want to keep the database name the same, you just need to change the owner of the database in the &#8216;data_bases&#8217; table in the psa database.</p>
<p>The table uses the field &#8216;dom_id&#8217; as a reference to the owner. Look in the &#8216;domains&#8217; table to find the &#8216;id&#8217; of the domain you are using and the one you wish to move to then make the change in the &#8216;data_bases&#8221; table.</p>
<p>Once changed, you will see the database listed under the new domain in Plesk. You can then add/change usernames and passwords through Plesk as normal.</p>
<p>You can do all the above through the command interface (SSH) or you can do it the easy way with a tool like phpMyAdmin installed.</p>
<p>Source: <a href="http://forums.serverbeach.com/showthread.php?t=164">http://forums.serverbeach.com/showthread.php?t=164</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/11/transfer-database-between-domains-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pulls FTP password out of Plesk database</title>
		<link>http://www.lifeofapleskadmin.com/2009/11/pulls-ftp-password-out-of-plesk-database/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/11/pulls-ftp-password-out-of-plesk-database/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 19:54:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=153</guid>
		<description><![CDATA[mysql -uadmin -p`cat /etc/psa/.psa.shadow` -e &#34;use psa; select accounts.password from accounts INNER JOIN sys_users ON accounts.id=sys_users.account_id WHERE sys_users.login='xxxx';&#34;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-uadmin</span> -p<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>.psa.shadow<span style="color: #000000; font-weight: bold;">`</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">&quot;use psa; select accounts.password from accounts INNER JOIN sys_users ON   accounts.id=sys_users.account_id WHERE sys_users.login='xxxx';&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/11/pulls-ftp-password-out-of-plesk-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reconfigure vhost in Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2009/11/reconfigure-vhost-in-plesk/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/11/reconfigure-vhost-in-plesk/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 19:45:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=150</guid>
		<description><![CDATA[/parallels_plesk_panel_installation_directory/admin/sbin/websrvmng --reconfigure-vhost --vhost-name= On Centos 5 /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com In Plesk 10 /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain domain.com]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>parallels_plesk_panel_installation_directory<span style="color: #000000; font-weight: bold;">/</span>admin<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>websrvmng <span style="color: #660033;">--reconfigure-vhost</span>  <span style="color: #660033;">--vhost-name</span>=</pre></div></div>

<p>On Centos 5</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>admin<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>websrvmng <span style="color: #660033;">-u</span> <span style="color: #660033;">--vhost-name</span>=domain.com</pre></div></div>

<p>In Plesk 10</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>admin<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>httpdmng <span style="color: #660033;">--reconfigure-domain</span> domain.com</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/11/reconfigure-vhost-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to grep a mail log to see if a message bounced</title>
		<link>http://www.lifeofapleskadmin.com/2009/05/how-to-grep-a-mail-log-to-see-if-a-message-bounced/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/05/how-to-grep-a-mail-log-to-see-if-a-message-bounced/#comments</comments>
		<pubDate>Sat, 23 May 2009 00:53:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>
		<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=107</guid>
		<description><![CDATA[Command: tail /usr/local/psa/var/log/maillog -n10000 &#124; grep &#34;user@example.com&#34; Notes: Better to tail than cat (in case its a big log) -n10000 is going back 10000 lines Add -f if you want to see a live feed of the log tail -f &#8230; <a href="http://www.lifeofapleskadmin.com/2009/05/how-to-grep-a-mail-log-to-see-if-a-message-bounced/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Command:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>maillog <span style="color: #660033;">-n10000</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;user@example.com&quot;</span></pre></div></div>

<p>Notes:</p>
<p>Better to tail than cat (in case its a big log)</p>
<p>-n10000 is going back 10000 lines</p>
<p>Add -f if you want to see a live feed of the log</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tail</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>maillog <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;user@example.com&quot;</span></pre></div></div>

<p>Source: <a href="http://www.woyano.com/view/578/How-to-grep-a-mail-log-to-see-if-a-message-bounced">http://www.woyano.com/view/578/How-to-grep-a-mail-log-to-see-if-a-message-bounced</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/05/how-to-grep-a-mail-log-to-see-if-a-message-bounced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

