Skip to content

Transfers Exchange data to various data sources (pluggable). Currently supports Tasks (to Remember the Milk) and Appointments (to Google Calendar). Can act as a replacement for Google Calendar Sync on non-Windows machines.

Notifications You must be signed in to change notification settings

insanum/exchange-sync

 
 

Repository files navigation

Overview

Exchange Sync will read data from your Exchange account and export flagged emails (not Exchange tasks) to Remember The Milk, and calendar appointments to Google Calendar. It will not modify data in your Exchange account in any way. Google has a similar service for Windows users called Google Calendar Sync. This application can be considered Google Calendar Sync for Linux and Mac (but will also work on Windows), with the additional Remember The Milk functionality.

Linux Usage Instructions

  1. Create a folder in your home directory called exchange-sync.
  2. Download the release jar to ~/exchange-sync: https://github.com/gdenning/exchange-sync/releases/download/v1.0.0/exchangesync-1.0.0-SNAPSHOT-jar-with-dependencies.jar
  3. Download the sample properties file to the same folder: https://github.com/gdenning/exchange-sync/releases/download/v1.0.0/exchangesync.properties
  4. Modify exchangesync.properties file as follows:
    • Set exchangeHost to the hostname you usually use to access Outlook Web Access.
    • Set exchangeDomain, exchangeUsername, exchangePassword to your Microsoft Exchange domain, username, and password.
    • Set rtmListName to the name of the Remember the Milk list that you want to export tasks to.
    • Set googleCalendarName to the name of the Google Calendar that you want to export appointments to. This should match one of the calendar names under the "My Calendars" list on the left-hand side of your Google Calendar view.
  5. Create a symlink to the jar to simplify upgrades: ln -s ~/exchange-sync/exchangesync-1.0.0-SNAPSHOT-jar-with-dependencies.jar ~/exchange-sync/exchangesync.jar
  6. Add the following line to your /etc/crontab file: */30 * * * * user java -jar ~/exchange-sync/exchangesync.jar > ~/exchange-sync/exchangesync.log 2>&1 (You will need to change "user" to your username.)

Developer Instructions

  1. Install Maven and Git: sudo apt-get install maven git
  2. Change to your home folder: cd ~
  3. Download the source: git clone https://github.com/gdenning/exchange-sync.git
  4. Change to the exchange-sync folder: cd exchange-sync
  5. Set the permissions on the shell script: sudo chmod u+x installEWSAPI.sh
  6. Install the EWS library: ./installEWSAPI.sh
  7. Modify exchangesync.properties as follows:
    • Set exchangeHost to the hostname you usually use to access Outlook Web Access.
    • Set exchangeDomain, exchangeUsername, exchangePassword to your Microsoft Exchange domain, username, and password.
    • Set rtmListName to the name of the Remember the Milk list that you want to export tasks to.
    • Set googleCalendarName to the name of the Google Calendar that you want to export appointments to. This should match one of the calendar names under the "My Calendars" list on the left-hand side of your Google Calendar view.
  8. Copy exchangesync.properties to your home folder: cp exchangesync.properties ~/exchangesync.properties
  9. Compile the application: mvn install
  10. Create a symlink to the application in your home directory: ln -s ~/exchange-sync/target/exchangesync-1.0.0-SNAPSHOT-jar-with-dependencies.jar ~/exchangesync.jar
  11. Add the following line to your /etc/crontab file: */30 * * * * user java -jar ~/exchangesync.jar > ~/exchangesync.log 2>&1 (You will need to change "user" to your username.)

About

Transfers Exchange data to various data sources (pluggable). Currently supports Tasks (to Remember the Milk) and Appointments (to Google Calendar). Can act as a replacement for Google Calendar Sync on non-Windows machines.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.6%
  • Other 0.4%