Sam Varshavchik <mrs...@courier-mta.com> writes:
John J Foerch writes:
My ultimate goal is to be able to manage, sort, and archive my email
with command-line tools, just as if I were sorting and archiving any
other type of file in a unix environment.
Sounds like maildirs to me.
I would like to be able to
sort the messages without modifying them in any way.
Yes, that's what maildirs are for.
It seems that
there is a scarcity of tools for managing email in this way.
There are plenty of tools for that: bash, perl, awk, and grep. Once
your mail is in the maildir format, you can use these tools with mail
just like you'd use them with other files.
Furthermore, maildrop has additional tools that go beyond simple file
manipulations. reformime, for example, lets you do all kinds of things
with MIME content. mimegpg, for example, lets you handle with
encrypted and signed messages.
Good to know I'm on the right track with using maildir as a basis for
my email system. However, there is a problem for which I don't have a
clear solution yet: how to have a single point of mail filtering that
can be used whether I am downloading new email with fetchmail, or
whether I am re-sorting old email. I would like to avoid having
parallel filtering rules in both my .mailfilter for maildrop, plus a set
of filtering rules in some shell script I hack together.
Any ideas?
Thank you,
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H