Hello,
Some sieve filters do not work as expected and I want to debug why.
For that I configured in /etc/dovecot/conf.d/90-sieve.conf sieve_trace_dir = /var/log/dovecot/ sieve_trace_level = matching and created /var/log/dovecot/ and gave it the user+group "Debian-exim".
Unfortunately, no logs are written into that direcory. The normal log file in /var/log/dovecot.log contains no information - except that lmtp stored the mail in mailbox "test".
The docs[1] only say that those two options need to be enabled.
Sieve itself works, which I confirmed by creating a rule that moves mails with subject "test" into a separate folder.
What am I doing wrong?
$ dovecot --version 2.3.20 (80a5ac675d)
Running on Debian 11, packages from https://repo.dovecot.org/ce-2.3-latest/debian/bullseye
Full sieve config from "dovecot -n":
plugin { imapsieve_mailbox1_before = file:/var/lib/dovecot/sieve/learn-spam.sieve imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_name = Spam imapsieve_mailbox2_before = file:/var/lib/dovecot/sieve/learn-ham.sieve imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_from = Spam imapsieve_mailbox2_name = * sieve = file:~/sieve;active=~/.dovecot.sieve sieve_default = /var/lib/dovecot/sieve/default.sieve sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment sieve_pipe_bin_dir = /etc/dovecot/sieve-bin/ sieve_plugins = sieve_imapsieve sieve_extprograms sieve_trace_debug = no sieve_trace_dir = /var/log/dovecot-sieve sieve_trace_level = matching }
[1] https://doc.dovecot.org/configuration_manual/sieve/configuration/#trace-debu...
-- Regards/Mit freundlichen Grüßen Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-