Re: [Dovecot] Dovecot 2.0.beta3 Configuration issue (I think)

2010-02-21 Thread Mark Sapiro
On 2/21/2010 12:04 PM, Thomas Leuxner wrote:
>>> Try
>>> 
>>> ssl_cert = >> > 
>> 
>> I did. It didn't make any difference.
> 
> Hmm. It does not say 'protocols = imap' in the dovecot -n output. Is
> it in 'dovecot.conf'


According to dovecot.conf, the default is

protocols = imap pop3 lmtp


> and what does the 'master.conf'
> service imap-login {
> 
> part look like?


Note this affects both imap and pop3. From master.conf (unchanged)

service imap {
  # Most of the memory goes to mmap()ing files. You may need to increase
this
  # limit if you have huge mailboxes.
  #vsz_limit = 256M

  # Max. number of IMAP processes (connections)
  #process_limit = 1024
}

service pop3 {
  # Max. number of POP3 processes (connections)
  #process_limit = 1024
}


-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



Re: [Dovecot] Dovecot 2.0.beta3 Configuration issue (I think)

2010-02-21 Thread Thomas Leuxner
>> Try
>> 
>> ssl_cert = > ssl_key =  
> 
> I did. It didn't make any difference.

Hmm. It does not say 'protocols = imap' in the dovecot -n output. Is it in 
'dovecot.conf' and what does the 'master.conf'

  service imap-login {

part look like?

Thomas



Re: [Dovecot] Dovecot 2.0.beta3 Configuration issue (I think)

2010-02-21 Thread Mark Sapiro
Thomas Leuxner wrote:

>> ssl_cert = /etc/postfix/sbh16-cert.pem
>> ssl_key = /etc/postfix/sbh16-key.pem
>
>Try
>
>ssl_cert = ssl_key = The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



Re: [Dovecot] Dovecot 2.0.beta3 Configuration issue (I think)

2010-02-21 Thread Thomas Leuxner
> ssl_cert = /etc/postfix/sbh16-cert.pem
> ssl_key = /etc/postfix/sbh16-key.pem

Try

ssl_cert = 

[Dovecot] Dovecot 2.0.beta3 Configuration issue (I think)

2010-02-21 Thread Mark Sapiro
I have been running dovecot 1.2.10 without problems. I am trying to
install 2.0.beta3. I have I think translated all my configuration
customizations correctly, but I have problems.

I can start dovecot, but I can't login, at least not with SSL.

Here's my dovecot -n

# 2.0.beta3: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.18-8.1.14.el5 i686 CentOS release 5 (Final)
auth_mechanisms = plain apop login
auth_worker_max_count = 5
mail_location = mbox:~/Mail:INBOX=/var/spool/mail/%u
mail_privileged_group = mail
mbox_write_locks = fcntl dotlock
passdb {
  args = /usr/local/etc/dovecot.passwd
  deny = no
  driver = passwd-file
  master = no
  pass = no
}
passdb {
  deny = no
  driver = pam
  master = no
  pass = no
}
ssl_cert = /etc/postfix/sbh16-cert.pem
ssl_key = /etc/postfix/sbh16-key.pem
userdb {
  driver = passwd
}


Note the files /etc/postfix/sbh16-cert.pem and
/etc/postfix/sbh16-key.pem exist and are the same files I use with
dovecot 1.2.

Dovecot starts OK, but when I try to connect with a pop3 or imap
client, the connection is established, but no response is sent to the
client.

Here are the dovecot entries from the maillog from startup through the
failed pop3 and imap logins.

Feb 21 10:50:43 sbh16 dovecot: master: Dovecot v2.0.beta3 starting up
(core dumps disabled)

Feb 21 10:51:28 sbh16 dovecot: pop3-login: Panic: file
login-settings.c: line 216 (login_settings_read): assertion failed:
(input.roots[count] == NULL)

Feb 21 10:51:28 sbh16 dovecot: pop3-login: Raw backtrace:
/usr/local/lib/dovecot/libdovecot.so.0 [0xc98950] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xc989a5] ->
/usr/local/lib/dovecot/libdovecot.so.0 [0xc98008] ->
/usr/local/lib/dovecot/libdovecot-login.so.0(login_settings_read+0x336)
[0x1959a6] -> /usr/local/lib/dovecot/libdovecot-login.so.0(main+0x107)
[0x195b77] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x4614cdec] ->
dovecot/pop3-login(main+0x49) [0x80493c1]

Feb 21 10:51:28 sbh16 dovecot: master: service(pop3-login): child 3280
killed with signal 6 (core dumps disabled)

Feb 21 10:51:28 sbh16 dovecot: master: service(pop3-login): command
startup failed, throttling

Feb 21 10:51:47 sbh16 dovecot: imap-login: Fatal: Can't load ssl_cert:
There is no certificate.

Feb 21 10:51:47 sbh16 dovecot: master: service(imap-login): command
startup failed, throttling


I suspect I've overlooked something in the config or I have something
wrong, but I don't know what.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan