[dovecot-cvs] dovecot/src/master mail-process.c,1.96.2.3,1.96.2.4

cras at dovecot.org cras at dovecot.org
Wed Jun 28 00:03:54 EEST 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv29820/master

Modified Files:
      Tag: branch_1_0
	mail-process.c 
Log Message:
Changed the mail_plugins/mail_plugin_dir settings to be passed as the same
environments. If MAIL_PLUGIN_DIR environment isn't given, use the built-in
default.        



Index: mail-process.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.96.2.3
retrieving revision 1.96.2.4
diff -u -d -r1.96.2.3 -r1.96.2.4
--- mail-process.c	16 Jun 2006 18:13:41 -0000	1.96.2.3
+++ mail-process.c	27 Jun 2006 21:03:51 -0000	1.96.2.4
@@ -274,8 +274,9 @@
 				set->dbox_rotate_days));
 
 	if (*set->mail_plugins != '\0') {
-		env_put(t_strconcat("MODULE_DIR=", set->mail_plugin_dir, NULL));
-		env_put(t_strconcat("MODULE_LIST=", set->mail_plugins, NULL));
+		env_put(t_strconcat("MAIL_PLUGIN_DIR=",
+				    set->mail_plugin_dir, NULL));
+		env_put(t_strconcat("MAIL_PLUGINS=", set->mail_plugins, NULL));
 	}
 
 	/* user given environment - may be malicious. virtual_user comes from



More information about the dovecot-cvs mailing list