[Dovecot] Sieve problems (not matching emails expected to match)
Michael Welsh Duggan
md5i at md5i.com
Sun Mar 20 22:37:35 EET 2011
Stephan Bosch <stephan at rename-it.nl> writes:
> 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?
The folders do exist. The logs from sending a message look like this:
Mar 20 16:34:38 maru dovecot: lda(md5i): Debug: Effective uid=1000, gid=8, home=/home/md5i
Mar 20 16:34:38 maru dovecot: lda(md5i): Debug: maildir: root exists (/home/md5i/Maildir)
Mar 20 16:34:38 maru dovecot: lda(md5i): Debug: maildir++: root=/home/md5i/Maildir, index=, control=, inbox=/home/md5i/Maildir
Mar 20 16:34:38 maru dovecot: lda(md5i): Debug: userdb lookup skipped, username taken from USER environment
Mar 20 16:34:38 maru dovecot: lda(md5i): Debug: none: root=, index=, control=, inbox=
Mar 20 16:34:38 maru dovecot: lda(md5i): msgid=<87bp151qg6.fsf at maru.md5i.com>: saved mail to INBOX
Should there be log messages related to sieve here? If so, maybe sieve
is not running at all? If so, what am I doing incorrectly? sieve is
part of mail_plugins.
--
Michael Welsh Duggan
(md5i at md5i.com)
More information about the dovecot
mailing list