diff src/director/director-settings.h @ 14292:817ef4c9f1f3

Added director_username_hash setting to specify what part of the username is hashed. The default is "%u" meaning the full username. Another potentially useful value is "%d" for hashing only the domain (i.e. redirect users from the same domain always to same server so they can safely access each others' shared mailboxes).
author Timo Sirainen <tss@iki.fi>
date Mon, 05 Mar 2012 17:28:06 +0200
parents ddf28d10ff0f
children b9df3d654710
line wrap: on
line diff
--- a/src/director/director-settings.h	Mon Mar 05 14:27:02 2012 +0200
+++ b/src/director/director-settings.h	Mon Mar 05 17:28:06 2012 +0200
@@ -6,6 +6,7 @@
 
 	const char *director_servers;
 	const char *director_mail_servers;
+	const char *director_username_hash;
 	unsigned int director_user_expire;
 	unsigned int director_doveadm_port;
 };