[Dovecot] Can't login in IMAP server
Hi,
I can't login in the IMAP server.
This is the log from a telnet session to port 143:
Feb 16 15:38:32 mail2 dovecot: auth(default): client in: AUTH 1 PLAIN service=IMAP secured lip=192.168.84.128 rip=192.168.84.128 resp=<hidden> Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Executed: /usr/local/bin/auth_imap /usr/local/libexec/dovecot/checkpassword-reply Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Received no input Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword: Child 15764 died with signal 11 Feb 16 15:38:34 mail2 dovecot: auth(default): client out: FAIL 1 user=gamito@mail2.telbit.pt temp Feb 16 15:38:40 mail2 dovecot: imap-login: Aborted login: user=<gamito@mail2.telbit.pt>, method=PLAIN, rip=192.168.84.128, lip=192.168.84.128, secured
What is happening here ?
Any help would be appreciated.
Warm Regards, Mário Gamito
On Fri, 2007-02-16 at 15:53 +0000, Mário Gamito wrote:
checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Executed: /usr/local/bin/auth_imap /usr/local/libexec/dovecot/checkpassword-reply Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Received no input Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword: Child 15764 died with signal 11
I suppose I should make checkpassword-reply not crash but rather tell more nicely when it doesn't find some environment that it expects. I see two possible reasons for the crash:
Your checkpassword didn't set USER environment.
Your checkpassword didn't set HOME environment.
What checkpassword binary/script are you using? In any case you should fix it to return those to environments.
On Fri, 2007-02-16 at 19:08 +0200, Timo Sirainen wrote:
On Fri, 2007-02-16 at 15:53 +0000, Mário Gamito wrote:
checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Executed: /usr/local/bin/auth_imap /usr/local/libexec/dovecot/checkpassword-reply Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword(gamito@mail2.telbit.pt,192.168.84.128): Received no input Feb 16 15:38:32 mail2 dovecot: auth(default): checkpassword: Child 15764 died with signal 11
I suppose I should make checkpassword-reply not crash but rather tell more nicely when it doesn't find some environment that it expects. I see two possible reasons for the crash:
Your checkpassword didn't set USER environment.
Your checkpassword didn't set HOME environment.
What checkpassword binary/script are you using? In any case you should fix it to return those to environments.
Although neither of those really need to be set. I fixed this so that in rc23 they're not required.
participants (2)
-
Mário Gamito
-
Timo Sirainen