[dovecot-cvs] dovecot/src/master mail-process.c,1.99,1.100

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


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

Modified Files:
	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.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- mail-process.c	16 Jun 2006 18:13:43 -0000	1.99
+++ mail-process.c	27 Jun 2006 21:03:56 -0000	1.100
@@ -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