Mail client idea
Everyone in my mail client’s address book should get their own saved-mail folder, so mail from them goes into that folder by default (either on delivery or after I’ve read it). Can I do this in mutt? Can I do it in GUI clients? Is this a VFolder sort of job?
Mutt has something fairly close: read about its save_address, save_name and force_name options. If is not what you want, you can use save-hooks, although that will be more manual.
9 hours later
A vFolder could do it easily, but that requires using evolution which might not to be your taste.
10 hours later
You could do it on the server side, if you use IMAP. Use procmail or mailfilter to forward the message to a Python/Perl script. The script checks if the address is on you address book, and if there’s already a mail folder for the person, and saves the message on the folder.
The only problem is that IMAP is slow with mutt, since there’s no cache of the folders.
20 hours later
Can’t do it on the server, because the server hasn’t got your address book :)
20 hours later
My address book is on my mail server — I use LDAP. :)
I even made a Python script to query the LDAP server from inside mutt… works flawlessly.
23 hours later
Ah, well, flash people with LDAP might handle this differently :) My head hurts even thinking about IMAP, let alone storing my address book remotely!
25 hours later
It’s easier than you think. :)
“uilding an Address Book with OpenLDAP”:http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html
26 hours later
Oops, that should be “Building…”, inside a Textile link. Sorry.
26 hours later