<?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>Remember the code? &#187; system</title>
	<atom:link href="http://code.neox.net/category/system/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.neox.net</link>
	<description>a place where I store my secret powerful coding snippets, or just to remember how to do things</description>
	<lastBuildDate>Fri, 19 Jun 2009 11:36:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>hosting migration &#8211; moving email data from Mbox to Maildir</title>
		<link>http://code.neox.net/2008/06/25/hosting-server-migration-moving-email-data/</link>
		<comments>http://code.neox.net/2008/06/25/hosting-server-migration-moving-email-data/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 17:11:47 +0000</pubDate>
		<dc:creator>HanaDaddy</dc:creator>
				<category><![CDATA[system]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[maildir]]></category>
		<category><![CDATA[mbox]]></category>

		<guid isPermaLink="false">http://code.neox.net/?p=36</guid>
		<description><![CDATA[Recently I moved to a new hosting provider . It&#8217;s much better than the previous one.  I used to use a dedicated server but I have no time to take care the server and softwares and it was much expensive anyway. This new server provides cpanel and I like it . Its easy to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I moved to a new hosting provider . It&#8217;s much better than the previous one.  I used to use a dedicated server but I have no time to take care the server and softwares and it was much expensive anyway. This new server provides cpanel and I like it . Its easy to use and provides powerful functions. </p>
<p>But there was no function to migrate or import existing mails into the newly created email account. </p>
<p>So I have searched the Internet and found <a href='http://batleth.sapienti-sat.org/projects/mb2md/'>mb2md.pl</a> . Mbox to Maildir migration perl utility. You can download and save it into PATH registered folder and rename it to mb2md and <code>chmod 755 mb2md</code> to execute it.</p>
<p><strong>Inbox import </strong>: Importing <code>source_mbox_file</code> into current maildir account. Note that  <code>/home/userid/target_dir</code> is the root folder of your maildir account. You will need to use full path for both source file and target dir.</p>

<div class="wp_syntax"><div class="code"><pre>mb2md -s  /home/userid/source_mbox_file -d /home/userid/target_dir</pre></div></div>

<p><strong>Multi files in a folder</strong> : multi mbox files are located in <code>/home/userid/source_dir</code> and the <code>/home/userid/target_dir</code> is the root of your maildir account. Also you need to use full path for source and target dir.</p>

<div class="wp_syntax"><div class="code"><pre>mb2md -s /home/userid/source_dir -R -d /home/userid/target_dir</pre></div></div>

<p>After importing mutliple mboxes , you want to login to your Squirrelmail or Roundcube webmail and subscribe mailboxes to make them showing in the mailbox list.</p>
]]></content:encoded>
			<wfw:commentRss>http://code.neox.net/2008/06/25/hosting-server-migration-moving-email-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
