Advanced settings

In addition to basic settings described in Getting started DavMail also supports the following settings:

Global settings

Parameter Description Sample value
Enable EWS Enable EWS mode on Exchange 2010 or Exchange 2007 with Webdav disabled false
Default domain Default windows domain name DOMAIN
Display startup banner Whether to show the initial startup notification window or not true
Disable balloon notifications Disable all graphical notifications false
Disable update check Disable DavMail check for new version false
Folder size limit Message count limit on folder retrieval 100


Parameter Description Sample value
No proxy for comma separated list of hosts accessible without a proxy
Allow remote connections Allow remote connections to the gateway (server mode) false
Bind Address Bind only to the specified network address, leave empty to listen on all network interfaces
Client connection timeout Client connection timeout in seconds, 0 to disable timeout, empty for 5 minutes 300
Enable KeepAlive Send KeepAlive character during large folder and messages download false


Parameter Description Sample value
Server certificate hash Manually accepted server certificate hash, contains the SHA1 hash of a manually accepted certificate (invalid or self signed) 9F:CC:59:82:1F:C:CD:29:7C:70:F0:D8:37:B1:77:3F:48:84:AE:C4
Key store type To encrypt communication between client and DavMail, create a server certificate, choose key store type and set key store path JKS
Key store SSL certificate key store file path path/to/keystore
Key store password Key store password password
Key password SSL key password inside key store password
Client key store type When the Exchange server requires mutual authentication, choose client certificate key store type, PKCS11 for smartcard, PKCS12 or JKS for certificate file. MSCAPI is also available on windows for native smartcard access. PKCS11
Client key store SSL client certificate key store file path path/to/keystore
Client key store password Client key store password, leave empty for runtime prompt password
PKCS11 library PKCS11 (smartcard) library path (.so or .dll) softokn3.dll
PKCS11 config Optional additional PKCS11 settings (slot, nssArgs, ...) slot=2


Parameter Description Sample value
Keep Delay (POP) Number of days to keep messages in Exchange trash folder before actual deletion, only for POP service 30
Sent Keep Delay (POP) Number of days to keep sent messages in Exchange sent folder, only for POP service 90
POP mark read Mark messages read on server immediately after retrieval true

Caldav (Calendar)

Parameter Description Sample value
Calendar past events (Caldav) Get events in the past not older than specified days count, leave empty for no limits 90
Edit Caldav notifications Enable interactive Caldav edit notification window false
Force Active Sync update Use double event update to trigger ActiveSync mobile phones sync, only in WebDav mode false
Caldav alarm sound Convert Caldav alarm to sound alarm supported by iCal, e.g. Basso. Leave empty for no conversion Basso


Parameter Description Sample value
IDLE folder monitor delay (IMAP): IMAP folder idle monitor delay in minutes, leave empty to disable IDLE support 1
IMAP auto expunge Delete messages immediately on the server over IMAP, i.e. expunge message on \Deleted flag set true


Parameter Description Sample value
SMTP save in sent: Save messages sent over SMTP in server Sent folder true


Parameter Description Sample value
Logging levels Default, DavMail and HttpClient logging levels, see Log4J documentation for more details WARN
Log file Path DavMail log file path (default is davmail.log in working directory on Unix and Windows, ~/Library/Logs/DavMail/davmail.log on OSX) davmail.log
Log file Size Maximum log file size, use Log4J syntax, see RollingFileAppender . Set to 0 to use an external rotation mechanism, e.g. logrotate. 1MB