[dovecot-cvs] dovecot/src/master mail-process.c,1.34,1.35
master-settings.c,1.33,1.34 master-settings.h,1.19,1.20
cras at procontrol.fi
cras at procontrol.fi
Sat Sep 6 21:44:53 EEST 2003
Update of /home/cvs/dovecot/src/master
In directory danu:/tmp/cvs-serv22280/master
Modified Files:
mail-process.c master-settings.c master-settings.h
Log Message:
Added "inbox" setting to specify which namespace has the INBOX.
Index: mail-process.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/mail-process.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- mail-process.c 6 Sep 2003 17:37:10 -0000 1.34
+++ mail-process.c 6 Sep 2003 17:44:51 -0000 1.35
@@ -133,6 +133,8 @@
env_put(t_strdup_printf("NAMESPACE_%u_PREFIX=%s",
i, ns->prefix));
}
+ if (ns->inbox)
+ env_put(t_strdup_printf("NAMESPACE_%u_INBOX=1", i));
t_pop();
}
}
Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- master-settings.c 6 Sep 2003 17:37:10 -0000 1.33
+++ master-settings.c 6 Sep 2003 17:44:51 -0000 1.34
@@ -142,6 +142,7 @@
DEF(SET_STR, separator),
DEF(SET_STR, prefix),
DEF(SET_STR, location),
+ DEF(SET_BOOL, inbox),
{ 0, NULL, 0 }
};
Index: master-settings.h
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- master-settings.h 24 Aug 2003 13:14:47 -0000 1.19
+++ master-settings.h 6 Sep 2003 17:44:51 -0000 1.20
@@ -120,6 +120,8 @@
const char *separator;
const char *prefix;
const char *location;
+
+ int inbox;
};
struct server_settings {
More information about the dovecot-cvs
mailing list