[Dovecot] Cygwin and dovecot-auth problems

Timo Sirainen tss at iki.fi
Sat Jun 21 17:51:02 EEST 2008


On Sat, 2008-06-21 at 16:44 +0200, Blacktate wrote:
> Patch, make, replace the dovecot-auth executable, start inetd, telnet 
> localhost: just the same error ("EOF while reading..."). The error log 
> shows:
> 
> dovecot: Jun 21 15:51:53 Error: child 9904 (auth) returned error 53

Wasn't this logged before? This is the real reason why it doesn't work.
Googling Cygwin 53 exit code shows that it means it can't find some DLL.
Maybe because Dovecot drops PATH environment before calling
dovecot-auth, or maybe Cygwin needs some other environment variable?

One sure way to test that theory is the attached patch that doesn't
clear environment anywhere ever.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: keepenv.diff
Type: text/x-patch
Size: 446 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20080621/89ad1806/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080621/89ad1806/attachment-0003.bin 


More information about the dovecot mailing list