* [sup-devel] Snippet: Copy unread messages to maildir
@ 2010-10-25 20:32 Michael Stapelberg
2010-10-26 0:50 ` Ben Walton
0 siblings, 1 reply; 2+ messages in thread
From: Michael Stapelberg @ 2010-10-25 20:32 UTC (permalink / raw)
To: sup-devel
[-- Attachment #1: Type: text/plain, Size: 485 bytes --]
Hi,
I thought it would be a good idea to copy the unread messages from my sup inbox
to a separate maildir to access it from my phone. Turns out that once you are
spoiled with sup, you cannot go back to "normal" mail clients (k-9 mail in this
case) ;-).
Nevertheless, I thought maybe somebody could use the code I wrote. I’m
attaching it to this mail, but beware, it still has a bug: It crashes when
exporting messages sometimes. It also uses absolute paths.
Best regards,
Michael
[-- Attachment #2: copy-unread.rb --]
[-- Type: application/x-ruby, Size: 850 bytes --]
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sup-devel] Snippet: Copy unread messages to maildir
2010-10-25 20:32 [sup-devel] Snippet: Copy unread messages to maildir Michael Stapelberg
@ 2010-10-26 0:50 ` Ben Walton
0 siblings, 0 replies; 2+ messages in thread
From: Ben Walton @ 2010-10-26 0:50 UTC (permalink / raw)
To: sup-devel
Excerpts from Michael Stapelberg's message of Mon Oct 25 16:32:18 -0400 2010:
> I thought it would be a good idea to copy the unread messages from
> my sup inbox to a separate maildir to access it from my phone. Turns
> out that once you are spoiled with sup, you cannot go back to
> "normal" mail clients (k-9 mail in this case) ;-).
I just started doing this too. My approach is different though. I'm
using procmail to :0c (copy) any mail that is addressed directly to me
into the Inbox. All other mail is diverted to folders like
.incoming.2010.10/. (I have a hook that automatically adds new
sources as they appear...)
Now, if I could get my phone to supply In-Reply-To and friends, my sup
interaction while mobile would be in much better shape!
Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-26 5:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-25 20:32 [sup-devel] Snippet: Copy unread messages to maildir Michael Stapelberg
2010-10-26 0:50 ` Ben Walton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox