[dovecot-cvs] dovecot/src/login-common master.c,1.9,1.10
cras at dovecot.org
cras at dovecot.org
Fri Jul 9 22:59:04 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir
maildir-storage.c, 1.77, 1.78
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.53,
1.54 mail-process.h, 1.5, 1.6 main.c, 1.51,
1.52 master-settings.c, 1.56, 1.57 master-settings.h, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv7425/login-common
Modified Files:
master.c
Log Message:
Added --exec-mail option to master. It can be used to parse Dovecot config
file and exec() imap/pop3 process directly. Moved --inetd option into
environment as it's only for internal use.
Index: master.c
===================================================================
RCS file: /home/cvs/dovecot/src/login-common/master.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- master.c 31 May 2004 18:04:47 -0000 1.9
+++ master.c 9 Jul 2004 19:59:02 -0000 1.10
@@ -104,7 +104,7 @@
static void master_exec(int fd)
{
- char *argv[] = { "dovecot", "--inetd", NULL };
+ char *argv[] = { "dovecot", NULL };
switch (fork()) {
case -1:
@@ -117,6 +117,7 @@
if (setsid() < 0)
i_fatal("setsid() failed: %m");
+ env_put("DOVECOT_INETD=1");
execv(SBINDIR"/dovecot", argv);
i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m",
SBINDIR"/dovecot");
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir
maildir-storage.c, 1.77, 1.78
- Next message: [dovecot-cvs] dovecot/src/master mail-process.c, 1.53,
1.54 mail-process.h, 1.5, 1.6 main.c, 1.51,
1.52 master-settings.c, 1.56, 1.57 master-settings.h, 1.36, 1.37
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list