can't enable sieve on ubuntu trusty

Mihai Badici mihai at badici.ro
Wed Jun 10 06:46:35 UTC 2015


I try to create a sieve rule on a Ubuntu server ( managed by i-mscp)

For this rule i need the editheader extension.


I edited /etc/dovecot/conf.d/90-sieve.conf and added the following:






plugin {

  #sieve_extensions = +notify +imapflags
  sieve_extensions = +editheader

.... 

Restarted dovecot and didn't work
Looks like the content of 90-sieve.conf is ignored.

dovecot -n show no rule activated:

dovecot -n
# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 3.13.0-53-generic x86_64 Ubuntu 14.04.2 LTS 
auth_mechanisms = plain login cram-md5 digest-md5
disable_plaintext_auth = no
mail_location = maildir:~/
mail_plugins = quota
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
namespace inbox {
  inbox = yes
  location = 
  prefix = INBOX.
  separator = .
  type = private
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  autocreate = Trash
  autocreate2 = Spam
  autocreate3 = Deffered
  autocreate4 = Whatever
  autosubscribe = Trash
  autosubscribe2 = Spam
  autosubscribe3 = Deffered
  quota = maildir:User quota
  quota_rule = *:storage=1GB
  quota_warning = storage=95%% quota-warning 95 %u
  quota_warning2 = storage=80%% quota-warning 80 %u
}
protocols = " imap lmtp sieve pop3"

service auth {
  unix_listener auth-master {
    mode = 0600
    user = vmail
  }
}
service quota-warning {
  executable = script /var/www/imscp/engine/quota/imscp-dovecot-quota.sh
  group = imscp
  unix_listener quota-warning {
    mode = 0600
    user = vmail
  }
}
ssl_cert = </etc/imscp/imscp_services.pem
ssl_key = </etc/imscp/imscp_services.pem
ssl_protocols = !SSLv2 !SSLv3
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf
  driver = sql
}
protocol imap {
  mail_plugins = quota imap_quota
}
protocol pop3 {
  pop3_uidl_format = %u-%v
}
protocol lda {
  auth_socket_path = /var/run/dovecot/auth-master
  mail_plugins = quota
  postmaster_address = postmaster at ispcp.sf-hosting.net
}





Mihai Badici[1] 

--------
[1] http://mihai.badici.ro


More information about the dovecot mailing list