Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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'm looking to write a script (running on linux) that connects to an Exchange inbox (as me) and downloads messages. Is there any open source software out there to support me?


share|improve this question

closed as not constructive by mgorven, Antoine Benkemoun, Bryan, mdpc, John Gardeniers Feb 16 '13 at 7:22

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Does your Exchange server support "standard" protocols like POP3 or IMAP, or does it only support Outlook clients? – Massimo Jun 5 '10 at 16:41
Sadly outlook only :-( – Bosh Jun 5 '10 at 16:56
What you will want to look for is a MAPI command-line client then since it doesn't support POP or IMAP. – jftuga Sep 25 '10 at 13:07

the openchangeclient cli tool does that. Check the screencast:

The instructions on how to create a mapi profile:

It's still beta software, though.

share|improve this answer

I don't think there is anything open source to do that, as Exchange native protocols are Microsoft proprietary, so implementing something like this would be quite difficult.

But you can script almost anything Exchange-related using PowerShell... why is it not enough for your needs?!?

share|improve this answer
I don't have Windows... – Bosh Jun 5 '10 at 16:38
What about a Windows virtual machine with Exchange Management Tools installed? – Massimo Jun 5 '10 at 16:42
Actually, the protocols have been opened up and are free to use for open source projects. – Joe Doyle Sep 25 '10 at 11:55

Is WebDAV available on your exchange server? It is on most, unless explicity disabled I believe. If it is, then I'm sure there's a library that will allow you to do this with WebDAV.

You can check by going to http://SomeExchangeServer/exchange/

Edit: A quick search brought up this tool that might serve the purpose that you need, if WebDAV is enabled:

share|improve this answer