<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Howto: Access a POP3 Mailbox as a Filesystem</title>
	<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Sat, 22 Nov 2008 15:39:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6419</link>
		<pubDate>Thu, 04 Oct 2007 13:26:37 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6419</guid>
					<description>&lt;strong&gt;@ths&lt;/strong&gt; - yeah, wordpress eats the brackets in regular comments. Check out the little buttons above the comment box - one of them is labeled "Code".

Hit that one and it will put &;t;pre lang="java"&#62;&#60;/pre&#62; around highlighted text. Anything inside will be typed out verbatim - including HTML brackets. Oh, and it will do code highlighting. You can change the lang attribute to perl for better effect. The plugin actually does few dozen popular languages. :)

Pretty cool solution btw! Actually it's better than mine which was was a bit on the fast and lazy side - just install a plugin for TC, and access the mailbox as a filesystem. ;)</description>
		<content:encoded><![CDATA[<p><strong>@ths</strong> - yeah, wordpress eats the brackets in regular comments. Check out the little buttons above the comment box - one of them is labeled &#8220;Code&#8221;.</p>
<p>Hit that one and it will put &;t;pre lang=&#8221;java&#8221;&gt;&lt;/pre&gt; around highlighted text. Anything inside will be typed out verbatim - including HTML brackets. Oh, and it will do code highlighting. You can change the lang attribute to perl for better effect. The plugin actually does few dozen popular languages. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif" alt=")" class="wp-smiley" /> </p>
<p>Pretty cool solution btw! Actually it&#8217;s better than mine which was was a bit on the fast and lazy side - just install a plugin for TC, and access the mailbox as a filesystem. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_wink.gif" alt=")" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ths</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6414</link>
		<pubDate>Thu, 04 Oct 2007 06:23:57 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6414</guid>
					<description>hey, it swallows lt and gt in my perl script. grr.

the rest should read like

$pop-&#62;delete($msgnum) if ($date meets some condition);
}
$pop-&#62;quit();</description>
		<content:encoded><![CDATA[<p>hey, it swallows lt and gt in my perl script. grr.</p>
<p>the rest should read like</p>
<p>$pop-&gt;delete($msgnum) if ($date meets some condition);<br />
}<br />
$pop-&gt;quit();
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ths</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6413</link>
		<pubDate>Thu, 04 Oct 2007 06:21:09 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6413</guid>
					<description>use perl;
it has a wonderful POP3 module (cpan.org) and in 20 lines you can write a mail killer for all sorts of criteria. no need to setup windows box or buy TC.

#!/usr/bin/perl
use Net::POP3;
$pop = Net::POP3-&#62;new( shift, Timeout =&#62; 15, Debug =&#62; 0 ) &#124;&#124;
  die "#! Could not connect: $!";
$rc=($pop-&#62;apop($user,$pass); # or $pop-&#62;login($u,$p))

$msgs=$pop-&#62;list();
($num,$size)=$pop-&#62;popstat();

foreach my $msgnum (sort(keys(%{$msgs}))) {
  my ($msg);

  print STDERR "# Msg $msgnum\n";
  $msg=$pop-&#62;top($msgnum);
  chomp(@{$msg});
  ($date)=grep(/^Date:\s/,@{$msg});
  $pop-&#62;delete($msgnum) if ($date quit();</description>
		<content:encoded><![CDATA[<p>use perl;<br />
it has a wonderful POP3 module (cpan.org) and in 20 lines you can write a mail killer for all sorts of criteria. no need to setup windows box or buy TC.</p>
<p>#!/usr/bin/perl<br />
use Net::POP3;<br />
$pop = Net::POP3-&gt;new( shift, Timeout =&gt; 15, Debug =&gt; 0 ) ||<br />
  die &#8220;#! Could not connect: $!&#8221;;<br />
$rc=($pop-&gt;apop($user,$pass); # or $pop-&gt;login($u,$p))</p>
<p>$msgs=$pop-&gt;list();<br />
($num,$size)=$pop-&gt;popstat();</p>
<p>foreach my $msgnum (sort(keys(%{$msgs}))) {<br />
  my ($msg);</p>
<p>  print STDERR &#8220;# Msg $msgnum\n&#8221;;<br />
  $msg=$pop-&gt;top($msgnum);<br />
  chomp(@{$msg});<br />
  ($date)=grep(/^Date:\s/,@{$msg});<br />
  $pop-&gt;delete($msgnum) if ($date quit();
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: teamcoltra</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2914</link>
		<pubDate>Sun, 11 Feb 2007 00:36:05 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2914</guid>
					<description>Yeah, its kinda a personal thing for me but its a really cool tool. I was just showing another cool thing that does something similar. I hate computer based things I like doing everything virtually.</description>
		<content:encoded><![CDATA[<p>Yeah, its kinda a personal thing for me but its a really cool tool. I was just showing another cool thing that does something similar. I hate computer based things I like doing everything virtually.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2913</link>
		<pubDate>Sun, 11 Feb 2007 00:28:54 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2913</guid>
					<description>As a rule, I don't submit my email username and passwords to 3rd party sites. So, what does that thing do?

Btw, I'm assuming this works for Gmail only. The method I described above works for any POP3 email.</description>
		<content:encoded><![CDATA[<p>As a rule, I don&#8217;t submit my email username and passwords to 3rd party sites. So, what does that thing do?</p>
<p>Btw, I&#8217;m assuming this works for Gmail only. The method I described above works for any POP3 email.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: teamcoltra</title>
		<link>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2912</link>
		<pubDate>Sat, 10 Feb 2007 23:13:25 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2912</guid>
					<description>http://www.geeksparadox.com/gdrive</description>
		<content:encoded><![CDATA[<p><a href="http://www.geeksparadox.com/gdrive" rel="nofollow">http://www.geeksparadox.com/gdrive</a>
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 3.832 seconds -->
