<?xml version="1.0"?>
<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">

    <properties>
        <title>DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange Gateway - Linux setup</title>
        <author email="mguessan@free.fr">Mickael Guessant</author>
    </properties>

    <body>

        <section name="DavMail Setup on linux">
            <subsection name="Debian package">
                <p>Download current debian package from Sourceforge, double click on it
                    to launch package installer.
                </p>
                <p>
                    Select Install Package, installer will automatically download and
                    install sun-java6-bin and the appropriate swt package. After installation,
                    DavMail is available in the Applications menu.
                </p>
            </subsection>
            <subsection name="Manual setup">
                <p>Prerequisite : Sun J2SE 1.5 or 1.6. Tray icon is now implemented with SWT and compatible with
                    Java 1.5.
                </p>

                <p>You should first download and install Java, with the graphical package manager or through
                    command line.
                </p>
                <p>Under Ubuntu, launch System/Administration/Synaptic Package Manager, quick search
                    sun-java6-bin, mark for installation and click Apply
                </p>
                <p>Or use the following command:</p>
                <code>sudo apt-get install sun-java6-bin</code>

                <p>Download the linux x86 DavMail package from Sourceforge and uncompress it with
                    your favorite tool. The standard package will run natively on x86, to use DavMail
                    on any other hardware platform, replace the SWT with the right one from
                    <a href="http://www.eclipse.org/swt/">http://www.eclipse.org/swt/</a>
                    or use the platform independent package.
                </p>
                <p>On Ubuntu and other Gnome or Kde distributions, just use the desktop launcher.
                    On other distributions, try
                    <code>davmail.sh</code>.
                    You should now see the DavMail gateway icon in the tray :
                </p>
                <div style="width: 100%;text-align: center">
                    <img align="middle" src="images/ubuntutray.png" alt=""/>
                </div>
                <p>Adjust DavMail settings :
                    <a href="gettingstarted.html">Getting started</a>
                </p>
            </subsection>
        </section>

    </body>
</document>