I have the following in my active sieve file, and there are no errors logged.
if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; }
The message is put in .root, bit is not marked as seen.
Is the default action to put mail in a folder matching the extension taking precedence?
On 03/07/2019 04:44, @lbutlr via dovecot wrote:
I have the following in my active sieve file, and there are no errors logged.
if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; }
The message is put in .root, bit is not marked as seen.
Is the default action to put mail in a folder matching the extension taking precedence?
That should work. What version is this (output from dovecot -
n`)?
There have been some bugs with flags in the recent history.
Regards,
Stephan.
On 3 Jul 2019, at 01:28, Stephan Bosch via dovecot dovecot@dovecot.org wrote:
On 03/07/2019 04:44, @lbutlr via dovecot wrote:
I have the following in my active sieve file, and there are no errors logged.
if header :contains "to" "+root" { setflag "\\Seen"; fileinto :create "root"; stop; }
The message is put in .root, bit is not marked as seen.
Is the default action to put mail in a folder matching the extension taking precedence?
That should work. What version is this (output from
dovecot -
n`)? There have been some bugs with flags in the recent history.
# 2.3.6 (7eab80676): /usr/local/etc/dovecot/dovecot.conf # Pigeonhole version 0.5.6 (92dc263a) # OS: FreeBSD 11.2-RELEASE-p10 i386
It seems ti be working now. Does dovecot need to refresh the sieve rules periodically? (It has not been restarted recently., so it’s not that).
participants (2)
-
@lbutlr
-
Stephan Bosch