[svlug] archiving IMAP mail???
Joachim Rosenfeld
joerosenfeld at gmail.com
Tue May 6 11:25:47 PDT 2008
I need the help of all you hi-tech Linux gurus with this seemingly
simple, but subtle and difficult problem...
For years, I've done the following with my IMAP accounts:
- popped mail off with fetchmail/getmail (about once a minute)
- sent this through procmail to do filtering/archiving
- stored the mail on local disk and used mutt to read it
Now, I need to change the above slightly with the following requirement:
- I need to use my (IMAP-aware) BlackBerry to read the above mail
I still want to use mutt as my primary client (I prefer to sit at a PC
to do most of my work), but my job requires that I receive mails
realtime and answer them if need be.
I haven't tried it yet, but I know I can point my BlackBerry at the IMAP
server. My only worry is that it will interfere with fetchmail popping
off the mail, i.e. if fetchmail grabs mail every minute on the minute,
my BlackBerry can grab a message at 10:02:40, and 20 seconds later at
10:03:00, fetchmail will come along and check and see that there is no
mail because the BlackBerry grabbed it. The mail is not archived and
mutt never sees this.
How do you guys work in this situation?
One thing that someone suggested is to set up my own IMAP server, and
then after I filter my mail through procmail, send it to my personal
IMAP server where only my BlackBerry will see it and can muck around
with it as much as it likes. I can certainly do that, but it seems to me
that there must be a simpler solution.
Basically, I want to be able to do all of the following
- read mail with mutt
- receive and read mail with my BlackBerry (in realtime)
- have neither my BB nor mutt grab messages and cause the other not to see it
- be able to archive all mail (I want to keep every single message I get)
- be able to filter mail into folders with procmail and use SpamAssasin,
et.al. to filter it
Joe
More information about the svlug
mailing list