[Dovecot] Simply can't figure it out

Gaby vanhegan gaby at vanhegan.net
Mon May 23 22:47:37 EEST 2005


Hi,

I'm having a hideous problem trying to get the latest stable version to 
work.  I've had no success and simply can't pinpoint the problem.  
Sorry for the rather long email but I've included as many details as I 
can to help here.

I've been trying to install the latest stable version (as of 23rd May 
2005) by downloading the tarball from the site to my OpenBSD 3.6 box, 
and building with these arguments:

# ./configure --localstatedir=/var --with-ssl=openssl 
--with-ssldir=/etc/ssl --without-vpopmail -
-without-pam --without-shadow

Which builds fine.  Here are some files from the installation folder:

http://vanhegan.net/dovecot/config.log
http://vanhegan.net/dovecot/config.status

Here's my configuration file.  I only really want to server imaps, but 
I've turned on imap for debuggering purposes:

http://vanhegan.net/dovecot/dovecot.conf

And it's running from my inetd.conf:

# Dovecot IMAP services
144         stream  tcp nowait  root    
/usr/local/libexec/dovecot/imap-login   imap-login --group=default/imap
imaps       stream  tcp nowait  root    
/usr/local/libexec/dovecot/imap-login   imap-login --group=default/imap 
--ssl

(I'm running on port 144 to not clash with the existing IMAP service on 
port 143).  Now, no matter what I try, I simply can't make it login, or 
start the process:

(restart inetd, dovecot, check they're dead)
bash-3.00# kill -HUP `cat /var/run/inetd.pid`
bash-3.00# kill -TERM `cat /var/run/dovecot/master.pid`
bash-3.00# ps auwx | grep dove
root       828  0.0  0.1    84   456 p2  S+     8:39PM    0:00.01 grep 
dove
bash-3.00# /usr/local/libexec/dovecot/imap-login --group=default/imap
F/usr/local/libexec/dovecot/imap-login can be started only through 
dovecot master process, inetd or equilevant

(start dovecot, check it's running, error expected, other imap server 
already running)
bash-3.00# /usr/local/sbin/dovecot
Fatal: listen(143) failed: Address already in use
bash-3.00# ps auwx | grep dove
root     14041  0.0  0.3   212  1012 ??  Ss     8:39PM    0:00.06 
dovecot
root      3496  0.0  0.2   276   608 ??  S      8:39PM    0:00.02 
dovecot-auth
root     10928  0.0  0.1   104   456 p2  S+     8:40PM    0:00.01 grep 
dove

(try and login)
bash-3.00# /usr/local/libexec/dovecot/imap-login --group=default/imap
Fatal: EOF while reading environment from master
bash-3.00# tail /var/log/dovecot
dovecot: May 23 20:34:19 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:35:06 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:00 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:04 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:38:57 Warning: Killed with signal 15
dovecot: May 23 20:39:39 Info: Dovecot v1.0-stable starting up
dovecot: May 23 20:40:25 Error: login: Unknown protocol 'imap?W'

(try an SSL login)
bash-3.00# openssl s_client -connect localhost:993
CONNECTED(00000004)
24195:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:/usr/src/lib/libssl/ssl/../src/ssl/s23_clnt.c:475:
bash-3.00# tail /var/log/dovecot
dovecot: May 23 20:35:06 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:00 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:04 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:37:07 Error: login: Missing protocol from server 
name 'imap'
dovecot: May 23 20:38:57 Warning: Killed with signal 15
dovecot: May 23 20:39:39 Info: Dovecot v1.0-stable starting up
dovecot: May 23 20:40:25 Error: login: Unknown protocol 'imap?W'
dovecot: May 23 20:44:20 Error: login: Unknown protocol 'imap?W'

HELP PLEASE!!!  I've scoured t'internet and the closest I can find is 
this:

http://dovecot.org/pipermail/dovecot/2005-February/006284.html

Which got me past the "missing protocol from server" problem but hasn't 
got anywhere.  I've since fallen back to the version in ports from 
OpenBSD 3.6 but really want to get this going.  Any ideas?

Gaby

--
Junkets for bunterish lickspittles since 1998!
gaby at vanhegan.net
http://weblog.vanhegan.net 




More information about the dovecot mailing list