mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 14:52:24 -05:00
Added server mode setup documentation and switched release to 1.2.0
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@127 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d92e2df70c
commit
8c85f2cd46
@ -1,5 +1,5 @@
|
||||
<project name="DavMail" default="dist" basedir=".">
|
||||
<property name="version" value="1.1.2"/>
|
||||
<property name="version" value="1.2.0"/>
|
||||
|
||||
<path id="classpath">
|
||||
<pathelement location="classes"/>
|
||||
|
6
pom.xml
6
pom.xml
@ -5,14 +5,16 @@
|
||||
<groupId>davmail</groupId>
|
||||
<artifactId>davmail</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.1.1</version>
|
||||
<version>1.2.0</version>
|
||||
<name>davmail</name>
|
||||
<url>http://www.sourceforge.net/projects/davmail</url>
|
||||
<description>
|
||||
Ever wanted to get rid of Outlook ? DavMail is a POP/SMTP exchange gateway allowing
|
||||
users to use any mail client (e.g. Thunderbird) with an Exchange server, even from the internet
|
||||
through Outlook Web Access. DavMail gateway is implemented in java and should run on
|
||||
any platform. Releases are tested on Windows and Linux (Ubuntu).
|
||||
any platform. Releases are tested on Windows and Linux (Ubuntu). MacOS support is currently
|
||||
limited to server (headless) mode. Tested successfully with the Iphone (gateway running on a
|
||||
server).
|
||||
</description>
|
||||
<developers>
|
||||
<developer>
|
||||
|
@ -24,6 +24,10 @@ public class Settings {
|
||||
return isFirstStart;
|
||||
}
|
||||
|
||||
public static synchronized void load(InputStream inputStream) throws IOException {
|
||||
SETTINGS.load(inputStream);
|
||||
}
|
||||
|
||||
public static synchronized void load() {
|
||||
FileInputStream fileInputStream = null;
|
||||
try {
|
||||
@ -34,7 +38,7 @@ public class Settings {
|
||||
File configFile = new File(configFilePath);
|
||||
if (configFile.exists()) {
|
||||
fileInputStream = new FileInputStream(configFile);
|
||||
SETTINGS.load(fileInputStream);
|
||||
load(fileInputStream);
|
||||
} else {
|
||||
isFirstStart = true;
|
||||
|
||||
@ -49,6 +53,7 @@ public class Settings {
|
||||
SETTINGS.put("davmail.proxyPort", "");
|
||||
SETTINGS.put("davmail.proxyUser", "");
|
||||
SETTINGS.put("davmail.proxyPassword", "");
|
||||
SETTINGS.put("davmail.server", "false");
|
||||
save();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
@ -16,6 +16,7 @@
|
||||
<item name="Download" href="http://sourceforge.net/project/platformdownload.php?group_id=184600"/>
|
||||
<item name="Windows Setup" href="/windowssetup.html"/>
|
||||
<item name="Linux Setup" href="/linuxsetup.html"/>
|
||||
<item name="Server Setup" href="/serversetup.html"/>
|
||||
<item name="Getting Started" href="/gettingstarted.html"/>
|
||||
<item name="SourceForge site" href="http://sourceforge.net/projects/davmail"/>
|
||||
</menu>
|
||||
|
61
src/site/xdoc/serversetup.xml
Normal file
61
src/site/xdoc/serversetup.xml
Normal file
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<document>
|
||||
|
||||
<properties>
|
||||
<title>Setup DavMail as a server</title>
|
||||
<author email="mguessan@free.fr">Mickael Guessant</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
|
||||
<section name="DavMail Setup as a server">
|
||||
<p>Prerequisite : Sun J2SE 1.5 or 1.6.
|
||||
</p>
|
||||
|
||||
<p>Davmail Gateway can now run in server mode as a gateway between the mail
|
||||
client and the Outlook Web Access (Exchange) server.
|
||||
In server mode Davmail can run on any Java supported platform. This is
|
||||
currently the only way to run DavMail on MacOS X due to poor Java support
|
||||
(no Java 6 yet).
|
||||
This mode was tested successfully with the Iphone and should work with
|
||||
any phone with POP/SMTP client.
|
||||
</p>
|
||||
|
||||
<p>Download the generic DavMail package from Sourceforge and uncompress it with
|
||||
your favorite tool, e.g. on Linux:<code>unzip davmail-*.zip</code>.
|
||||
</p>
|
||||
<p>Prepare a davmail.properties file according to you local needs :
|
||||
</p>
|
||||
<source>
|
||||
davmail.url=http://exchangeServer/exchange/
|
||||
davmail.popPort=1110
|
||||
davmail.smtpPort=1025
|
||||
davmail.keepDelay=30
|
||||
davmail.allowRemote=true
|
||||
davmail.enableProxy=false
|
||||
davmail.proxyHost=
|
||||
davmail.proxyPort=
|
||||
davmail.proxyUser=
|
||||
davmail.proxyPassword=
|
||||
davmail.server=true
|
||||
</source>
|
||||
<p>See
|
||||
<a href="gettingstarted.html">Getting started</a>
|
||||
for more information on
|
||||
the options. Make sure davmail.server is set to true (no icon tray) and allow
|
||||
remote connections: davmail.allowRemote=true.
|
||||
</p>
|
||||
<p>Launch Davmail with the following command:
|
||||
<source>nohup davmail.sh davmail.properties &</source>.
|
||||
</p>
|
||||
<p>Then check messages:
|
||||
<source>tail -f nohup.out</source>
|
||||
</p>
|
||||
<p>Proceed with client configuration:
|
||||
<a href="gettingstarted.html">Getting started</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</document>
|
Loading…
Reference in New Issue
Block a user