Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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