aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mail/davmail-bin/ChangeLog225
-rw-r--r--net-mail/davmail-bin/Manifest8
-rw-r--r--net-mail/davmail-bin/davmail-bin-6.7.0.ebuild102
-rw-r--r--net-mail/davmail-bin/files/davmail.conf3
-rw-r--r--net-mail/davmail-bin/files/davmail.init36
-rw-r--r--net-mail/davmail-bin/files/davmail.pngbin0 -> 4218 bytes
-rw-r--r--net-mail/davmail-bin/files/davmail.properties81
-rw-r--r--net-mail/davmail-bin/metadata.xml14
8 files changed, 469 insertions, 0 deletions
diff --git a/net-mail/davmail-bin/ChangeLog b/net-mail/davmail-bin/ChangeLog
new file mode 100644
index 0000000..f0674a6
--- /dev/null
+++ b/net-mail/davmail-bin/ChangeLog
@@ -0,0 +1,225 @@
+# ChangeLog for net-mail/davmail-bin
+# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*davmail-bin-4.8.0 (10 Dec 2017)
+
+ 10 Dec 2017; AstroFloyd <AstroFloyd@gmail.com> +davmail-bin-4.8.0.ebuild,
+ +files/davmail.conf, +files/davmail.init, +files/davmail.png,
+ +files/davmail.properties, +metadata.xml:
+ Copy net-mail/davmail-bin from Seden
+
+*davmail-bin-4.7.2 (11 Apr 2016)
+
+ 11 Apr 2016; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.7.2.ebuild,
+ -davmail-bin-4.7.0.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.7.1 (20 Dec 2015)
+
+ 20 Dec 2015; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.7.1.ebuild,
+ -davmail-bin-4.6.2.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.7.0 (09 Nov 2015)
+
+ 09 Nov 2015; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.7.0.ebuild,
+ -davmail-bin-4.6.1.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.6.2 (21 Aug 2015)
+
+ 21 Aug 2015; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.6.2.ebuild,
+ -davmail-bin-4.6.0.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.6.1 (18 Feb 2015)
+
+ 18 Feb 2015; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.6.1.ebuild,
+ -davmail-bin-4.5.1.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.6.0 (28 Jan 2015)
+
+ 28 Jan 2015; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.6.0.ebuild,
+ -davmail-bin-4.4.1.ebuild
+ Version bump and removal of old version.
+
+*davmail-bin-4.5.1 (21 Jul 2014)
+
+ 21 Jul 2014; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.5.1.ebuild,
+ -davmail-bin-4.5.0-r1.ebuild
+ Version bump and removal of buggy and masked version.
+
+*davmail-bin-4.4.1 (02 Feb 2014)
+
+ 02 Jul 2014; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.4.1.ebuild,
+ Added again, as the 4.5.0 version has a nasty bug that makes
+ davmail useless for connecting to exchange 2012+.
+ See: http://sourceforge.net/p/davmail/bugs/569
+
+*davmail-bin-4.5.0-r1 (27 Jun 2014)
+
+ 27 Jun 2014; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.5.0-r1.ebuild,
+ -davmail-bin-4.5.0.ebuild
+ Important fix: enewuser only works if user eclass is inherited.
+ Thanks to Karl-Johan Karlsson <creideiki+gentoo-bugzilla@lysator.liu.se>
+ who pointed this out in #351417 c53.
+
+*davmail-bin-4.5.0 (05 Jun 2014)
+
+ 05 Jun 2014; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.5.0.ebuild,
+ -davmail-bin-4.4.1.ebuild
+ Version bump
+
+*davmail-bin-4.4.1 (02 Feb 2014)
+
+ 02 Feb 2014; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.4.1.ebuild,
+ -davmail-bin-4.4.0.ebuild
+ Version bump
+
+*davmail-bin-4.4.0 (22 Nov 2013)
+
+ 22 Nov 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.4.0.ebuild,
+ -davmail-bin-4.3.4.ebuild
+ Version bump
+
+*davmail-bin-4.3.4 (10 Sep 2013)
+
+ 10 Sep 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.4.ebuild,
+ -davmail-bin-4.3.3-r1.ebuild
+ Version bump
+
+*davmail-bin-4.3.3-r1 (04 Jul 2013)
+
+ 19 Jun 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.3-r1.ebuild,
+ -davmail-bin-4.3.3.ebuild
+ Updated ebuild to accept jre/jdk slot 1.7
+
+*davmail-bin-4.3.3 (19 Jun 2013)
+
+ 19 Jun 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.3.ebuild,
+ -davmail-bin-4.3.2.ebuild
+ Version bump
+
+*davmail-bin-4.3.2 (07 Jun 2013)
+
+ 07 Jun 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.2.ebuild,
+ -davmail-bin-4.3.1.ebuild
+ Version bump
+
+*davmail-bin-4.3.1 (06 Jun 2013)
+
+ 06 Jun 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.1.ebuild,
+ -davmail-bin-4.3.0.ebuild
+ Version bump
+
+*davmail-bin-4.3.0 (23 May 2013)
+
+ 23 May 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.3.0.ebuild,
+ -davmail-bin-4.2.1.ebuild
+ Version bump
+
+*davmail-bin-4.2.1 (12 Apr 2013)
+
+ 12 Apr 2013; Sven Eden <yamakuzure@gmx.net>
+ +davmail-bin-4.2.1.ebuild,
+ -davmail-bin-4.2.0.ebuild
+ Version bump
+
+*davmail-bin-4.2.0 (28 Sep 2012)
+
+ 11 Mar 2013; Sven Eden <yamakuzure@gmx.net> +davmail-bin-4.2.0.ebuild,
+ Version bump
+
+ 11 Mar 2013; Sven Eden <yamakuzure@gmx.net>
+ -davmail-bin-4.1.0-r1.ebuild
+ remove obsolete ebuild
+
+*davmail-bin-4.1.0-r1 (03 Jan 2013)
+
+ 03 Jan 2013; Sven Eden <yamakuzure@gmx.net> +davmail-bin-4.1.0-r1.ebuild,
+ +files/davmail.conf,
+ +files/davmail.properties,
+ +files/davmail.init:
+ Added changes from the davmail-3.9.8.ebuild created by Jiri Tyr and
+ posted in bug #351417.
+
+ 03 Jan 2013; Sven Eden <yamakuzure@gmx.net> -davmail-bin-4.1.0.ebuild,
+ -files/initd,
+ -files/davmail.desktop:
+ Removed obsolete files.
+
+*davmail-bin-4.1.0 (28 Sep 2012)
+
+ 28 Sep 2012; Sven Eden <yamakuzure@gmx.net> +davmail-bin-4.1.0.ebuild,
+ Version bump
+
+ 28 Sep 2012; Sven Eden <yamakuzure@gmx.net>
+ -davmail-bin-4.0.0.ebuild
+ remove obsolete ebuild
+
+*davmail-bin-4.0.0 (14 Sep 2012)
+
+ 14 Sep 2012; Sven Eden <yamakuzure@gmx.net> +davmail-bin-4.0.0.ebuild,
+ Version bump
+
+ 14 Sep 2012; Sven Eden <yamakuzure@gmx.net>
+ -davmail-3.9.9.ebuild
+ remove obsolete ebuild
+
+*davmail-bin-3.9.9 (18 Jul 2012)
+
+ 18 Jul 2012; Sven Eden <yamakuzure@gmx.net> +davmail-3.9.9.ebuild,
+ Version bump
+
+ 18 Jul 2012; Sven Eden <yamakuzure@gmx.net>
+ -davmail-3.9.8.ebuild
+ remove obsolete ebuild
+
+*davmail-bin-3.9.8 (28 Feb 2012)
+
+ 28 Feb 2012; Sven Eden <yamakuzure@gmx.net> +davmail-3.9.8.ebuild,
+ Version bump
+
+ 28 Feb 2012; Sven Eden <yamakuzure@gmx.net>
+ -davmail-3.9.6-r1.ebuild
+ -davmail-3.9.7.ebuild
+ remove obsolete ebuilds
+
+*davmail-bin-3.9.7 (11 Jan 2012)
+
+ 11 Jan 2012; Sven Eden <yamakuzure@gmx.net> +davmail-3.9.7.ebuild,
+ Version bump
+
+*davmail-bin-3.9.6-r1 (23 Nov 2011)
+
+ 23 Nov 2011; Sven Eden <yamakuzure@gmx.net> +davmail-3.9.6-r1.ebuild,
+ -davmail-3.9.6.ebuild :
+ Fixed some stupid errors. The old ebuild is obsolete.
+
+*davmail-bin-3.9.6 (21 Nov 2011)
+
+ 21 Nov 2011; Sven Eden <yamakuzure@gmx.net> +davmail-3.9.6.ebuild :
+ Re-added to my overlay, and renamed to davmail-bin. The unbundled
+ version in the java-overlay causes too many problems on my system,
+ I have therefore decided to keep the bundled (binary) version in my own
+ overlay.
diff --git a/net-mail/davmail-bin/Manifest b/net-mail/davmail-bin/Manifest
new file mode 100644
index 0000000..5002505
--- /dev/null
+++ b/net-mail/davmail-bin/Manifest
@@ -0,0 +1,8 @@
+AUX davmail.conf 99 BLAKE2B 7fbfaefb563de903652f5eceda72bc9d3503711cea98f9f84d63d4fdf30815548d05b40559e812b96c48b1b4a7ed5435f64cab69bff833b5a04d0f268df8f777 SHA512 fc99a9e54d738a679b946e3c17663ef2c7974eba43011e8bdc980654a2f3a216005cd67328f650f35577b8d00ea2dd0ad393604407b9dec81362371ea4b3cdc1
+AUX davmail.init 693 BLAKE2B 12b79a508f07a102a1143607de5b687a9075a5ee90e425d5af41fe139aa627f8dc76b1335fb0fc2a2d6e199cd0fea3abb1dbff89edd4fd651a17028d6c8ec875 SHA512 4f165ce0c6db5316d75cd3b63e7b73228b7ef508ca133c5cf4affb6054bd548191e4180ba5caa3a806c2206d37035726836bec801afdbfc16b71cb3e44b8eec3
+AUX davmail.png 4218 BLAKE2B 590ac8db85b1a4e9bb5c06d773349684a8ebabaeb584001d14a3fa92de09ccd9d5ea82b44c418c785f3b462d17e17ef060d2ed610e2c20c4207c5a534c49276a SHA512 da600b141df1144c17ae0362f20ff06019986aa73cabeae088da2ae8c917f2e043b127799abc7587011358bcc366fbd2257115e64e02fc0669aefdd05c6581be
+AUX davmail.properties 2408 BLAKE2B 64f681b4c190f1648a279f05b570eabd94b829fc4c8f4c31a7916e9c79be3a454a4687b10f4ab845437a689fbee74ae7ff7e8772665ac1c5685c93db3ea2eb8a SHA512 c1fada7303c2b4ca2baafcc6295f9b1278a3a4e4f5ad40a7f91c41dfc19b8ca3dcf5840fa44b00a9fd958145af6ac33f2314a42e1cea04e9674613ee17a90dc0
+DIST davmail-6.7.0-4068.zip 6435641 BLAKE2B c1ccb73f02f97820b4569f518892519b17fe66d8d6dad05182b587600ae47031b7e4fd93bc8bbe55ae6a2ba5537f505084f9f1a051efc52378561bc8a64d97e7 SHA512 3b4f686c598be1c900ef94862d1f1995f2cec444a9689beb49b3e4d1ea533a43a8942d1ed37b166e46ba671af16a930cc57d32ccda0bda02df5588e3d6ad9787
+EBUILD davmail-bin-6.7.0.ebuild 2512 BLAKE2B 14b6d30554cf0a0929f534d2583f1b2ef08f6aaa6d298b7f2262e4f9fbafb1e849199b371a2102c8f2ae77ad816c0647a04e0ee1f69da1d2846fcfbbbbc59397 SHA512 cf3592b2c6bbd2ce19d91dbba9782e6368dfd5cbe16e5271baa32347defee4af66694e1af3df1524b9181289f262d5738ed15278bfdc9e411d2a4eafdc84a377
+MISC ChangeLog 6017 BLAKE2B c6d3c05947056a1e59aa5d82dedc92b44dda8e7b490f4b0634bd7284090d28a74c0ee986fdfbd594ca0eaf1d26bea3de98f0a291b63769bea16d17f65d58949e SHA512 ff18cc1b5fa7eba03fca88098969ed39cc40d7d906caa6488fd083beac2916489abec506837f42537554b732be76bca366626d422d0c3465579906f5cdeb9307
+MISC metadata.xml 495 BLAKE2B e8d76c7eef11e9c275fda76a69ba035a939664df7f51dcadf5bfbcd2d6680beaa3db4f8ba6c0e7be29e9f514e86b770e577c2c2d5f9fb5df293f7665f683c78f SHA512 d99a21be3e9cc6cd983203af445aaa0934c4cf3cfa4a2ecf02a118b73f069c474cfab6e5249b2359cc8f848d4876e04bab7ebc6b05b9fc250210ad951b97a526
diff --git a/net-mail/davmail-bin/davmail-bin-6.7.0.ebuild b/net-mail/davmail-bin/davmail-bin-6.7.0.ebuild
new file mode 100644
index 0000000..de1b00c
--- /dev/null
+++ b/net-mail/davmail-bin/davmail-bin-6.7.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2 xdg-utils desktop
+
+MY_PN="davmail"
+MY_REV="4068"
+
+DESCRIPTION="POP/IMAP/SMTP/CalDAV/CardDAV/LDAP Exchange and Office 365 Gateway"
+HOMEPAGE="https://davmail.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${MY_PN}/${MY_PN}-${PV}-${MY_REV}.zip"
+
+S="${WORKDIR}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="server"
+
+RESTRICT="mirror"
+
+# DavMail 6.x requires Java 11+.
+DEPEND="
+ >=virtual/jre-11:*
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ app-arch/unzip
+"
+
+# The upstream zip unpacks into a flat directory named davmail-<version>.
+src_unpack() {
+ unzip -q "${DISTDIR}/${MY_PN}-${PV}-${MY_REV}.zip" || die "unzip failed"
+}
+
+src_prepare() {
+ default
+}
+
+src_install() {
+ # Install all jar libraries.
+ java-pkg_dojar lib/*.jar
+ java-pkg_dojar ${MY_PN}.jar
+
+ # Icon (must be provided in ${FILESDIR}).
+ doicon "${FILESDIR}/${MY_PN}.png"
+
+ # Wrapper script to launch DavMail.
+ java-pkg_dolauncher ${MY_PN} --main davmail.DavGateway
+
+ # Desktop entry for graphical (non-server) use.
+ if ! use server; then
+ make_desktop_entry ${MY_PN} "DavMail Gateway" \
+ "/usr/share/pixmaps/${MY_PN}.png" "Network"
+ fi
+
+ if use server; then
+ # Log file placeholder — owned by the davmail user.
+ touch ${MY_PN}.log
+ insinto /var/log
+ doins ${MY_PN}.log
+ fowners ${MY_PN}:${MY_PN} /var/log/${MY_PN}.log
+
+ # Default properties file — copy/edit before first start.
+ insinto /etc
+ doins "${FILESDIR}/${MY_PN}.properties"
+
+ # OpenRC init and conf files (provide in ${FILESDIR}).
+ newinitd "${FILESDIR}/${MY_PN}.init" ${MY_PN}
+ newconfd "${FILESDIR}/${MY_PN}.conf" ${MY_PN}
+ fi
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+
+ if use server; then
+ elog
+ elog "DavMail is installed as a system service."
+ elog "Before starting it, review and adjust /etc/${MY_PN}.properties."
+ elog
+ elog "For Office 365 / Exchange Online you will need to set:"
+ elog " ${MY_PN}.mode=O365Modern (or O365Manual for headless first-run)"
+ elog " ${MY_PN}.url=https://outlook.office365.com/EWS/Exchange.asmx"
+ elog " ${MY_PN}.server=true"
+ elog
+ elog "For the initial OAuth2 token, run davmail once interactively as your"
+ elog "own user with O365Manual mode, authenticate in the browser, then"
+ elog "switch back to O365Modern and start the OpenRC service:"
+ elog " rc-service ${MY_PN} start"
+ elog " rc-update add ${MY_PN} default"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/net-mail/davmail-bin/files/davmail.conf b/net-mail/davmail-bin/files/davmail.conf
new file mode 100644
index 0000000..f183b09
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.conf
@@ -0,0 +1,3 @@
+# /etc/conf.d/davmail: config file for /etc/init.d/davmail
+
+DAVMAIL_CONF="/etc/davmail.properties"
diff --git a/net-mail/davmail-bin/files/davmail.init b/net-mail/davmail-bin/files/davmail.init
new file mode 100644
index 0000000..a2fc495
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.init
@@ -0,0 +1,36 @@
+#!/sbin/openrc-run
+
+PN="davmail"
+USER="${PN}"
+PID_FILE="/var/run/${PN}.pid"
+RUN_FILE="/usr/bin/${PN}"
+
+description="DavMail POP/IMAP/SMTP/CalDAV/CardDAV/LDAP Exchange Gateway"
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -e "${DAVMAIL_CONF}" ]; then
+ eerror "You need to have a valid configuration file at ${DAVMAIL_CONF}"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting DavMail gateway"
+
+ start-stop-daemon --start --user ${USER} \
+ --pidfile ${PID_FILE} --make-pidfile --background \
+ --exec ${RUN_FILE} -- "${DAVMAIL_CONF}"
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down DavMail gateway"
+ start-stop-daemon --stop --user ${USER} --pidfile ${PID_FILE}
+ eend $?
+}
+
diff --git a/net-mail/davmail-bin/files/davmail.png b/net-mail/davmail-bin/files/davmail.png
new file mode 100644
index 0000000..d262a95
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.png
Binary files differ
diff --git a/net-mail/davmail-bin/files/davmail.properties b/net-mail/davmail-bin/files/davmail.properties
new file mode 100644
index 0000000..696954d
--- /dev/null
+++ b/net-mail/davmail-bin/files/davmail.properties
@@ -0,0 +1,81 @@
+# DavMail settings — see https://davmail.sourceforge.net/serversetup.html
+#
+# Exchange/Office 365 connection mode:
+# O365Modern — Office 365 modern authentication (OAuth2); recommended
+# O365Manual — Office 365 with interactive dialog; use for first-run token
+# O365 — Office 365 EWS mode (legacy)
+# EWS — Exchange 2007 and later (on-premise)
+# WebDav — Exchange 2007 and earlier WebDAV mode
+# Auto — WebDAV with EWS failover
+davmail.mode=O365Modern
+
+# Base Exchange OWA or EWS URL.
+# For Office 365 / Exchange Online this is almost always:
+davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
+
+# Run as a headless server daemon (no GUI).
+davmail.server=true
+
+# Bind to localhost only — change to your LAN IP if other hosts need access.
+davmail.allowRemote=false
+davmail.bindAddress=127.0.0.1
+
+# Service ports (all on non-privileged ports so no root needed).
+davmail.smtpPort=1025
+davmail.imapPort=1143
+davmail.popPort=1110
+davmail.caldavPort=1080
+davmail.ldapPort=1389
+
+# Log file.
+davmail.logFilePath=/var/log/davmail.log
+
+# Logging levels (SLF4J/Logback in DavMail 6.x).
+# Valid levels: ERROR, WARN, INFO, DEBUG
+log.default=WARN
+log.davmail=INFO
+log.httpclient.wire=WARN
+log.org.apache.commons.httpclient=WARN
+
+# Mail retention settings (days).
+davmail.keepDelay=30
+davmail.sentKeepDelay=90
+davmail.caldavPastDelay=90
+
+# Miscellaneous.
+davmail.disableUpdateCheck=true
+davmail.showStartupBanner=false
+davmail.imapAutoExpunge=true
+davmail.caldavEditNotifications=false
+
+# Proxy settings (leave blank if not needed).
+davmail.enableProxy=false
+davmail.useSystemProxies=false
+davmail.proxyHost=
+davmail.proxyPort=
+davmail.proxyUser=
+davmail.proxyPassword=
+
+# SSL/TLS — only needed if you want encrypted local connections.
+# For localhost-only use these can all stay empty/false.
+davmail.ssl.nosecuresmtp=false
+davmail.ssl.nosecureimap=false
+davmail.ssl.nosecurepop=false
+davmail.ssl.nosecurecaldav=false
+davmail.ssl.nosecureldap=false
+davmail.ssl.keystoreFile=
+davmail.ssl.keystorePass=
+davmail.ssl.keystoreType=
+davmail.ssl.keyPass=
+davmail.ssl.clientKeystoreFile=
+davmail.ssl.clientKeystorePass=
+davmail.ssl.clientKeystoreType=
+davmail.ssl.pkcs11Library=
+davmail.ssl.pkcs11Config=
+
+# Miscellaneous legacy/advanced settings.
+davmail.server.certificate.hash=
+davmail.defaultDomain=
+davmail.caldavAlarmSound=
+davmail.imapIdleDelay=
+
diff --git a/net-mail/davmail-bin/metadata.xml b/net-mail/davmail-bin/metadata.xml
new file mode 100644
index 0000000..4aefa6e
--- /dev/null
+++ b/net-mail/davmail-bin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>astrofloyd@gmail.org</email>
+ <description>"Binary" installation of DavMail.</description>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gentmaint</remote-id>
+ </upstream>
+ <use>
+ <flag name='server'>Add a davmail user and an entry to /etc/init.d to use davmail as a service</flag>
+ </use>
+</pkgmetadata>