<?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>Racker Hacker &#187; imap</title>
	<atom:link href="http://rackerhacker.com/tag/imap/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Tue, 07 Feb 2012 14:07:41 +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>Deleting all e-mail messages in your inbox with mutt</title>
		<link>http://rackerhacker.com/2009/06/19/deleting-all-e-mail-messages-in-your-inbox-with-mutt/</link>
		<comments>http://rackerhacker.com/2009/06/19/deleting-all-e-mail-messages-in-your-inbox-with-mutt/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 17:37:58 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mutt]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=934</guid>
		<description><![CDATA[Occasionally, I'll end up with a mailbox full of random data, alerts, or other useless things. If you have SSH access to the server, you can always clear out your mail spool, but if you connect to an IMAP server, you can use mutt to do the same thing. First, use mutt to connect to [...]<p><a href="http://rackerhacker.com/2009/06/19/deleting-all-e-mail-messages-in-your-inbox-with-mutt/">Deleting all e-mail messages in your inbox with mutt</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>Occasionally, I'll end up with a mailbox full of random data, alerts, or other useless things.  If you have SSH access to the server, you can always clear out your mail spool, but if you connect to an IMAP server, you can use mutt to do the same thing.</p>
<p>First, use mutt to connect to your server remotely (via IMAP over SSL in this example):</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">mutt -f imaps://mail.yourdomain.com/</pre></div></div>

<p>Once you've connected and logged in, press <strong>SHIFT-D</strong> (uppercase d).  The status bar of mutt should show:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Delete messages matching:</pre></div></div>

<p>Type in <code>~s .*</code> so that the line looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">Delete messages matching: ~s .*</pre></div></div>

<p>When you press enter, mutt will put a <strong>D</strong> next to all of the messages, which marks them for deletion.  Press <code>q</code> to quit, and then <code>y</code> to confirm the deletion.  After a brief moment, all of those messages will be deleted and mutt will exit.</p>
<p><b>Update:</b> If you review Dmitri's comment below, there's an even faster way to remove all of the messages in a mailbox with mutt.  Just hold shift while pressing D, ~ (tilde), and A to select everything:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">D~A</pre></div></div>

<p><a href="http://rackerhacker.com/2009/06/19/deleting-all-e-mail-messages-in-your-inbox-with-mutt/">Deleting all e-mail messages in your inbox with mutt</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/06/19/deleting-all-e-mail-messages-in-your-inbox-with-mutt/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Plesk 8.4.0: Unable to use short names for POP3/IMAP</title>
		<link>http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/</link>
		<comments>http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 16:08:50 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[courier-imap]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[pop3]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=318</guid>
		<description><![CDATA[If you recently upgraded to Plesk 8.4.0 with short names enabled, you may have found that it's working with SMTP, but it doesn't work with POP3 or IMAP. There's a bug in the Plesk version that prevents the courier configuration from being updated. To correct the issue, first make sure that Plesk has short names [...]<p><a href="http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/">Plesk 8.4.0: Unable to use short names for POP3/IMAP</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>If you recently upgraded to Plesk 8.4.0 with short names enabled, you may have found that it's working with SMTP, but it doesn't work with POP3 or IMAP.  There's a bug in the Plesk version that prevents the courier configuration from being updated.</p>
<p>To correct the issue, first make sure that Plesk has short names enabled (Server &gt; Mail).  Once you've confirmed that Plesk thinks it's enabled, add <code>SHORTNAMES=1</code> to the following configuration files:</p>
<ul>
<li>/etc/courier-imap/imapd</li>
<li>/etc/courier-imap/imapd-ssl</li>
<li>/etc/courier-imap/pop3d</li>
<li>/etc/courier-imap/pop3d-ssl</li>
</ul>
<p>Restart courier-imap with <code>/etc/init.d/courier-imap restart</code> and you should be all set.</p>
<p><a href="http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/">Plesk 8.4.0: Unable to use short names for POP3/IMAP</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2008/07/28/plesk-840-unable-to-use-short-names-for-pop3imap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

