My old server ran v.0.99, and this is the first time I've tried to get v.1 running. When I try to test it with telnet I see telnet localhost 143 Trying 127.0.0.1... Connected to david.lydgate.lan (127.0.0.1). Escape character is '^]'. * OK Dovecot ready. x login anne xxxxxx x OK Logged in. Connection closed by foreign host. I assumed it was an authentication problem (I want to use /etc/passwd as the authentication file) but it does say that I managed to log in. If so, what could be causing it to close immediately? Anne -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070808/d2336fca/attachment-0002.bin>
Hi Anne, Doubt if you're going to get much help with what little info you provided... Exact version? Dovecot -n output? Pertinent logs? -- Best regards, Charles
On Wednesday 08 Aug 2007, you wrote:> On Wed, 2007-08-08 at 21:19 +0100, Anne Wilson wrote: > > On Wednesday 08 Aug 2007, you wrote: > > > On Wed, 2007-08-08 at 19:45 +0100, Anne Wilson wrote: > > > > dovecot: Aug 08 18:50:11 Error: IMAP(anne): Ambiguous mail location > > > > setting, don't know what to do with it: /home/anne/Maildir (try > > > > prefixing it with mbox: or maildir:) > > > > > > .. > > > > > > > I tried adding maildir:, but it made no difference. > > > > > > That should fix it. Did you forget to restart Dovecot? Or did you check > > > if the error message had changed? > > > > You're right, of course - I had forgotten to restart. However, now I > > have > > > > telnet localhost 143 > > Trying 127.0.0.1... > > telnet: connect to address 127.0.0.1: Connection refused > > telnet: Unable to connect to remote host: Connection refused > > That means Dovecot didn't start. It most likely wrote an error message > to logs.[root at david program]# service dovecot status dovecot dead but subsys locked Hmm - dovecot: Aug 08 21:15:47 Warning: Killed with signal 15 dovecot: Aug 08 21:15:51 Error: Auth process died too early - shutting down dovecot: Aug 08 21:15:51 Error: auth(default): Unknown userdb driver '/etc/passwd' (typo, or Dovecot was built without support for it? Check with dovecot --build-options) dovecot: Aug 08 21:15:51 Error: child 30279 (auth) returned error 89 It's 10pm here, and I've wrestled with this most of the day. I'll be back to it in the morning, but I'm really tired now, and the brain is seizing up. :-) Any help you can give, I'll follow it up and report back. Thanks Anne -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070809/fbc4a7fd/attachment-0002.bin>
On Wednesday 08 Aug 2007, you wrote:> On Wednesday 08 Aug 2007, you wrote: > > On Wed, 2007-08-08 at 21:19 +0100, Anne Wilson wrote: > > > On Wednesday 08 Aug 2007, you wrote: > > > > On Wed, 2007-08-08 at 19:45 +0100, Anne Wilson wrote: > > > > > dovecot: Aug 08 18:50:11 Error: IMAP(anne): Ambiguous mail location > > > > > setting, don't know what to do with it: /home/anne/Maildir (try > > > > > prefixing it with mbox: or maildir:) > > > > > > > > .. > > > > > > > > > I tried adding maildir:, but it made no difference. > > > > > > > > That should fix it. Did you forget to restart Dovecot? Or did you > > > > check if the error message had changed? > > > > > > You're right, of course - I had forgotten to restart. However, now I > > > have > > > > > > telnet localhost 143 > > > Trying 127.0.0.1... > > > telnet: connect to address 127.0.0.1: Connection refused > > > telnet: Unable to connect to remote host: Connection refused > > > > That means Dovecot didn't start. It most likely wrote an error message > > to logs. > > [root at david program]# service dovecot status > dovecot dead but subsys locked > > Hmm - > > dovecot: Aug 08 21:15:47 Warning: Killed with signal 15 > dovecot: Aug 08 21:15:51 Error: Auth process died too early - shutting down > dovecot: Aug 08 21:15:51 Error: auth(default): Unknown userdb > driver '/etc/passwd' (typo, or Dovecot was built without support for it? > Check with dovecot --build-options) > dovecot: Aug 08 21:15:51 Error: child 30279 (auth) returned error 89 > > It's 10pm here, and I've wrestled with this most of the day. I'll be back > to it in the morning, but I'm really tired now, and the brain is seizing > up. :-) Any help you can give, I'll follow it up and report back. Thanks >OK - I did the check, which returned dovecot --build-options Build options: ioloop=poll notify=inotify ipv6 openssl SQL drivers: mysql Passdb: checkpassword pam passwd passwd-file shadow sql Userdb: checkpassword passwd prefetch passwd-file sql static so it has to be my config file. I'll try again to read up on this, but I'll be glad of any help available. Anne -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20070809/b62ada83/attachment-0002.bin>