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.
- Create a folder in your home directory called exchange-sync.
- 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
- Download the sample properties file to the same folder: https://github.com/gdenning/exchange-sync/releases/download/v1.0.0/exchangesync.properties
- 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.
- 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
- 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.)
- Install Maven and Git:
sudo apt-get install maven git
- Change to your home folder:
cd ~
- Download the source:
git clone https://github.com/gdenning/exchange-sync.git
- Change to the exchange-sync folder:
cd exchange-sync
- Set the permissions on the shell script:
sudo chmod u+x installEWSAPI.sh
- Install the EWS library:
./installEWSAPI.sh
- 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.
- Copy exchangesync.properties to your home folder:
cp exchangesync.properties ~/exchangesync.properties
- Compile the application:
mvn install
- 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
- 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.)