Hi all.

I'm trying to use Sieve with Dovecot and imaps (OpenBSD 5.3).

When sieve protocol is enabled I can't connect to my IMAP server
anymore; as soon as I remove sieve from the "protocols" list it works again.


Here is the dovecot logs:
Oct 13 17:32:54 dovecot: anvil: Fatal: Error reading configuration:
Timeout reading config from /var/dovecot/config
Oct 13 17:32:54 dovecot: master: Error: service(anvil): command startup
failed, throttling for 2 secs
Oct 13 17:32:54 dovecot: ssl-params: Fatal: Error reading configuration:
Timeout reading config from /var/dovecot/config
Oct 13 17:32:54 dovecot: master: Error: service(ssl-params): command
startup failed, throttling for 2 secs
Oct 13 17:32:55 dovecot: imap-login: Fatal: Error reading configuration:
Timeout reading config from /var/dovecot/config
Oct 13 17:32:55 dovecot: master: Error: service(imap-login): command
startup failed, throttling for 2 secs


No error returned by "dovecot -F".

Here is the result of a gnutls-cli test:
*** Fatal error: The TLS connection was non-properly terminated.
*** Handshake has failed
GnuTLS error: The TLS connection was non-properly terminated.


Does anyone already experienced this?
Any help would be really appreciated.

Thanks.


# dovecot --version
2.1.15

# dovecot -n
# 2.1.15: /etc/dovecot/dovecot.conf
# OS: OpenBSD 5.3 amd64
first_valid_uid = 1000
mail_location = maildir:~/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = bsdauth
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
}
protocols = imap sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    mode = 0666
    user = _postfix
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    port = 0
  }
}
ssl_ca = </etc/ssl/CA.crt
ssl_cert = </etc/ssl/imap.crt
ssl_key = </etc/ssl/private/imap.key
ssl_protocols = TLSv1
userdb {
  driver = passwd
}
protocol imap {
  imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
}
protocol pop3 {
  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}

Reply via email to