Michael Welsh Duggan
2011-Mar-20 07:12 UTC
[Dovecot] Sieve problems (not matching emails expected to match)
I have a sieve file that reads like this: require "fileinto"; # Emacs if header :contains "List-Id" "emacs-devel.gnu.org" { fileinto "mail.emacs-devel"; } elsif header :contains "List-Id" "emacs-bidi.gnu.org" { fileinto "mail.emacs-bidi"; } ... Unfortunately the List-Id based lines don't appear to be working, although some other ones do. The attached test message does not get delivered to the mail.emacs-devel list. Why? -------------- next part -------------- An embedded message was scrubbed... From: Michael Welsh Duggan <md5i at md5i.com> Subject: Test Date: Sun, 20 Mar 2011 03:10:11 -0400 Size: 1061 URL: <http://dovecot.org/pipermail/dovecot/attachments/20110320/af3a46ed/attachment-0002.mht> -------------- next part -------------- -- Michael Welsh Duggan (md5i at md5i.com)
Michael Welsh Duggan
2011-Mar-20 07:18 UTC
[Dovecot] Sieve problems (not matching emails expected to match)
Forgot to mention: # 2.0.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.35 i686 Debian wheezy/sid -- Michael Welsh Duggan (md5i at md5i.com)
Michael Welsh Duggan
2011-Mar-20 19:28 UTC
[Dovecot] Sieve problems (not matching emails expected to match)
Michael Welsh Duggan <md5i at md5i.com> writes:> I have a sieve file that reads like this: > > require "fileinto"; > > # Emacs > if header :contains "List-Id" "emacs-devel.gnu.org" > { > fileinto "mail.emacs-devel"; > } > elsif header :contains "List-Id" "emacs-bidi.gnu.org" > { > fileinto "mail.emacs-bidi"; > } > ... > > Unfortunately the List-Id based lines don't appear to be working, > although some other ones do. The attached test message does not get > delivered to the mail.emacs-devel list. Why?Okay, more data. When running sieve using sieve-test, I get the results I expect. I cannot figure out why it works in situ, but does not work from dovecot. Here is my doveconf -n output: # 2.0.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.35 i686 Debian wheezy/sid 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 passdb { driver = pam } plugin/sieve = ~/.dovecot.sieve plugin/sieve_dir = ~/sieve protocols = " imap sieve" service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { driver = passwd } -- Michael Welsh Duggan (md5i at md5i.com)
Stephan Bosch
2011-Mar-20 20:12 UTC
[Dovecot] Sieve problems (not matching emails expected to match)
Op 20-3-2011 8:12, Michael Welsh Duggan schreef:> I have a sieve file that reads like this: > > require "fileinto"; > > # Emacs > if header :contains "List-Id" "emacs-devel.gnu.org" > { > fileinto "mail.emacs-devel"; > } > elsif header :contains "List-Id" "emacs-bidi.gnu.org" > { > fileinto "mail.emacs-bidi"; > } > ... > > Unfortunately the List-Id based lines don't appear to be working, > although some other ones do. The attached test message does not get > delivered to the mail.emacs-devel list. Why?Do those folders exist? Do the logs report anything? Regards, Stephan.