Mercurial > dovecot > original-hg > dovecot-1.2
changeset 6400:ec5bb5ab7ac2 HEAD
Use the default fd limit for mail processes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 15 Sep 2007 17:01:10 +0300 |
parents | 91db6ee4de5e |
children | 1eff337eade3 |
files | src/master/mail-process.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/mail-process.c Sat Sep 15 17:00:00 2007 +0300 +++ b/src/master/mail-process.c Sat Sep 15 17:01:10 2007 +0300 @@ -27,8 +27,6 @@ # include <sys/resource.h> #endif -/* 1024 should be more than enough */ -#define MAIL_PROCESS_FD_LIMIT 1024 /* Timeout chdir() completely after this many seconds */ #define CHDIR_TIMEOUT 30 /* Give a warning about chdir() taking a while if it took longer than this @@ -826,7 +824,6 @@ if (set->mail_drop_priv_before_exec) restrict_access_by_env(TRUE); - restrict_fd_limit(MAIL_PROCESS_FD_LIMIT); client_process_exec(set->mail_executable, title); i_fatal_status(FATAL_EXEC, "execv(%s) failed: %m",