dovecot-1.2: expire-tool: Set USER environment while processing ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 22 06:44:23 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/283f52768314
changeset: 9149:283f52768314
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 21 23:44:18 2009 -0400
description:
expire-tool: Set USER environment while processing a user.

diffstat:

1 file changed, 1 insertion(+)
src/plugins/expire/auth-client.c |    1 +

diffs (11 lines):

diff -r a32a8ea97b25 -r 283f52768314 src/plugins/expire/auth-client.c
--- a/src/plugins/expire/auth-client.c	Sun Jun 21 23:31:46 2009 -0400
+++ b/src/plugins/expire/auth-client.c	Sun Jun 21 23:44:18 2009 -0400
@@ -17,6 +17,7 @@ static void auth_set_env(const char *use
 	const char *const *fields, *key, *value;
 	unsigned int i, count;
 
+	env_put(t_strconcat("USER=", reply->user, NULL));
 	if (reply->chroot != NULL)
 		env_put(t_strconcat("RESTRICT_CHROOT=", reply->chroot, NULL));
 


More information about the dovecot-cvs mailing list