diff src/director/director-settings.h @ 20940:8de947fa3b4d

director: Support flush socket This allows specifying an URI to execute on user kill. It can be of form exec:/path/to/bin, unix:/path/to/socket or tcp:ip:port The location is sent FLUSH username-hash per killed user. You can execute some action there, and you are expected to return '+\nOK\n' as reply once you are done.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Thu, 13 Oct 2016 16:11:48 +0300
parents 3ebba506c2c7
children f733d647ff82
line wrap: on
line diff
--- a/src/director/director-settings.h	Sat Oct 22 12:58:40 2016 +0300
+++ b/src/director/director-settings.h	Thu Oct 13 16:11:48 2016 +0300
@@ -9,6 +9,8 @@
 	const char *director_servers;
 	const char *director_mail_servers;
 	const char *director_username_hash;
+	const char *director_flush_socket;
+
 	unsigned int director_user_expire;
 	unsigned int director_user_kick_delay;
 	in_port_t director_doveadm_port;