dovecot-1.2: master: Set BASE_DIR environment for mail processes.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 22 05:27:03 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/a0fcbb79ef66
changeset: 9144:a0fcbb79ef66
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 21 22:26:58 2009 -0400
description:
master: Set BASE_DIR environment for mail processes.

diffstat:

1 file changed, 1 insertion(+)
src/master/mail-process.c |    1 +

diffs (11 lines):

diff -r 675f0df22f24 -r a0fcbb79ef66 src/master/mail-process.c
--- a/src/master/mail-process.c	Sun Jun 21 22:22:57 2009 -0400
+++ b/src/master/mail-process.c	Sun Jun 21 22:26:58 2009 -0400
@@ -303,6 +303,7 @@ mail_process_set_environment(struct sett
 	string_t *str;
 	unsigned int i, count;
 
+	env_put(t_strconcat("BASE_DIR=", set->base_dir, NULL));
 	env_put(t_strconcat("MAIL_CACHE_FIELDS=",
 			    set->mail_cache_fields, NULL));
 	env_put(t_strconcat("MAIL_NEVER_CACHE_FIELDS=",


More information about the dovecot-cvs mailing list