Comments on: Howto: Access a POP3 Mailbox as a Filesystem http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Chris Wellons http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-12036 Wed, 15 Apr 2009 14:21:48 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-12036

This didn’t exist back when you wrote this, but someone wrote a POP3 FUSE filesystem: fuse-mail. A POP3 mailbox can be mounted anywhere, and mail appear as files inside the mount point. Trying it now, it doesn’t seem to work very well, and I ran into a few bugs setting it up.

I don’t think it would have been useful for your task, either. It seems to only be able to fetch mail and present it. No mail management.

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6419 Thu, 04 Oct 2007 13:26:37 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6419

@ths – 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”></pre> 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. ;)

Reply  |  Quote
]]>
By: ths http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6414 Thu, 04 Oct 2007 06:23:57 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6414

hey, it swallows lt and gt in my perl script. grr.

the rest should read like

$pop->delete($msgnum) if ($date meets some condition);
}
$pop->quit();

Reply  |  Quote
]]>
By: ths http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6413 Thu, 04 Oct 2007 06:21:09 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-6413

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->new( shift, Timeout => 15, Debug => 0 ) ||
die “#! Could not connect: $!”;
$rc=($pop->apop($user,$pass); # or $pop->login($u,$p))

$msgs=$pop->list();
($num,$size)=$pop->popstat();

foreach my $msgnum (sort(keys(%{$msgs}))) {
my ($msg);

print STDERR “# Msg $msgnum\n”;
$msg=$pop->top($msgnum);
chomp(@{$msg});
($date)=grep(/^Date:\s/,@{$msg});
$pop->delete($msgnum) if ($date quit();

Reply  |  Quote
]]>
By: teamcoltra http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2914 Sun, 11 Feb 2007 00:36:05 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2914

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.

Reply  |  Quote
]]>
By: Luke http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2913 Sun, 11 Feb 2007 00:28:54 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2913

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.

Reply  |  Quote
]]>
By: teamcoltra http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2912 Sat, 10 Feb 2007 23:13:25 +0000 http://www.terminally-incoherent.com/blog/2006/11/27/howto-access-a-pop3-mailbox-as-a-filesystem/#comment-2912

http://www.geeksparadox.com/gdrive

Reply  |  Quote
]]>