5

I want to update my local Thunderbird address book with a list of valid email addresses on an IMAP server. I'm not that familiar with IMAP, does it allow this? If so, could someone point me to an existing code library (preferably python) that allows me to do this?

thanks.

6

IMAP only deals with folders of RFC822 messages. There's no standard for contact storage on the server. That said, I believe Exchange makes contacts available via its IMAP server in a non-standard fashion. I am not aware of a library that makes it easy to use this information.

Most desktop IMAP clients allow you to use an LDAP directory to augment your contact list. If the IMAP server also uses this LDAP directory for authentication, your client can search the list of valid addresses.

4

IMAP -- by itself -- does not provide any functionality for synchronizing contacts. IMAP is essentially a remote file access protocol with some mail-specific metadata trappings. You can use it to (a) get message, (b) store messages, and (c) search for messages, and that's it.

You can use an IMAP server to synchronize contacts between multiple mail clients by simply storing your address book as a "message" on the IMAP server. Alpine does this, and uses the same technique for synchronizing configurations across multiple systems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.