Evolution Connector

== OWA username and mailboxname is not the same ==
I had some problems connecting to my company email account (the serever running on MS Exchange with OWA enabled). The problem seems to be that in the setup we have the username and mailboxname are not the same and since Evolution 2.x the setup don't let you specify these setting seperatly (in 1.4 you had a textbox for each did).
I solved it by fetching the gconf.xml file from a machine I knew I had a working setup.
So here is a quick tutorial if you have the same problem.

* Shutdown Evolution and all it's processes.
* Start GConf editor. '''Applications -> System Tools -> Configuration Editor''' on Ubuntu or just run the program gconf-editor from a (X)terminal.
* In the tree brows to /apps/evolution/mail
* Open the accounts key for editing.
* Add a new item to the list with the following XML document as a one-liner. You will have to change some adressesa and username to fit your setup.

  <?xml version="1.0"?>
  <account name="Exchange" uid="1109070102.12239.0@yourmachine" enabled="true">
    <identity>
      <name>Your Name</name>
      <addr-spec>your.email@example.com</addr-spec>
      <reply-to>your.email@example.com</reply-to>
      <organization>Your Organisation</organization>
    </identity>
    <source save-passwd="true" keep-on-server="false" auto-check="true" auto-check-timeout="10">
    <url>exchange://username;auth=Basic@webmail.example.com/;pf_server=webmail.example.com;owa_path=/exchange;mailbox=your.mailbox;ad_limit=500;ad_server=your.ad.server.example.com;use_ssl=always</url>
    </source>
    <transport save-passwd="false">
     <url>exchange://username;auth=Basic@webmail.example.com/;pf_server=webmail.example.com;owa_path=/exchange;mailbox=your.mailbox;ad_limit=500;ad_server=your.ad.server.example.com;use_ssl=always</url>
    </transport>
    <drafts-folder>exchange://username@webmail.example.com/personal/Drafts</drafts-folder>
    <sent-folder>exchange://username@webmail.example.com/personal/Sent Items</sent-folder>
    <auto-cc always="false"><recipients></recipients></auto-cc>
    <auto-bcc always="false"><recipients></recipients></auto-bcc>
    <pgp encrypt-to-self="false" always-trust="false" always-sign="false" no-imip-sign="false">
      <key-id></key-id>
    </pgp>
    <smime sign-default="false" encrypt-default="false" encrypt-to-self="false">
      <sign-key-id></sign-key-id>
      <encrypt-key-id></encrypt-key-id>
    </smime>
  </account>

* Start Evolution