News for hackers. Stuff that matters.
Re:Dovecot audit complete by JupiterMoon on Monday January 16, 2017 @01:37AM (#13408536)
What CalDAV/CardDAV server do you run?
Re:Dovecot audit complete by foepys on Monday January 16, 2017 @03:32AM (#13408820)
I can recommend radicale [1]. It's very simple and doesn't need a lot of resources. It also supports authentication via an IMAP server so you don't have to keep a separate user database.

1: http://radicale.org/

Re:Dovecot audit complete by chrismartin on Monday January 16, 2017 @11:03AM (#13410700)
I also use Radicale. My only annoyance is that when you use its built-in HTTP server, the process eventually stops working if one of your clients has an intermittent connection (e.g. phone with a poor signal).

https://github.com/Kozea/Radicale/issues/266 https://github.com/Kozea/Radicale/issues/388

I'm told that using a dedicated HTTP + WSGI server solves this, just haven't done the work yet.

Re:Dovecot audit complete by JupiterMoon on Monday January 16, 2017 @01:03PM (#13411684)
Would it be easier to just have a cron job that checks every five minutes if Radicale is running and if it has fallen over restart it?
Re:Dovecot audit complete by uxp on Monday January 16, 2017 @01:24PM (#13411825)
Can we stop hacking ill-conceived one-offs like this and just start to assume that a monitoring utility (Monit, Supervisor, Munin, Nagios, ServerDensity, Solarwinds to name a few) in some form is the standard for notifying of anomalies and automation of process recovery?

Moreover, systemd has a OnFailure directive that activates other units when the process exits uncleanly. Upstart has a similar directive. With a more classical approach, `respawn' is a utility that can invoke and maintain the running status of a process launched from System V Init, or you could use the regarded inittab solution.

I've seen answers to questions similar to this on StackOverflow respond with scripts that are nothing more than a while(true) loop that checks to see if a PID exists in languages ranging from Bourne shell to Python and NodeJS. This is the wrong way to do it, especially the Node one. Lets take a language intended to be used inside a web browser client and slap it onto a server to be used for process monitoring. I'm sure it does a fine job with it's while loop, but we're hitting copper pipe with a tire iron wondering why our lightbulb isn't turning on here.

Re:Dovecot audit complete by afashglaksnhb on Tuesday January 17, 2017 @06:54AM (#13416733)
The GP's using it for personal use (I think). OP merely suggested a hack to let GP get on with their life as quickly as possible in 2 lines of bash and one crontab entry - and without learning a new process monitoring utility's configuration. Obviously this wouldn't be suitable for a production site for many users.
Re:Dovecot audit complete by thallian on Monday January 16, 2017 @06:08AM (#13409343)
I have the same experience. It works perfectly for me with ldap authentication (which I also use for my mailserver) over multiple devices (macOS, Windows, Android, Linux).

Started using it after Owncloud/Nextcloud broke their ldap auth.

Re:Dovecot audit complete by FatalBaboon on Monday January 16, 2017 @12:33PM (#13411429)
Using it as well, pretty simple to setup & dockerization-friendly.
Re:Dovecot audit complete by mike-cardwell on Monday January 16, 2017 @03:23AM (#13408795)
Not the parent, but I use Nextcloud for this (previously ownCloud). There are carddav and caldav sync applications for Android. I assume other operating systems have them too.

https://nextcloud.com

Re:Dovecot audit complete by throwanem on Monday January 16, 2017 @06:02AM (#13409332)
I've found Baïkal quite reliable over what must be a half decade of use. Integrates well with Apple devices (iOS/OS X 10.9), with the one Android I ever used, and via Lightning and Sogo Connector, also reasonably well with Thunderbird.