Hi, i still try to get dovecot to run under cygwin. After a post on the cygwin list i am able tu run dovecot. Under Cygwin you have to run dovecot by inetd. Starting the binary "dovecot.exe" does not work. Well the server is running but answers with a fatal error. Account: 'localhost', Server: 'localhost', Protokoll: POP3, Serveranswer: 'Fatal: EOF while reading environment from master', Port: 110, Secure (SSL): No, error on server: 0x800CCC90, Fehlernummer: 0x800CCC90 This error is from Outlook, Thunderbird just says there is an error without any error message. So maybe you can help me to bring my story to a hapy end ;-) Cheers Ronny
Sorry i forgot: $ dovecot -n # 1.0.9: /etc/dovecot.conf base_dir: /var/run/dovecot/ log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.log protocols: imap pop3 ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot//login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login login_user: Administrator mail_location: maildir:~/Maildir mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 pop3_uidl_format(default): pop3_uidl_format(imap): pop3_uidl_format(pop3): %08Xu%08Xv auth default: user: Administrator process_size: 0 passdb: driver: passwd-file args: /etc/passwd.dovecot passdb: driver: pam userdb: driver: passwd
On 18.12.2007 15:15, Ronny wrote:> Hi, > > i still try to get dovecot to run under cygwin. > After a post on the cygwin list i am able tu run dovecot. > Under Cygwin you have to run dovecot by inetd. Starting the binary > "dovecot.exe" does not work. > > Well the server is running but answers with a fatal error. > > > Account: 'localhost', Server: 'localhost', Protokoll: POP3, > Serveranswer: 'Fatal: EOF while reading environment from master', > Port: 110, Secure (SSL): No, error on server: 0x800CCC90, > Fehlernummer: 0x800CCC90 > > This error is from Outlook, Thunderbird just says there is an error > without any error message. > > So maybe you can help me to bring my story to a hapy end ;-) > > Cheers > Ronny >Can you get greeting text if you simply telnet to server?
On Tue, 2007-12-18 at 13:15 +0100, Ronny wrote:> Account: 'localhost', Server: 'localhost', Protokoll: POP3, > Serveranswer: 'Fatal: EOF while reading environment from master', Port: > 110, Secure (SSL): No, error on server: 0x800CCC90, Fehlernummer: 0x800CCC90What happens when you change this: diff -r d81c10f9b8ec src/login-common/main.c --- a/src/login-common/main.c Tue Dec 11 21:00:14 2007 +0200 +++ b/src/login-common/main.c Thu Dec 20 18:52:15 2007 +0200 @@ -359,7 +359,7 @@ int main(int argc __attr_unused__, char int i, fd = -1, master_fd = -1; bool ssl = FALSE; - is_inetd = getenv("DOVECOT_MASTER") == NULL; + //is_inetd = getenv("DOVECOT_MASTER") == NULL; #ifdef DEBUG if (!is_inetd && getenv("GDB") == NULL) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071220/938fef47/attachment-0002.bin>
> What happens when you change this: > > diff -r d81c10f9b8ec src/login-common/main.c > --- a/src/login-common/main.c Tue Dec 11 21:00:14 2007 +0200 > +++ b/src/login-common/main.c Thu Dec 20 18:52:15 2007 +0200 > @@ -359,7 +359,7 @@ int main(int argc __attr_unused__, char > int i, fd = -1, master_fd = -1; > bool ssl = FALSE; > > - is_inetd = getenv("DOVECOT_MASTER") == NULL; > + //is_inetd = getenv("DOVECOT_MASTER") == NULL; > > #ifdef DEBUG > if (!is_inetd && getenv("GDB") == NULL) >$ telnet localhost 143 Trying 127.0.0.1... Connected to zoidberg. Escape character is '^]'. FBUG: PROCESS_UID environment not given Connection closed by foreign host.