[Dovecot] Dovecot + Cygwin

Ronny mlng at foxtrott-nb.de
Sat Nov 17 23:02:38 EET 2007


Timo Sirainen wrote:
> It doesn't come from Dovecot. Probably some of the libraries
> dovecot-auth is linked against is failing and returns that error. Does
> Cygwin have "ldd"? What does "ldd dovecot-auth" say?
> 

Well, there is a cygcheck.exe, the output for dovecot-auth is
$ cygcheck.exe dovecot-auth
Found: C:\cygwin\usr\libexec\dovecot\dovecot-auth.exe
C:/cygwin/usr/libexec/dovecot/dovecot-auth.exe
   C:\cygwin\bin\cygcrypt-0.dll
     C:\cygwin\bin\cygwin1.dll
       C:\WINDOWS\system32\ADVAPI32.DLL
         C:\WINDOWS\system32\ntdll.dll
         C:\WINDOWS\system32\KERNEL32.dll
         C:\WINDOWS\system32\RPCRT4.dll
           C:\WINDOWS\system32\Secur32.dll

all, of the listed dll's exist in their directory.

Well, what confuses me more ist that after fisrt launch the log is

dovecot: Nov 17 21:39:11 Info: Dovecot v1.0.7 starting up
dovecot: Nov 17 21:39:11 Error: Auth process died too early - shutting down

the next start creates

dovecot: Nov 17 21:40:30 Info: Dovecot v1.0.7 starting up
dovecot: Nov 17 21:40:30 Error: Socket already exists: 
/var/run/dovecot/dict-server
dovecot: Nov 17 21:40:30 Error: Auth process died too early - shutting down
dovecot: Nov 17 21:40:30 Error: child 1296 (auth) returned error 53

only removing /var/run/dovecot/dict-server creates

dovecot: Nov 17 21:41:40 Info: Dovecot v1.0.7 starting up
dovecot: Nov 17 21:41:41 Error: Auth process died too early - shutting down
dovecot: Nov 17 21:41:41 Error: child 4040 (auth) returned error 53

after removing the whole directory /var/run/dovecot again there is only, 
without any error code

dovecot: Nov 17 21:58:59 Info: Dovecot v1.0.7 starting up
dovecot: Nov 17 21:58:59 Error: Auth process died too early - shutting down


conf:
-----
$ dovecot -n
# 1.0.7: /etc/dovecot.conf
log_path: /var/log/dovecot.log
ssl_disable: yes
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable: /usr/libexec/dovecot/imap-login
login_user: Administrator
login_process_size: 0
mail_location: maildir:~/Maildir
mail_process_size: 0
auth default:
   user: Administrator
   verbose: yes
   debug: yes
   process_size: 0
   passdb:
     driver: passwd-file
     args: /etc/passwd.dovecot
   userdb:
     driver: passwd



More information about the dovecot mailing list