Not perfect but works.
rc.d script (/usr/local/etc/rc.d/) and bin script (/usr/local/bin/)
Config in /usr/local/etc/davmail/
Logs in /var/log/davmail/
You seem to have CSS turned off.
Please don't fill out this field.
both files are named davmail, one is located in bin and the other one in rc.d, right ?
Yes, the file in /usr/local/bin is created during the port install, i've just slightly modified it. The file in /usr/local/etc/rc.d is the new startup script. Both are named davmail.
The principal problem of this startup script is that it cannot handle different instances of davmail with different config files as it gets the process id from jps and there is always the same class name returned by jps for all instances of davmail.
Sign up for the SourceForge newsletter: