Displaying 2 results from an estimated 2 matches for "01867a4".
Did you mean:
018654
2017 Jan 13
4
Sieve removeflag Action
...ore if memory doesn't fail me.
#Test
if address :is "From" "user at example.com"
{
addflag "\\Flagged $MailFlagBit1";
keep;
removeflag "\\Flagged $MailFlagBit1";
fileinto "Trash";
}
# 2.2.devel (01867a4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.devel (3c071a4)
# OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature...
2017 Jan 13
0
Sieve removeflag Action
...address :is "From" "user at example.com"
> {
> addflag "\\Flagged $MailFlagBit1";
> keep;
> removeflag "\\Flagged $MailFlagBit1";
> fileinto "Trash";
> }
>
> # 2.2.devel (01867a4): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.devel (3c071a4)
> # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.6
That should just work. I tested this with the indicated versions using
sieve-test and an empty user account:
$ sieve-test -e -t - -Tlevel=matching ~/frop.sieve ~/message.em...