Saturday 31 May 2014

Configuration to sync OWA calendars & emails with Gmail

This guide explains how to configure Thunderbird and DavMail to as part of this blog to Sync OWA calendars & emails with a Google account, which is then synced with a mobile phone.
This config uses;
  • A PC running Linux (although it can also be done in Windows),

Note: There are alternative ways to achieve this, I just happen to like this one!

SETUP & CONFIGURATION

DavMail, Main tab

  • Exchange Protocol = EWS
  • OWA (Exchange) URL = https://emea.mail.<your domain>/<Exchange address>
    • In my case exchange address = /ews/exchange.asmx
    • for Exchange 2003 or older = /exchange/
    • for Exchange 2007 = /owa/
  • Start manually without a terminal window
    • sh & ~/MyApps/davmail-linux-x86_64-4.4.0-2198/davmail.sh
  • or start automatically at login (depending on your flavour of linux)
    • add the above location to Startup Applications your Preferences (menu)

Thunderbird, Account Settings
  • File > Add existing email account > Google
  • Server Settings
    • Server Type = IMAP Mail Server
    • Server name = imap.googlemail.com
    • User Name = <your email address, e.g. joe.bloggs@gmaildomain.com>
    • Port = 993
  • Security Settings
    • Connection security = SSL/TLS
    • Authentication method = normal password
  • File > Add existing email account > OWA
  • Server Settings
    • Server Type = IMAP Mail Server
    • Server Type = localhost
    • User Name = <your username, joe.bloggs@owa.com>
    • Port = 1143
  • Security Settings
    • Connection security = None
    • Authentication method = Password, transmitted insecurely

Outgoing Server (SMTP)
  • Google SMTP Mail
    • Sever Name = smtp.googlemail.com
    • Port = 465
    • User Name = joe.bloggs@adomain.com
    • Authentication method = Password, transmitted insecurely
    • Connection Security = None
  • OWA Mail
    • Sever Name = localhost
    • Port = 1025
    • User Name = joe.bloggs
    • Authentication method = Password, transmitted insecurely
    • Connection Security = None



Thunderbird, Filters
To avoid multiple copies of the same email in the Gmail account, mark the OWA message as being sent.

  • Tools > Manage Filters

    • Copy all email from OWA into Gmail, if they are not tagged, e.g. 'sentToGmail'
    • Tag OWA email, e.g. sentToGmail

No comments:

Post a Comment