Sieve question

@lbutlr kremels at kreme.com
Thu Jul 4 10:27:20 EEST 2019


On 3 Jul 2019, at 01:28, Stephan Bosch via dovecot <dovecot at 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).



More information about the dovecot mailing list