[Dovecot] Dovecot + Cygwin
Ronny
mlng at foxtrott-nb.de
Mon Nov 26 18:28:59 EET 2007
> This only means that it sees that auth process died, so master process
> shuts down. Put something similar to src/auth/main.c instead to see if
> it gets executed.
>
I put i_info as the first statement in auth/main.c!
This do not appear at the log, so the auth process is not executed!?!?
As far as i see this is for executing the auth process:
void client_process_exec(const char *cmd, const char *title)
{
i_info("LPE6");
execv(executable, (char **)argv);
i_info("LPE7");
}
Log output is only "LPE6", so it comes to the point where it should be
executed, but does not do it!
BUT!!!:
i set auth_executable = /home/Administrator/d.sh
d.sh is
#!/bin/sh
echo "running" > /home/Administrator/output
exit 0
even client_process_exec() do not comes to "LPE7" the file output is
created! So it seems execv() runs the process but then stops and do not
return!
log:
dovecot: Nov 25 23:36:48 Info: Dovecot v1.0.7 starting up
dovecot: Nov 25 23:36:48 Info: LPE6
dovecot: Nov 25 23:36:50 Info: DIE 2
dovecot: Nov 25 23:36:50 Info: VOR ausgabe des died to early
dovecot: Nov 25 23:36:50 Error: Auth process died too early - shutting down
By the way, to you use gdb/ddd? Does it work for you? Do you use any
special debug level?
cheers
Ronny
More information about the dovecot
mailing list