Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks!

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

3 Answers 3

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. microsoft.com/openspecifications –  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: http://www.saunalahti.fi/juhrauti/index.html

share|improve this answer

the openchangeclient cli tool does that. Check the screencast: http://www.dailymotion.com/video/x1ul95_openchangeclient-screencast_tech

The instructions on how to create a mapi profile: http://tracker.openchange.org/projects/openchange/wiki/HowTo_Setup_OpenChange_Client

It's still beta software, though.

share|improve this answer