Package Details: davmail 5.5.1-4

Git Clone URL: https://aur.archlinux.org/davmail.git (read-only, click to copy)
Package Base: davmail
Description: a POP/IMAP/SMTP/Caldav/LDAP gateway for the exchange service
Upstream URL: http://davmail.sourceforge.net/
Licenses: GPL
Submitter: None
Maintainer: hyness
Last Packager: hyness
Votes: 112
Popularity: 0.51
First Submitted: 2010-01-20 17:20
Last Updated: 2020-06-28 12:28

Dependencies (4)

Required by (0)

Sources (5)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

mike2208 commented on 2020-12-27 12:53

When using the davmail system service, the process would fail on reboot with the message:

Started DavMail for maastricht.
davmail[401]: 2020-12-27 09:41:01,147 ERROR [main] davmail  - Unable to bind server socket for SMTP on port 1025: port not allowed or in use by another process
davmail[401]: Unable to bind server socket for POP on port 1110: port not allowed or in use by another process
davmail[401]: Unable to bind server socket for IMAP on port 1143: port not allowed or in use by another process
davmail[401]: Unable to bind server socket for CALDAV on port 1080: port not allowed or in use by another process
davmail[401]: Unable to bind server socket for LDAP on port 1389: port not allowed or in use by another process

Davmail binds the ports properly when manually restart the service. I managed to resolve the issue by overriding davmail@.system_service with

[Unit]
After=network.target
Requires=network-online.target

The altered davmail@.system_service service file is now

[Unit]
Description=DavMail for %i
After=network.target
Requires=network-online.target

[Service]
User=davmail
ExecStart=/usr/bin/davmail /etc/davmail/%i.properties
Restart=on-failure
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes

[Install]
WantedBy=multi-user.target
DefaultInstance=davmail

hwkiller commented on 2020-12-18 20:34

Along the same lines of @hamelg, I now use

#!/bin/sh
JAVA_OPTS="-Xmx512M -Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2"
JFX_CLASSPATH=/usr/lib/jvm/default-runtime/lib/javafx-base.jar:/usr/lib/jvm/default-runtime/lib/javafx-controls.jar:/usr/lib/jvm/default-runtime/lib/javafx-fxml.jar:/usr/lib/jvm/default-runtime/lib/javafx-graphics.jar:/usr/lib/jvm/default-runtime/lib/javafx-media.jar:/usr/lib/jvm/default-runtime/lib/javafx-swing.jar:/usr/lib/jvm/default-runtime/lib/javafx-web.jar
DAVMAIL_HOME=/usr/share/java/davmail
#exec "$JAVA_HOME/bin/java" -jar "$DAVMAIL_HOME/davmail.jar" "$@"
SWT_GTK3=0 exec java $JAVA_OPTS -cp $DAVMAIL_HOME/davmail.jar:${JFX_CLASSPATH}:$DAVMAIL_HOME/lib/* davmail.DavGateway "$@"

As my script. I just edited the davmail.sh with that.

I was having problems with javafx and SWT. The above fixed SWT for me. I also had to roll back to openjdk8 for javafx prompts to work. With jdk14, it refuses to use o365interactive, because ""Unable to load JavaFX (OpenJFX)""

hamelg commented on 2020-11-26 21:39

The icon in system tray is ugly. At startup, davmail logs this message : INFO [main] davmail - SWT not available, using native system tray support

To enable SWT, I run davmail like that : SWT_GTK3=0 java -Xmx512M -Dsun.net.inetaddr.ttl=60 -Djdk.gtk.version=2.2 -cp /usr/share/java/davmail/davmail.jar:/usr/share/java/swt.jar:/usr/share/java/davmail/lib/* davmail.DavGateway

SanskritFritz commented on 2020-09-10 07:39

in your properties file: davmail.server=true

kuchik commented on 2020-09-09 20:55

Is there an option to run this without a GUI window showing up on gnome? I'm using the systemd user service but still a window pops up and stays in my dash. The service stops if I close the window.

Opvolger commented on 2020-06-10 18:24

can you add 'aarch64' as arch.? It works on my machine (Pinebook Pro).

diff --git a/PKGBUILD b/PKGBUILD
index 47f714a..5479016 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=davmail
 pkgver=5.5.1
 pkgrel=1
 pkgdesc="a POP/IMAP/SMTP/Caldav/LDAP gateway for the exchange service"
-arch=('i686' 'x86_64' 'armv7h')
+arch=('i686' 'x86_64' 'armv7h' 'aarch64')
 url="http://$pkgname.sourceforge.net/"
 license=('GPL')
 makedepends=('unzip')

bidskii commented on 2020-05-27 04:43

Has anyone managed to get an icon showing in gnome top-icons using the systemd user service?

suger commented on 2020-04-19 05:58

Would you mind adding 'armv7h' to the arch line? It builds cleanly and works smoothly on this architecture.

hwkiller commented on 2020-03-20 22:08

Can you add java-openjfx to optional dependencies? It is required for the browser-based o365interactive authentication method.

nesk_aur commented on 2018-08-21 07:26

@TPXP It wasn't necessary for me to create additional user on the system.
Simply:
$ systemctl --user start davmail@username.service
$ systemctl --user enable davmail@username.service
as my usual user.