On Thu, 2011-01-06 at 10:42 -0800, Virgil Champlin wrote: > --- main.c.orig 2010-11-04 11:58:48.000000000 -0700 > +++ main.c 2011-01-05 18:11:45.000000000 -0800 > @@ -717,7 +717,8 @@ > } > > if (dup2(null_fd, STDIN_FILENO) < 0 || > - dup2(null_fd, STDOUT_FILENO) < 0) > + dup2(null_fd, STDOUT_FILENO) < 0 || > + dup2(null_fd, STDERR_FILENO) < 0) > i_fatal("dup2(null_fd) failed: %m"); >
This is done a bit too early. http://hg.dovecot.org/dovecot-2.0/rev/08e4280e5bfd probably fixes it too?