2009-01-17 10:02:42 -05:00
|
|
|
<?xml version="1.0"?>
|
2009-08-07 06:26:29 -04:00
|
|
|
<document xmlns="http://maven.apache.org/XDOC/2.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
|
2009-01-17 10:02:42 -05:00
|
|
|
|
|
|
|
<properties>
|
2010-07-26 12:10:37 -04:00
|
|
|
<title>DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway - Frequently asked questions</title>
|
2009-01-17 10:02:42 -05:00
|
|
|
<author email="mguessan@free.fr">Mickael Guessant</author>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<section name="Frequently asked questions">
|
|
|
|
<p>Frequently asked questions on DavMail forums, mailing list or direct email.
|
|
|
|
</p>
|
2009-08-18 06:14:27 -04:00
|
|
|
<subsection name="Feedback">
|
|
|
|
<p>
|
|
|
|
<strong>How do I create a WIRE debug log ?</strong>
|
|
|
|
</p>
|
|
|
|
<p>In DavMail trackers and forums, I often ask for a WIRE debug log. To create this
|
2010-10-21 05:05:14 -04:00
|
|
|
log file, you will need to change DavMail settings under the Logging tab.
|
2009-08-18 06:14:27 -04:00
|
|
|
Set the WIRE logging category to DEBUG level.
|
|
|
|
</p>
|
2010-07-07 17:54:20 -04:00
|
|
|
<p>You can then reproduce your issue and send the log file to
|
2009-08-18 06:14:27 -04:00
|
|
|
<a href="mailto:mguessan@free.fr">mguessan@free.fr</a>
|
|
|
|
</p>
|
|
|
|
<p>The davmail.log file is available in DavMail working directory on Unix and Windows,
|
|
|
|
~/Library/Logs/DavMail/davmail.log on OSX. This default path can be customized with
|
|
|
|
the
|
|
|
|
<code>Log File Path</code>
|
|
|
|
setting.
|
|
|
|
</p>
|
|
|
|
</subsection>
|
2009-08-07 06:26:29 -04:00
|
|
|
<subsection name="General">
|
2009-01-17 10:02:42 -05:00
|
|
|
<p>
|
2009-01-17 11:15:46 -05:00
|
|
|
<strong>Authentication fails with invalid user or password message</strong>
|
2009-01-17 10:02:42 -05:00
|
|
|
</p>
|
|
|
|
<p>Authentication fails with the following message:
|
|
|
|
<code>Authentication failed: invalid user or password, retry with domain\user</code>
|
|
|
|
</p>
|
|
|
|
<p>Exchange before 2007 expects domain qualified user name, you may not have
|
|
|
|
to provide the domain name on the logon form if javascript is used to add it,
|
|
|
|
but DavMail can not execute javascript. Thus you need to prefix your user name
|
|
|
|
with the Active Directory domain followed by \
|
|
|
|
</p>
|
2009-01-17 11:15:46 -05:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Authentication fails with error in parsing the status line</strong>
|
|
|
|
</p>
|
|
|
|
<p>Authentication fails with the following message:
|
|
|
|
<code>error in parsing the status line from the response: unable to find line starting with "HTTP"
|
|
|
|
</code>
|
2009-01-17 10:02:42 -05:00
|
|
|
</p>
|
2009-01-17 11:15:46 -05:00
|
|
|
<p>Your Exchange server expects HTTPS (secured) connections, use https instead of http in
|
|
|
|
OWA url.
|
2009-01-17 10:02:42 -05:00
|
|
|
</p>
|
2010-02-12 05:29:34 -05:00
|
|
|
<p>
|
|
|
|
<strong>Where can I find DavMail settings file</strong>
|
|
|
|
</p>
|
|
|
|
<p>The default location for DavMail settings is a file named .davmail.properties in user home
|
2010-04-09 04:18:06 -04:00
|
|
|
folder. This file is hidden under Linux and OSX. On windows, the user home folder is under
|
|
|
|
<code>Document and Settings</code>
|
|
|
|
</p>
|
2010-02-12 05:29:34 -05:00
|
|
|
|
2009-08-07 06:26:29 -04:00
|
|
|
</subsection>
|
2009-01-17 11:15:46 -05:00
|
|
|
|
2010-01-20 17:01:36 -05:00
|
|
|
<subsection name="Exchange setup">
|
|
|
|
<p>
|
|
|
|
<strong>What are the prerequisites on Exchange server side ?</strong>
|
|
|
|
</p>
|
|
|
|
<p>With Exchange 2003, you only need to have access to OWA (Outlook Web Access), Webdav, Address Book
|
|
|
|
and public folders are always available. Unfortunately, this is not the case with Exchange 2007.
|
|
|
|
You must make sure Webdav support is enabled on your server. You can test this by accessing
|
|
|
|
https://mail.company.com/exchange, which should redirect to /owa. Another important service is the
|
|
|
|
galfind (address book) access at /public/?Cmd=galfind
|
|
|
|
</p>
|
2010-08-26 05:01:51 -04:00
|
|
|
<p>Additional information for Exchange administrators to enable WebDav:</p>
|
|
|
|
<p>After running through the pre-requisite checker for each server (Front End CAS server and
|
|
|
|
Back End Mailbox server) and adding the appropriate roles and features, add the following
|
|
|
|
via the ServerManager:
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<li>Select the IIS role, then add Role Services</li>
|
|
|
|
<li>Add WebDav Publishing (both Cas server and Mailbox Server)</li>
|
|
|
|
<li>On the Mailbox server, add the ISAPI extensions Role Service to the IIS role</li>
|
2010-10-21 05:05:14 -04:00
|
|
|
<li>On the Default Web Site (each server), enable WebDav</li>
|
2010-08-26 05:01:51 -04:00
|
|
|
<li>Should not have to enable any additional WebDav rules</li>
|
|
|
|
<li>Install the server roles</li>
|
|
|
|
<li>Create a test mailbox (see Exchange Docs)</li>
|
|
|
|
</ul>
|
|
|
|
<p>To Test:</p>
|
|
|
|
<ul>
|
|
|
|
<li>Ensure that Outlook Web Access works by using the https://<i>exchangeServer</i>/owa URL
|
|
|
|
</li>
|
|
|
|
<li>Try using the pass through legacy URL: https://<i>exchangeServer</i>/exchange,
|
|
|
|
if you receive an error 500 “Internal Server Error”, then WebDav is not working.
|
|
|
|
</li>
|
|
|
|
</ul>
|
2010-01-20 17:01:36 -05:00
|
|
|
<p>
|
|
|
|
<strong>Is Exchange 2010 supported ?</strong>
|
|
|
|
</p>
|
2010-10-21 05:05:14 -04:00
|
|
|
<p>As Microsoft decided to drop WebDav support in Exchange 2010, I had to implement a new backend from
|
|
|
|
scratch to support the new Exchange Web Services interface. This support is still experimental,
|
|
|
|
but is working quite well. However, you still need to enable it manually in .davmail.properties
|
|
|
|
with the following line:
|
|
|
|
<br/>
|
|
|
|
<source>davmail.enableEws=true</source>
|
|
|
|
<br/>
|
2010-07-07 18:25:37 -04:00
|
|
|
</p>
|
|
|
|
</subsection>
|
|
|
|
|
|
|
|
<subsection name="OSX">
|
|
|
|
<p>
|
|
|
|
<strong>How do I make DavMail start automatically ?</strong>
|
|
|
|
</p>
|
|
|
|
<p>Add DavMail.app to "Login Items", see
|
|
|
|
<a href="http://docs.info.apple.com/article.html?path=Mac/10.6/en/15189.html">
|
|
|
|
Opening items automatically when you log in
|
|
|
|
</a>
|
2010-01-20 17:24:45 -05:00
|
|
|
</p>
|
|
|
|
</subsection>
|
|
|
|
|
2010-12-28 19:19:51 -05:00
|
|
|
<subsection name="Linux">
|
|
|
|
<p>
|
|
|
|
<strong>Why do I get black on black notifications on Ubuntu ?</strong>
|
|
|
|
</p>
|
|
|
|
<p>This is an SWT bug, upgrade to SWT 3.6, see
|
|
|
|
<a href="https://sourceforge.net/tracker/?func=detail&atid=909904&aid=3138023&group_id=184600">
|
|
|
|
On Ubuntu, notify text conflicts with default theme.
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</subsection>
|
|
|
|
|
|
|
|
|
2010-01-20 17:24:45 -05:00
|
|
|
<subsection name="Security">
|
|
|
|
<p>
|
|
|
|
<strong>How do I secure DavMail connections ?</strong>
|
|
|
|
</p>
|
2010-08-26 04:39:38 -04:00
|
|
|
<p>Communication between DavMail and your Exchange server is secured by default as long as you access
|
2010-02-12 05:29:34 -05:00
|
|
|
OWA over HTTPS.
|
|
|
|
</p>
|
|
|
|
<p>Communication between the messaging client and DavMail is
|
|
|
|
<em>not</em>
|
|
|
|
secured by default. This is not an issue in standalone mode as all communication is local, but you
|
2010-10-21 05:05:14 -04:00
|
|
|
may want to improve this in server (shared) mode.
|
2010-02-12 05:29:34 -05:00
|
|
|
</p>
|
|
|
|
<p>This is quite simple: you just need to get a server certificate in PKCS12 or JKS format and add it in
|
2010-10-21 05:05:14 -04:00
|
|
|
the key store section in DavMail settings, see <a href="sslsetup.html">SSL Setup</a>.
|
2010-01-20 17:24:45 -05:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<strong>Are my credentials safe ?</strong>
|
|
|
|
</p>
|
2010-08-26 04:39:38 -04:00
|
|
|
<p>DavMail does not store Exchange username or password, they are provided by the messaging client over
|
2010-01-20 17:24:45 -05:00
|
|
|
IMAP, HTTP, POP, SMTP or LDAP
|
|
|
|
</p>
|
2010-01-20 17:01:36 -05:00
|
|
|
</subsection>
|
|
|
|
|
2009-08-07 06:26:29 -04:00
|
|
|
<subsection name="Caldav (calendar)">
|
2009-01-18 17:54:05 -05:00
|
|
|
<p>
|
|
|
|
<strong>How do I detect errors in Thunderbird/Lightning calendar ?</strong>
|
|
|
|
</p>
|
|
|
|
<p>Unfortunately, Lightning does not provide much feedback of what is going
|
|
|
|
on. To detect errors at this level, you may activate calendar log settings
|
|
|
|
under Tools/Options/Advanced:
|
|
|
|
</p>
|
2010-08-26 04:39:38 -04:00
|
|
|
<source><![CDATA[calendar.debug.log=true
|
|
|
|
calendar.debug.log.verbose=true]]></source>
|
2009-01-17 11:15:46 -05:00
|
|
|
|
2009-01-18 17:54:05 -05:00
|
|
|
<p>
|
2009-03-13 11:28:12 -04:00
|
|
|
<strong>Invalid notifications</strong>
|
2009-01-18 17:54:05 -05:00
|
|
|
</p>
|
2009-03-13 11:28:12 -04:00
|
|
|
<p>Lightning 0.9 mail notifications are broken, activate
|
|
|
|
Caldav notifications to outbox instead:
|
2009-01-18 17:54:05 -05:00
|
|
|
</p>
|
2010-10-21 05:05:14 -04:00
|
|
|
<p>Check the following parameter in Thunderbird, it should be set to true
|
2009-01-18 17:54:05 -05:00
|
|
|
</p>
|
2009-03-13 11:28:12 -04:00
|
|
|
<source>calendar.caldav.sched.enabled=true</source>
|
2009-01-17 11:15:46 -05:00
|
|
|
|
2011-02-18 04:21:26 -05:00
|
|
|
<p>
|
|
|
|
<strong>Public calendars in iCal</strong>
|
|
|
|
</p>
|
|
|
|
<p>To access public folders in iCal, the URL scheme is:
|
|
|
|
</p>
|
|
|
|
<source>http://localhost:<i>1080</i>/principals/public/<i>path/to/calendar</i></source>
|
|
|
|
|
2009-08-07 06:26:29 -04:00
|
|
|
</subsection>
|
2009-06-17 18:47:23 -04:00
|
|
|
|
2010-04-09 04:18:06 -04:00
|
|
|
<subsection name="Mail">
|
|
|
|
<p>
|
|
|
|
<strong>Timout errors during IMAP sync (broken pipe)</strong>
|
|
|
|
</p>
|
|
|
|
<p>If you Exchange server is too slow, you may get timeout errors during
|
|
|
|
message fetch.
|
|
|
|
</p>
|
|
|
|
<p>To fix the problem in OSX Mail, go to your account setup under preferences.
|
|
|
|
On the IMAP account having difficulty, go to the advanced tab. Where it says
|
|
|
|
"keep copies for offline viewing", change it to "only messages I've read" or
|
|
|
|
don't keep copies at all.
|
|
|
|
</p>
|
|
|
|
<p>Under Thunderbird, you can try to change IMAP timeout values
|
2010-11-24 18:09:47 -05:00
|
|
|
(<code>mail.server.server<em>index</em>.timeout</code>
|
|
|
|
and <code>mailnews.tcptimeout</code>) or avoid full
|
2010-04-09 04:18:06 -04:00
|
|
|
mailbox sync: disable global search and indexer under advanced options and change
|
|
|
|
Synchronization & Storage options under Account Settings.
|
|
|
|
</p>
|
2010-04-22 07:05:42 -04:00
|
|
|
<p>
|
|
|
|
<strong>Message deleted over IMAP still visible through OWA</strong>
|
|
|
|
</p>
|
2010-10-21 05:05:14 -04:00
|
|
|
<p>Message move does not exist in IMAP, thus the move is a copy followed by a delete.
|
2010-04-22 07:05:42 -04:00
|
|
|
And a delete is not immediate with IMAP: you need to EXPUNGE the folder to actually
|
|
|
|
delete a message.
|
|
|
|
</p>
|
|
|
|
<p>A workaround with Thunderbird is to set the property
|
|
|
|
<code>mail.imap.expunge_after_delete=true</code>
|
|
|
|
</p>
|
2010-05-10 05:19:25 -04:00
|
|
|
<p>New: a new setting is available in DavMail to delete messages immediately over IMAP:
|
|
|
|
<code>davmail.imapAutoExpunge=true</code>
|
|
|
|
</p>
|
2010-05-31 16:02:13 -04:00
|
|
|
<p>
|
|
|
|
<strong>Sent messages encoding issue with Thunderbird</strong>
|
|
|
|
</p>
|
|
|
|
<p>If special characters appear replaced with ? in sent messages, set
|
|
|
|
<code>mail.strictly_mime</code>
|
|
|
|
advanced option.
|
|
|
|
Go to Tools/Options/Advanced/General/Config Editor and look for a preference
|
2010-08-26 05:01:51 -04:00
|
|
|
with name<code>mail.strictly_mime</code>, set value to
|
2010-05-31 16:02:13 -04:00
|
|
|
<code>true</code>
|
|
|
|
to send messages as quoted-printable.
|
|
|
|
</p>
|
2010-04-09 04:18:06 -04:00
|
|
|
</subsection>
|
|
|
|
|
2009-08-07 06:26:29 -04:00
|
|
|
<subsection name="Build">
|
2009-06-17 18:47:23 -04:00
|
|
|
<p>
|
|
|
|
<strong>How to build DavMail ?</strong>
|
|
|
|
</p>
|
2009-12-25 12:51:51 -05:00
|
|
|
<p>See
|
|
|
|
<a href="build.html">Building DavMail from source</a>
|
2009-06-17 18:47:23 -04:00
|
|
|
</p>
|
2009-08-07 06:26:29 -04:00
|
|
|
</subsection>
|
2009-01-17 10:02:42 -05:00
|
|
|
</section>
|
2009-01-18 17:54:05 -05:00
|
|
|
</body>
|
|
|
|
</document>
|