updating and wsitching repo to yum.dovecot.fi - Unknown protocol: sieve

Teemu Huovila teemu.huovila at dovecot.fi
Fri Oct 30 14:44:59 UTC 2015



On 30.10.2015 15:35, Götz Reinicke - IT Koordinator wrote:
> Am 30.10.15 um 11:49 schrieb Teemu Huovila:
>>
>>
>> On 30.10.2015 12:18, Götz Reinicke - IT Koordinator wrote:
>>> Hi,
>>>
>>> winter is coming and so I start to clean up some left overs of the year.
>>>
>>> One thing is to use the yum.dovecot.fi repository.
>>>
>>> After installing the current availabel dovecot and dovecot-ee-pigeonhole
>>> package and restarting dovecot I do get the error:
>>>
>>>
>>> doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf:
>>> protocols: Unknown protocol: sieve
>> Could you please reply with the output of doveconf -n
> 
> 
> my guess: in the currently used rpms the "managesieve" libs are
> included; for the official dovecot repo I do have to install the
> dovecot-ee-managesieve.rpm too...
Yes, if you have "protocols = sieve .." then you need the managesieve package too. Also, to use sieve filtering, you need to load the sieve plugin in mail_plugins for lmtp or lda. Please refer to 
http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Configuration

Teemu
 
> 
> # 2.2.18.2 (866bffbafde7): /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.18-371.6.1.el5xen x86_64 CentOS release 5.11 (Final)
> auth_debug = yes
> auth_master_user_separator = *
> auth_mechanisms = plain login
> auth_verbose = yes
> default_client_limit = 4000
> default_process_limit = 4000
> disable_plaintext_auth = no
> log_path = /var/log/dovecot.log
> login_trusted_networks = 193.196.129.21
> mail_debug = yes
> mail_location = maildir:~/Maildir
> mail_plugins = mail_log notify quota acl
> mail_privileged_group = mail
> mdbox_rotate_size = 10 M
> namespace {
>   list = children
>   location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
>   prefix = shared/%%u/
>   separator = /
>   subscriptions = yes
>   type = shared
> }
> 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 =
>   separator = /
> }
> passdb {
>   args = /etc/dovecot/master-users
>   driver = passwd-file
>   master = yes
> }
> passdb {
>   args = /etc/dovecot/dovecot-ldap.conf.ext
>   driver = ldap
> }
> plugin {
>   acl = vfile
>   acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes
>   quota = dict:User quota::noenforcing:file:%h/dovecot-quota
>   quota_rule = *:storage=5G
>   quota_rule2 = Trash:storage=+100M
>   quota_warning = storage=95%% quota-warning 95 %u
>   quota_warning2 = storage=80%% quota-warning 80 %u
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/sieve
> }
> postmaster_address = postmaster at filmakademie.de
> protocols = imap pop3 lmtp sieve sieve
> quota_full_tempfail = yes
> service auth {
>   unix_listener /var/spool/postfix/private/auth {
>     mode = 0666
>   }
>   unix_listener auth-userdb {
>     group = vmail
>     user = vmail
>   }
>   user = root
> }
> service imap-login {
>   process_limit = 1024
>   process_min_avail = 16
>   service_count = 0
> }
> service imap {
>   process_limit = 1024
> }
> service lmtp {
>   inet_listener lmtp {
>     address = 127.0.0.1
>     port = 24
>   }
> }
> service managesieve-login {
>   inet_listener sieve {
>     port = 4190
>   }
>   service_count = 1
> }
> service managesieve {
>   process_limit = 1024
> }
> service pop3-login {
>   process_limit = 1024
>   process_min_avail = 16
>   service_count = 0
> }
> service pop3 {
>   process_limit = 1024
> }
> service quota-warning {
>   executable = script /usr/local/bin/quota-warning.sh
>   unix_listener quota-warning {
>     user = vmail
>   }
>   user = dovecot
> }
> ssl_ca = </etc/pki/tls/certs/ca-bundle_all.crt
> ssl_cert = </etc/pki/tls/certs/mail_filmakademie_de.crt
> ssl_cipher_list =
> DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ALL:!LOW:!SSLv2:!EXP:!aNULL
> ssl_key = </etc/pki/tls/private/mail_filmakademie_de.key
> ssl_prefer_server_ciphers = yes
> userdb {
>   args = /etc/dovecot/dovecot-ldap.conf.ext
>   driver = ldap
> }
> verbose_proctitle = yes
> doveconf: Error: protocols: Unknown protocol: sieve
> protocol lmtp {
>   info_log_path = /var/log/dovecot-lmtp.log
>   log_path = /var/log/dovecot-lmtp-errors.log
>   mail_plugins = mail_log notify quota acl sieve
> }
> protocol imap {
>   mail_max_userip_connections = 20
>   mail_plugins = mail_log notify quota acl imap_zlib imap_quota imap_acl
> }
> protocol pop3 {
>   mail_max_userip_connections = 20
> }
> doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf:
> protocols: Unknown protocol: sieve
> 
> 


More information about the dovecot mailing list