[Dovecot] Sieve filter not working

Lars Larsen lars at nulogic.net
Wed Dec 21 16:11:36 EET 2011


Hi,

Dovecot, the "deliver" LDA  and managesieve are all working. However, the sieve
rules do not seem to work:

System info:
CenOS 2.6.32-131.21.1.el6.x86_64 #1 SMP

dovecot-pigeonhole-2.0.9-2.el6_1.1.x86_64
dovecot-2.0.9-2.el6_1.1.x86_64

/etc/dovecot/dovecot.conf:

mbox_write_locks = fcntl
protocols = imap pop3 sieve 
passdb {
  driver = pam
}
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}

/etc/dovecot/conf.d/15-lda.conf:

postmaster_address = postmaster at ourdomain.net
hostname = mail.ourdomain.net
sendmail_path = /usr/sbin/sendmail
lda_mailbox_autocreate = yes

protocol lda {
  log_path =
  info_log_path =
  syslog_facility = messages
  mail_plugins = sieve
}

/etc/dovecot/conf.d/90-sieve.conf

plugin {
  sieve = ~/sieve/roundcube.sieve
  sieve_dir = ~/sieve
}

/home/lars/sieve/roundcube.sieve:

require ["fileinto"];
# rule:[admin-root]
if anyof (header :contains "From" "root", header :contains "Subject" "logwatch")
{
	fileinto "Admin";
}







More information about the dovecot mailing list