[Dovecot] Simply can't figure it out
Tero Ripattila
tero at ripattila.com
Mon May 23 23:12:51 EEST 2005
Hello Gaby,
--On 23. toukokuuta 2005 20:47 +0100 Gaby vanhegan <gaby at vanhegan.net>
wrote:
> 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:
I'm running OpenBSD too. -test70 is only release that I've had serious
problems with, others have worked like a charmn.
># ./configure --localstatedir=/var --with-ssl=openssl
># --with-ssldir=/etc/ssl --without-vpopmail -
> -without-pam --without-shadow
We seem to build the binaries in very similar way. This is how I build
mine:
$ ./configure --with-pgsql --with-mysql --with-ldap --without-pam
--without-vpopmail --without-shadow --localstatedir=/var/dovecot
--sysconfdir=/etc/dovecot --with-ssldir=/etc/ssl --with-ssl=openssl
> Here's my configuration file. I only really want to server imaps,
> but I've turned on imap for debuggering purposes:
>
> And it's running from my inetd.conf:
Personally I run dovecot outside the inetd.
> bash-3.00# /usr/local/sbin/dovecot
> Fatal: listen(143) failed: Address already in use
I think the problem is here, because you already have an installation
that listens the port 143.
What you should do here is modify dovecot.conf on line 28 and define an
alternative port there e.g.
listen = 127.0.0.1:144
> dovecot: May 23 20:34:19 Error: login: Missing protocol from server
> name 'imap'
Not sure what this error message means, but one idea that came to my
mind is that you have no protocol called "imap" specified in
/etc/services file. This is just an guess thought. Here's what I got
there:
$ grep imap /etc/services
imap 143/tcp imap2 # Internet Message Access Proto
imap 143/udp imap2 # Internet Message Access Proto
imap3 220/tcp # Interactive Mail Access
imap3 220/udp # Protocol v3
imaps 993/tcp # imap4 protocol over TLS/SSL
imaps 993/udp # imap4 protocol over TLS/SSL
> http://vanhegan.net/dovecot/dovecot.conf
Is this .conf file really the one you're using to run dovecot as it
seems to have a typo, please see the following error message:
> dovecot: May 23 20:40:25 Error: login: Unknown protocol 'imap?W'
You got extra characters like "?" and "W" after the word imap - at
least that's what I can read from your error log.
Thought I cannot see these extra characters in your dovecot.conf so I'm
wondering if these configuration files really are the same. See line 19:
protocols = imap imaps
Thanks, Tero
--
Tero Ripattila
More information about the dovecot
mailing list