dovecot-2.0: script: Fixed using mail_uid/mail_gid settings as f...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 23 19:36:28 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/841bfacb7ec3
changeset: 10974:841bfacb7ec3
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 23 19:36:22 2010 +0200
description:
script: Fixed using mail_uid/mail_gid settings as fallback.

diffstat:

 src/util/script.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 9aa107613324 -r 841bfacb7ec3 src/util/script.c
--- a/src/util/script.c	Mon Mar 22 16:12:58 2010 +0200
+++ b/src/util/script.c	Tue Mar 23 19:36:22 2010 +0200
@@ -68,7 +68,8 @@
 
 	i = 0;
 	memset(&input, 0, sizeof(input));
-	input.module = input.service = "script";
+	input.module = "mail"; /* need to get mail_uid, mail_gid */
+	input.service = "script";
 	(void)net_addr2ip(args[i++], &input.local_ip);
 	(void)net_addr2ip(args[i++], &input.remote_ip);
 	input.username = args[i++];


More information about the dovecot-cvs mailing list