<?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>DaveKopecek.com</title>
	<atom:link href="http://davekopecek.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://davekopecek.com</link>
	<description>You&#039;re on a mobile device. Hope you&#039;re not driving.</description>
	<lastBuildDate>Wed, 15 Dec 2010 20:52:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Where My WordPress At?</title>
		<link>http://davekopecek.com/where-my-wordpress-at-95/</link>
		<comments>http://davekopecek.com/where-my-wordpress-at-95/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 20:47:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=95</guid>
		<description><![CDATA[Finding WordPress installs on a Linux Server WordPress installs multiply like bunnies.  If you&#8217;ve got several WordPress domains hosted on a single server it&#8217;s easy to loose track of installed versions.  This one-line wonder will sniff out WordPress powered sites and grab their version number.  Drop it in a CRON that runs once a month [...]]]></description>
			<content:encoded><![CDATA[<h2>Finding WordPress installs on a Linux Server</h2>
<p>WordPress installs multiply like bunnies.  If you&#8217;ve got several WordPress domains hosted on a single server it&#8217;s easy to loose track of installed versions.  This one-line wonder will sniff out WordPress powered sites and grab their version number.  Drop it in a CRON that runs once a month and you&#8217;ll get regular reminders of what&#8217;s lurking out on your server.</p>
<p>WordPress installs contain the file version.php with the variable $wp_version. Find all the version.php files, grab the variable and you&#8217;re golden. Here&#8217;s the basic <strong>locate</strong> command:<br />
<code><br />
locate /wp-includes/version.php | xargs grep '$wp_version ='<br />
</code></p>
<p>That&#8217;s nice enough, but we can get a bit better. The server I&#8217;m targeting stores all virtual hosts in the directory <strong>/var/www/vhosts</strong>. We can use the cut command to snip that from the display, sort the output by domain name and email the results.<br />
<code><br />
locate /wp-includes/version.php | xargs grep '$wp_version =' | cut -d'/' -f5,6,7,8,10  | sort | mail -s "WordPress Installs on Server XYZ" your-email@yourdomain.com<br />
</code><br />
You&#8217;ll get an email with results like this:<br />
<code><br />
foobar.com/version.php:$wp_version = '3.0.1';<br />
whatsit.com/version.php:$wp_version = '2.7.1';<br />
whizzbang.com/version.php:$wp_version = '2.9.1';<br />
widget.net/wp-includes/version.php:$wp_version = '2.9.1';<br />
</code></p>
<p>For extra credit you could sort by version number, but there&#8217;s no need to be an overachiever here.  Quit while you&#8217;re ahead. The script uses <em><strong>locate</strong></em>, so make sure you run <em><strong>updatedb</strong></em> periodically.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/where-my-wordpress-at-95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Harvest &#8211; Simplified Time and Billing</title>
		<link>http://davekopecek.com/harvest-simplified-time-and-billing-85/</link>
		<comments>http://davekopecek.com/harvest-simplified-time-and-billing-85/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 20:25:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=85</guid>
		<description><![CDATA[Ding-Dong the Witch is Dead. Freed from the Shackles of Timeslips Ok, I&#8217;ve been using TimeSlips for project based billing since the DOS days before the web existed and we&#8217;ve always had a love-hate relationship.  Actually usually it was usually hate-hate. The interface felt clunky. Even after 15 years of use there were things I [...]]]></description>
			<content:encoded><![CDATA[<h3>Ding-Dong the Witch is Dead. Freed from the Shackles of Timeslips</h3>
<p>Ok, I&#8217;ve been using <a href="http://www.sagetimeslips.com/">TimeSlips</a> for project based billing since the DOS days before the web existed and we&#8217;ve always had a love-hate relationship.   Actually usually it was usually hate-hate.  The interface felt clunky. Even after 15 years of use there were things I could never remember how to do.   Maybe it&#8217;s me, you say?  Well Barb hated it with a passion as well.   Back when LineSight, Inc. was using <a href="http://www.timeslips.com/products_and_services/add-on_products/timeslips_remote/">TimeSlips Remote</a> it caused us a never ending stream of pain, but we couldn&#8217;t find anything better.  We dropped TSRemote for the desktop version,  but billing day never rose to the happy day it should be.</p>
<p>I just got a new machine and vowed not to defile its pristine drive with the dreaded TimeSlips. The hunt was on.  We weren&#8217;t asking for much:</p>
<ul>
<li>A Simple, clean interface.</li>
<li>The ability to define clients, projects and timekeepers who are either employees or consultants without sitting through training and changing our business model.</li>
<li>The ability to enter time after-the-fact, or in a &#8220;meter is running&#8221; fashion from whatever device we happen to be on.</li>
<li>The ability to easily see how much un-billed time we have.</li>
<li>The ability to easily create invoices.</li>
<li>We&#8217;re cheap.  This needs to FLOSS or pretty darn inexpensive.</li>
</ul>
<p>A couple of years ago we helped a client with about 120 remote employees select<a href="http://www.journyx.com/"> Journyx</a>, but that was also far to complicated for our needs.  Same for <a href="http://www.replicon.com/">Replicon</a>.  We did a quick survey of the FLOSS options available and churned through the <a href="http://en.wikipedia.org/wiki/Comparison_of_time_tracking_software">Wikipedia comparison </a>chart.</p>
<p>Ultimately we stumbled on <a href="http://www.getharvest.com/">Harvest.</a> It seems to fit the bill perfectly. Within about 1o minutes we had all of our clients, active projects, tasks, and timekeepers entered.  Ok, Barb is going to  go back and cut-and-paste client addresses, but really we&#8217;re good to go.</p>
<p>We both installed  Windows 7 desktop widget installed and Voila !  We&#8217;re in business &amp; all set on our 30 day trial.   More as the trial progresses&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/harvest-simplified-time-and-billing-85/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Kindle for Android is a Keeper</title>
		<link>http://davekopecek.com/kindle-for-android-is-a-keeper-57/</link>
		<comments>http://davekopecek.com/kindle-for-android-is-a-keeper-57/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 14:03:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=57</guid>
		<description><![CDATA[The Kindle has been gathering dust since I got my HTC Incredible. For the most part I had been using the Kindle as a News feed reader. It made no sense to shell over subscription fees to Amazon to read news feeds when Google Reader on the Incredible gave me more flexibility with zero cost. [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_58" class="wp-caption alignleft" style="width: 253px"><a href="http://davekopecek.com/wp-content/uploads/redding-qrcode._V189848585_.png"><img src="http://davekopecek.com/wp-content/uploads/redding-qrcode._V189848585_.png" alt="Download Android for Kindle" title="Download Android for Kindle" width="243" height="243" class="size-full wp-image-58" /></a><p class="wp-caption-text">Download Android for Kindle</p></div> The Kindle has been gathering dust since I got my HTC Incredible.  For the most part I had been using the Kindle as a News feed reader. It made no sense to shell over subscription fees to Amazon to read news feeds when Google Reader on the Incredible gave me more flexibility with zero cost.  I still love the Kindle, the screen is a nice break from the laptop screen, and it&#8217;s easier to cart around than a stack of books, but the Incredible is always in my pocket and access to all my Kindle stuff will be great.</p>
<p> Ok Amazon, listen up. I see your list of <a href="http://www.amazon.com/gp/feature.html?ie=UTF8&#038;docId=1000517401">future improvements</a>.  You need to add &#8220;Share&#8221; to this list.   I want to be able to highlight some text, hit share (just like I can in LOTS of other apps) and send it via email or post it on Facebook or twitter.  If that&#8217;s in there now, I can&#8217;t find it.  If it&#8217;s not, it should be.  If you let folks send little quotes to people with a &#8220;check this out&#8221; note, YOU&#8217;LL SELL MORE BOOKS.  I promise.  Make it so. Please.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/kindle-for-android-is-a-keeper-57/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s Incredible</title>
		<link>http://davekopecek.com/its-incredible-55/</link>
		<comments>http://davekopecek.com/its-incredible-55/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:04:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=55</guid>
		<description><![CDATA[Day 2 with the HTC Incredible. This phone is amazing. I&#8217;m talking it it&#8217;s typing. I&#8217;ve logged on to my servers , updated my facebook page and even made a few calls. Still trying to find a latte app, I&#8217;m sure it out there.]]></description>
			<content:encoded><![CDATA[<p>Day 2 with the HTC Incredible. This phone is amazing.   I&#8217;m talking it it&#8217;s typing.  I&#8217;ve logged on to my servers ,  updated my facebook page and even made a few calls. Still trying to find a latte app, I&#8217;m sure it out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/its-incredible-55/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubercart Credit Card Settings on Plesk Hosted Site &#8211; Setting up /keys</title>
		<link>http://davekopecek.com/ubercart-credit-card-settings-on-plesk-hosted-site-setting-up-keys-23/</link>
		<comments>http://davekopecek.com/ubercart-credit-card-settings-on-plesk-hosted-site-setting-up-keys-23/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 20:43:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Ubercart]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=23</guid>
		<description><![CDATA[Ubercart is a a popular shopping cart plug-in for the popular Drupal Content Management system. Parallel&#8217;s Plesk is a popular hosting control panel. When configuring a Drupal-Ubercart install on a Plesk based host Ubercart requires the creation of a /keys directory that is outside of your document root (aka /httpdocs in Plesk ) To create [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Ubercart - One cart to rule them all!" href="http://ubercart.org" target="_blank">Ubercart</a> is a a popular shopping cart plug-in for the popular <a title="Drupal.org" href="http://drupal.org" target="_blank">Drupal</a> Content Management system. <a title="Parallels Plesk" href="http://www.parallels.com/spp/parallelsplesk/" target="_blank">Parallel&#8217;s Plesk</a> is a popular hosting control panel.</p>
<p>When configuring a Drupal-Ubercart install on a Plesk based host <a title="Ubercart Credit Card Setup Documentation Page" href="http://www.ubercart.org/docs/user/2731/credit_card_settings" target="_blank">Ubercart requires</a> the creation of a /keys directory that is outside of your document root (aka /httpdocs in Plesk )  To create a keys directory that does not generate open_basedir errors you&#8217;ll need to do the following</p>
<p>Log in as root and create or edit conf/vhost.conf and conf/vhost_ssl.conf as shown.</p>
<p><strong>conf/vhost.conf:</strong></p>
<p><code>&lt;Directory /var/www/vhosts/YOUR-DOMAIN.COM/httpdocs/&gt;<br />
php_admin_value open_basedir "/var/www/vhosts/YOUR-DOMAIN.COM/httpdocs:/tmp:/var/www/vhosts/YOUR-DOMAIN.COM/keys"<br />
&lt;/Directory&gt;<br />
</code></p>
<p><strong>conf/vhost_ssl.conf:</strong></p>
<p><code>&lt;Directory /var/www/vhosts/YOUR-DOMAIN.COM/httpdocs/&gt;<br />
php_admin_value open_basedir "/var/www/vhosts/YOUR-DOMAIN.COM/httpdocs:/tmp:/var/www/vhosts/YOUR-DOMAIN-HERE.COM/keys"<br />
&lt;/Directory&gt;<br />
</code><br />
Note that Php_admin_value and all that follows should be on one line.</p>
<p>Then run (on CentOS &#8211; Ubuntu/Debian may be slightly different):</p>
<p><code>/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=&lt;domainname&gt;</code></p>
<p><code>/etc/init.d/apache2 restart</code></p>
<p>After the restart Plesk will include the contents of your file in the apache config file. You can verify that it&#8217;s being included by checking httpd.include you should see a line similiar to:</p>
<p><code> Include /var/www/vhosts/mydomain.com/conf/vhost.conf</code></p>
<p>Feeling adventurous and want to add other apache directives in the .conf file ?   Great, but HEED MY WARNING.  If you mess up the syntax in either of the files apache may fail to restart &#8212; That would be why you needed to log in as root.   Delete-Remove-Rename the .conf files, rerun websrvmng and start apache.  No big deal if you&#8217;re on a development box, but, as always you would be wise to follow the 2-Beer rule when logging into production boxes as root.</p>
<p><strong>Resources:</strong></p>
<p>Ubercart Keys Documentation Page:<br />
<a href="http://www.ubercart.org/docs/user/2731/credit_card_settings">http://www.ubercart.org/docs/user/2731/credit_card_settings</a></p>
<p>Plesk forum and Knowledgebase posts:<br />
<a href="http://forum.parallels.com/showthread.php?t=84211&amp;highlight=vhost.conf+websrvmng">http://forum.parallels.com/showthread.php?t=84211&amp;highlight=vhost.conf+websrvmng</a><br />
<a href="http://kb.parallels.com/en/5464">http://kb.parallels.com/en/5464</a><br />
<a href="http://kb.parallels.com/en/432">http://kb.parallels.com/en/432</a></p>
<p>You may want to check out Power Toys for Plesk from grafxsoftware.com <a href="http://www.grafxsoftware.com/product.php?id=172">http://www.grafxsoftware.com/product.php?id=172</a> which includes a vhost conf editing tool.</p>
<p>Of course you can avoid all this by having Aisle8, Inc. host your Drupal, Ubercart or <a title="Open Atrium" href="http://openatrium.com" target="_blank">OpenAtrium</a> site.  We can host it on a Plesk based server, or one of our trusty <a href="http://groups.drupal.org/aegir-hosting-system" target="_blank">Aegir</a> based boxes.  Aegir eases the hosting and upgrading Drupal sites &#8212;   Ain&#8217;t nothing else like it around.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/ubercart-credit-card-settings-on-plesk-hosted-site-setting-up-keys-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whitelisting domains in gmail</title>
		<link>http://davekopecek.com/whitelisting-domains-in-gmail-19/</link>
		<comments>http://davekopecek.com/whitelisting-domains-in-gmail-19/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 20:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=19</guid>
		<description><![CDATA[For the past year or so I&#8217;ve been managing all my various email addresses from gmail. It&#8217;s been working well until a week before Christmas when the gmail&#8217;s spam filter decided that all of the voice mails forwarded from our office VOIP system were spam. The system forwards me voicemails in the format "john.doe 333-444-5555"@myvoicemailsystem.com [...]]]></description>
			<content:encoded><![CDATA[<p>For the past year or so I&#8217;ve been managing all my various email addresses from gmail.  It&#8217;s been working well until a week before Christmas when the gmail&#8217;s spam filter decided that all of the voice mails forwarded from our office VOIP system were spam.  The system forwards me voicemails in the format</p>
<p><code>"john.doe 333-444-5555"@myvoicemailsystem.com</code></p>
<p>so I needed to whitelist the entire domain.</p>
<p>While gmail doesn&#8217;t have a specific &#8220;whitelist&#8221; feature, turns out this is pretty easily accomplished with &#8220;filters&#8221;.  Here&#8217;s how:</p>
<ol>
<li>Log into gmail, click &#8216;settings&#8217;</li>
<li>Click &#8216;Filters&#8217;</li>
<li>Click &#8216;Create a New Filter&#8217;</li>
<li>In the &#8220;From&#8221; field enter the domain you want to whitelist, ie. &#8216;somedomain.com&#8217;</li>
<li>Click &#8216;Next Step&#8217;, then tick the &#8216;Never send it to Spam&#8217; box.</li>
<li>Click &#8216;Create Filter&#8217; and your done.</li>
</ol>
<p>That wasn&#8217;t so bad. Anything sent from &#8216;somedomain.com&#8217; now show up in your inbox rather than disappearing onto the great SPAM abyss.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/whitelisting-domains-in-gmail-19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Listing Domains Managed on a Plesk Server</title>
		<link>http://davekopecek.com/listing-domains-managed-on-a-plesk-server-17/</link>
		<comments>http://davekopecek.com/listing-domains-managed-on-a-plesk-server-17/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 20:49:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=17</guid>
		<description><![CDATA[I&#8217;ve learned the hard way that while directly altering Plesk&#8217;s database is almost never a good idea, the Plesk database &#8216;PSA&#8217; holds a ton of useful information that&#8217;s not always readily exportable from the interface. Here are a couple of useful queries. The first simply exports a list of &#8220;standard hosted&#8221; domains. The second includes [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve learned the hard way that while directly altering Plesk&#8217;s database is almost never a good idea, the Plesk database &#8216;PSA&#8217; holds a ton of useful information that&#8217;s not always readily exportable from the interface.  Here are a couple of useful queries.  The first simply exports a list of &#8220;standard hosted&#8221; domains.  The second includes client information.</p>
<p>You&#8217;ll need to be logged in as root.  </p>
<p>First, Get into MySQL and use the Plesk database, &#8220;psa&#8221;:<br />
<code><br />
mysql -u admin -p`cat /etc/psa/.psa.shadow`;<br />
use psa;<br />
</code></p>
<p><strong>Query 1:  List all the standard hosted domains, send the results to a csv file:</strong><br />
<code><br />
select name from domains where htype='vrt_hst' INTO OUTFILE '/tmp/domains.csv';<br />
</code></p>
<p><strong>Query 2:  Building on that, lets add client information and sort it to make it pretty:</strong><br />
<code><br />
select cname,name from domains, clients where cl_id = clients.id and htype='vrt_hst' order by cname,name INTO OUTFILE '/tmp/domains-client.csv';<br />
</code></p>
<p>Nothing earth shattering here, but it might save you 5 minutes. </p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/listing-domains-managed-on-a-plesk-server-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing Orphaned Parallels Plesk Mailboxes</title>
		<link>http://davekopecek.com/managing-orphaned-parallels-plesk-mailboxes-12/</link>
		<comments>http://davekopecek.com/managing-orphaned-parallels-plesk-mailboxes-12/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 21:00:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=12</guid>
		<description><![CDATA[Intro Over the past few months I began to notice a steady erosion in available disk space on a server running the Parallels&#8217; Plesk control panel. After some sleuthing I tracked it down to the management of mailboxes in combination with the &#8220;Mail Forward&#8221; and &#8220;Mail Group&#8221; functions on domains the &#8220;Mailbox quota&#8221; set to [...]]]></description>
			<content:encoded><![CDATA[<h2>Intro</h2>
<p>Over the past few months I began to notice a steady erosion in available disk space on a server running the Parallels&#8217; <a href="http://www.parallels.com/plesk/">Plesk</a> control panel.  After some sleuthing I tracked it down to the management of mailboxes in combination with the &#8220;Mail Forward&#8221; and &#8220;Mail Group&#8221; functions on domains the &#8220;Mailbox quota&#8221; set to unlimited.</p>
<p>There are two basic issues:</p>
<ol>
<li>Users setup &#8216;redirects&#8217; or &#8216;mail group&#8217; functions and leave the account mailbox enabled, then never check the mailbox and delete the messages.  (e.g. sales@somedomain.com forwards to bill@somedomain.com and jim@gmail.com, but nobody logs on to sales@ and deletes the message)</li>
<li><strong><em>Disabling</em></strong> the mailbox does not <strong><em>delete</em></strong> the existing files in the mailbox.  All those mail files will just hang around forever, orphaned from the control panel.</li>
</ol>
<div>Slogging around in the qmail directories looking for files is no fun.  Here&#8217;s how I rid myself of these pesky disk-eaters.  I took a two pronged approach:</div>
<ul>
<li>Query the Plesk database to identify mail accounts with mailboxes that redirect.</li>
<li>Query the filesystem to find Mailbox directories that are large.</li>
</ul>
<h2>Query the Plesk Database</h2>
<p>You&#8217;ll need shell access to your server.  Login to your server, pop into mysql and use the Plesk database (PSA) using the following command:</p>
<pre>
mysql -u admin -p`cat /etc/psa/.psa.shadow`;
use psa;
</pre>
<p>Use the following query to select mailboxes that redirect:</p>
<pre>
select name,mail_name,redir_addr from mail, domains
where mail.dom_id = domains.id and postbox = 'true' and redirect = 'true';
</pre>
<p>Now you&#8217;ve got some ammunition.  Exit out of mysql.</p>
<h2>Finding Big Mailboxes</h2>
<p>A &#8216;mailbox&#8217; in qmail is simply a directory.  Each undelivered message is a file in that directory.  On my  installation of Plesk qmail  is installed in &#8216;/var/qmail/&#8217;   The mailbox for &#8216;jimbo@somedomain.com&#8217; takes the form: &#8216;/var/qmail/somedomain.com/jimbo/Maildir/new&#8217;.</p>
<p>The command below uses &#8216;du&#8217; to grab the size of all the directories in mailnames, grep filters out all but the &#8216;Maildir/new&#8217; directory leaving us with a list of all our mailboxes and their size.  Running them through sort in the manner shown orders them biggest to smallest.  Just the way we want &#8216;em.</p>
<p>Log in as root and run the following:</p>
<pre>
du  /var/qmail/mailnames | grep 'Maildir/new' | sort -rnk1 &gt; mboxsize.txt
</pre>
<p>Sample Output:</p>
<pre>
1047680 /var/qmail/mailnames/somedomain.com/karyon/Maildir/new
123820  /var/qmail/mailnames/somedomain.com/vickih/Maildir/new
94156   /var/qmail/mailnames/somedomain.com/info/Maildir/new
88368   /var/qmail/mailnames/somedomain.com/kathyh/Maildir/new
</pre>
<h2>Delete those Suckers</h2>
<p>Armed with all the mailboxes that forward and a list of the big offenders you wouldn&#8217;t think this would need much explanation, but after several weeks or months of collecting files you may find you have to many files in the directory to delete with a simple &#8220;rm * -f&#8221;.   Apparently there are limits to the number of files you can delete at one time with a wildcard.</p>
<p>If you run into difficulties with rm give this a shot:</p>
<p>CD to the directory and run &#8216;ls -al&#8217;. Note that the name of your server is a string common to all files, replace MYSERVER below with the common string:</p>
<pre>find . -name '*MYSERVER*' | xargs rm</pre>
<p>In your gusto to clean things out remember that there are legitimate reasons to keep a mailbox turned on for forwarded accounts, (The boss may want to be able to review mail sent to sales@ to make sure that leads are being followed up on, etc.) and some users may just get incredible amounts of mail.  With that in mind this should help you keep a lid on things.  Once you&#8217;ve got things cleaned out you may be able to use quotas to help the problem from repeating.</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/managing-orphaned-parallels-plesk-mailboxes-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plain. It&#8217;s the new Fancy.</title>
		<link>http://davekopecek.com/plain-its-the-new-fancy-37/</link>
		<comments>http://davekopecek.com/plain-its-the-new-fancy-37/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 21:32:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[simplicity]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=37</guid>
		<description><![CDATA[For as long as I can remember I&#39;ve spent most of my days solving problems I didn&#39;t know I had when I woke up in the morning. I&#39;ve also liked pepper. On Monday, a casual mention of &#34;Ubuntu Linux &#34; in a magazine sent me off downloading software to burn ISO images (CDBurnerXP Pro ) [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://davekopecek.com/wp-content/uploads/pepper.jpg"><img src="http://davekopecek.com/wp-content/uploads/pepper.jpg" alt="POP (Plain Old Pepper)" title="pepper" width="250" height="253" class="alignleft size-full wp-image-40" /></a>For as long as I can remember I&#39;ve spent most of my days solving problems I didn&#39;t know I had when I woke up in the morning.  I&#39;ve also liked pepper.  On Monday, a casual mention of &quot;<a href="http://www.ubuntu.com/" target="_blank" title="ubuntu linux home">Ubuntu Linux</a> &quot;  in a magazine sent me off downloading software to burn ISO images (<a href="http://www.cdburnerxp.se/download.php" target="_blank" title="CDBurner XP Pro ">CDBurnerXP Pro</a> ) so that I could install this great new gift on a PC abandoned by my father.  In my small home office I&#39;m currently running Windows 2000, Win XP, Fedora Core 6, CentOS 4.6, and am usually connected to a CentOs 4.6 machine and a hand full of Win2k servers.   Since Ubuntu Linux is &quot;linux for human beings&quot;, I thought I&#39;d give it a go.  No dice.  Three quarters of the way through the boot process something would hang, and after multiple attempts I gave up, and surrendered a small portion of my humanity.  Along the way I downloaded a new version of <a href="http://www.bittorrent.com/" target="_blank" title="Bittorrent">bittorrent</a> , and the latest build of <a href="http://torrent.fedoraproject.org/" title="More red hats!! Fedora Core 9">Fedora Core 9</a>.  What the heck. </p>
<p>It&#39;s been dawning on me lately that simple things might actually work better.  I believe the exact moment of this epiphany was when I was trying to build an <a href="http://www.asterisk.org/" target="_blank" title="Asterix - DIY VOIP">Asterix</a>  box for the house. Our 2.4GHz cordless phones (or our neighbors) were knocking out the linksys WRT54G wireless routers I have scattered around.  Something called &quot;Asterix @ Home&quot; (now called <a href="http://asteriskathome.sourceforge.net/" target="_blank" title="Trixbox">trixbox </a> ) beckoned.  Our home would have it&#39;s own multi-line VOIP server connecting us to the world.  I just needed a Plain old phone to test some wiring.  A trip to <a href="http://www.mapquest.com/maps/60+Main+St+Delhi+NY+13753-1121/?" target="_blank" title="Who in their right mind wants to take a virtual tour a Family Dollar Store??">Family Dollar</a>  and $7 later and I had a working phone that sported a callerID display and a bunch of programmable buttons.  That&#39;s when it hit me:  My little family dollar phone had no power supply, no configuring, no patches, no upgrades, and unlike the VOIP box, it got a dial tone.  A miracle, and for less that 10 bucks.  Now I&#39;ve freed up another machine to try to install Ubuntu on. No, wait.</p>
<p>Our new house has a postage stamp sized lawn.  My move to simplicity really started a a bit over a year ago, a  couple weeks after we moved in.  The grass was growing.  Not wanting to be the scourge of the neighborhood I set out to find a lawnmower. I would also need a gas can.  Since, we don&#39;t have a garage, we&#39;d need a shed to store the mower and the gas can.   There were some very cool shed designs in an old issue of <a href="http://www.popularmechanics.com/home_journal/home_improvement/1276536.html" target="blank">popular mechanics</a> at the library, but the grass was really getting up there.</p>
<p>I&#39;m now the proud owner of a 1930&#39;s vintage Montgomery Ward Reel lawnmower.  It&#39;s been lovingly cared for by my 90 year old neighbor since it&#39;s original purchase, and since he has three others he thought $30 was a fair price.  The lawn looks great. It takes about 10 minutes to cut.  The mower fits nicely under the porch wrapped in garbage bags. Spray the blades of a reel mower with Pledge furniture polish, not 10W40 and the grass won&#39;t stick.  It&#39;s simple. It was cheap. It works as well or better that its complicated cousins.</p>
<p>That brings me back to pepper.  I&#39;ve always loved the stuff.  As a kid I thought it was great when waiters in restaurants would come around with giant pepper grinders. Great fun.  I&#39;ve had a succession of cool looking grinders, all of which disappeared during the move.  A crisis.  Must. Have. Pepper.  This lead to the $1.39 cent purchase of the above picture &quot;Best Yet&quot; pepper.  Amazingly enough, this stuff comes <em><strong>pre ground</strong></em> !  And ground to a powdery fine wonderful consistency never attained by any of my fancy grinders. And the taste&#8230;who knew?  Chicken soup suddenly tastes like Grandma&#39;s.  </p>
<p>I&#39;m sold. Simple is the way it should be. </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/plain-its-the-new-fancy-37/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>99% Pure and Up</title>
		<link>http://davekopecek.com/99-pure-and-up-31/</link>
		<comments>http://davekopecek.com/99-pure-and-up-31/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 13:15:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://davekopecek.com/?p=31</guid>
		<description><![CDATA[I&#8217;d pretty much sworn off Chinese food after a series of run-ins with the super-buffet&#8217;s common in the Midwest, and probably elsewhere. Our eastward move to a teeny tiny town has left us with damn few culinary options. After nearly a year, I wandered into Ming Moon, a strip mall restaurant squeezed in between the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-33 alignleft" title="99 Percent Pure" src="http://davekopecek.com/wp-content/uploads/pure-232x300.jpg" alt="99 Percent Pure" width="232" height="300" /></p>
<p>I&#8217;d pretty much sworn off Chinese food after a series of run-ins with the super-buffet&#8217;s common in the Midwest, and probably elsewhere.  Our eastward move to a teeny tiny town has left us with damn few culinary options.  After nearly a year, I wandered into Ming Moon, a strip mall restaurant squeezed in between the Rite-Aid and a Verizon store, and it was a beautiful thing.</p>
<p>Fast forward six months and I&#8217;ve eaten my way through half the menu and, but for the fried dumplings (don&#8217;t let them sit for an hour in a truck and then eat 8 of them), I&#8217;ve been in moo-shoo, won-ton glory.</p>
<p>Last week I found their 100lb secret yummy ingredient, sitting right there for all to see.  Had I known that all these years it was not <em><strong>MSG</strong></em> that was making me feel all itchy and odd, but <em><strong>inferior MSG</strong></em>, oh the time I could have saved.  Like bad drugs cut with rat poison, inferior MSG is ruining perfectly good evenings the world over.</p>
<p>And I&#8217;ll bet this is just the beginning&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://davekopecek.com/99-pure-and-up-31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

