[Dovecot] managesieve problem

Miroslav Míšek miroslav.misek at gmail.com
Mon May 14 01:34:56 EEST 2012


Hi,

please could anyone help me with managesieve problem?

I have working dovecot (imap) and now i am trying to run managesieve plugin.
But I am still getting error:
May 14 00:05:41 thor dovecot: managesieve-login: Fatal: Error reading
configuration: Invalid settings: ssl enabled, but ssl_cert not set
May 14 00:05:41 thor dovecot: master: Error: service(managesieve-login):
command startup failed, throttling

Here is my configuration:

# doveconf -n
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-220.13.1.el6.x86_64 x86_64 CentOS release 6.2 (Final)
ext4
auth_mechanisms = plain login
first_valid_uid = 200
last_valid_uid = 200
mail_location = maildir:/home/vmail/%1d/%d/%n/Maildir
mbox_write_locks = fcntl
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0660
    user = vmail
  }
}
service managesieve-login {
  executable = managesieve-login director
  inet_listener sieve_deprecated {
    port = 2000
  }
}
service managesieve {
  executable = managesieve director
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  args = uid=vmail gid=vmail home=/home/vmail/%1d/%d/%n/Maildir
  driver = static
}

And:

[root at thor test]# ls -l /etc/pki/dovecot/certs/dovecot.pem
-rw------- 1 root root 847 May 10 13:24 /etc/pki/dovecot/certs/dovecot.pem
[root at thor test]# ls -l /etc/pki/dovecot/private/dovecot.pem
-rw------- 1 root root 916 May 10 13:24 /etc/pki/dovecot/private/dovecot.pem

I don`t know what can be wrong.

Thanks,
Miroslav Misek


More information about the dovecot mailing list