Displaying 20 results from an estimated 36 matches for "removeflag".
2017 Jan 13
4
Sieve removeflag Action
Hi,
I recently noticed that some of my automatically processed mails do no longer show flags with current Dovecot builds. This used to work before, not sure what broke it or whether I used it in the wrong way. When the removeflag line is dropped *both* messages get flagged in the client, one in INBOX and one in Trash. With removeflag in place, *both* messages are unflagged, the one in INBOX and the one in Trash. This used to work differently before if memory doesn't fail me.
#Test
if address :is "From" "...
2017 Jan 13
0
Sieve removeflag Action
...PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 13 Jan 2017, Thomas Leuxner wrote:
> I recently noticed that some of my automatically processed mails do no longer show flags with current Dovecot builds. This used to work before, not sure what broke it or whether I used it in the wrong way. When the removeflag line is dropped *both* messages get flagged in the client, one in INBOX and one in Trash. With removeflag in place, *both* messages are unflagged, the one in INBOX and the one in Trash. This used to work differently before if memory doesn't fail me.
>
> #Test
> if address :is "Fro...
2017 Jan 13
0
Sieve removeflag Action
Op 13-1-2017 om 9:15 schreef Thomas Leuxner:
> Hi,
>
> I recently noticed that some of my automatically processed mails do no longer show flags with current Dovecot builds. This used to work before, not sure what broke it or whether I used it in the wrong way. When the removeflag line is dropped *both* messages get flagged in the client, one in INBOX and one in Trash. With removeflag in place, *both* messages are unflagged, the one in INBOX and the one in Trash. This used to work differently before if memory doesn't fail me.
>
> #Test
> if address :is "Fro...
2017 Jan 19
4
Sieve removeflag Action
...obal";
--
Global script referenced v
/var/vmail/conf.d/leuxner.net/sieve/global.sieve:
require ["fileinto","imap4flags","duplicate"];
#Newsletters
if header :contains "List-Id" "debian-security-announce.lists.debian.org"
{
removeflag "\\Flagged $MailFlagBit1";
fileinto ":public/Newsletters/Debian/Security";
addflag "\\Flagged $MailFlagBit1";
keep;
}
--
Basically it is reproducible with the same stanza we used before by putting this in the included script:
#Test
if...
2017 Jan 19
2
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.01.14 12:35:
> Fixed:
>
> https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737
Hi Stephan,
I recently noticed that the 'flags' still cause issues when using an _include_ script like:
require
2017 Feb 17
0
Sieve removeflag Action
...> /var/vmail/conf.d/leuxner.net/sieve/global.sieve:
>
> require ["fileinto","imap4flags","duplicate"];
>
> #Newsletters
>
> if header :contains "List-Id" "debian-security-announce.lists.debian.org"
> {
> removeflag "\\Flagged $MailFlagBit1";
> fileinto ":public/Newsletters/Debian/Security";
> addflag "\\Flagged $MailFlagBit1";
> keep;
> }
>
> --
> Basically it is reproducible with the same stanza we used before by putting t...
2017 Jan 13
3
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.01.13 13:50:
> So, that performs as expected. However, when I test this with LDA, ? can
> reproduce your problem:
>
> $ doveadm fetch flags mailbox "Trash" 1
> flags: \Recent
> $ doveadm fetch flags mailbox "INBOX" 1
> flags: \Recent
>
> Will investigate more later today...
Thanks for confirming
2017 Jan 14
0
Sieve removeflag Action
Op 1/13/2017 om 2:22 PM schreef Thomas Leuxner:
> * Stephan Bosch <stephan at rename-it.nl> 2017.01.13 13:50:
>
>> So, that performs as expected. However, when I test this with LDA, ? can
>> reproduce your problem:
>>
>> $ doveadm fetch flags mailbox "Trash" 1
>> flags: \Recent
>> $ doveadm fetch flags mailbox "INBOX" 1
>>
2017 Jan 14
1
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.01.14 12:35:
> Fixed:
>
> https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737
>
> Regards,
>
> Stephan.
Confirmed effective. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc:
2017 Jan 19
0
Sieve removeflag Action
Op 1/19/2017 om 10:07 AM schreef Thomas Leuxner:
> * Stephan Bosch <stephan at rename-it.nl> 2017.01.14 12:35:
>
>> Fixed:
>>
>> https://github.com/dovecot/pigeonhole/commit/772485538302957ebada484b6eedec57136bc737
> Hi Stephan,
>
> I recently noticed that the 'flags' still cause issues when using an _include_ script like:
>
> require
2017 Jan 31
0
Sieve removeflag Action
Op 1/19/2017 om 10:43 AM schreef Thomas Leuxner:
> * Stephan Bosch <stephan at rename-it.nl> 2017.01.19 10:32:
>
>> Could you provide a more detailed example?
> Sure. Personal script v
This slipped my attention for the moment. Will look at this soon...
Regards,
Stephan.
2017 Feb 20
2
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.02.17 14:34:
> Couldn't reproduce this with v2.3.devel yesterday (i.e. no flags set for the
> Security mailbox and all flags set for the message in INBOX), but I will try
> later with some older version.
I did install a newer build this morning:
Feb 20 07:00:23 nihlus dovecot: master: Dovecot v2.2.devel (8f42a89) starting up for
2017 Feb 22
0
Sieve removeflag Action
* Thomas Leuxner <tlx at leuxner.net> 2017.02.20 12:56:
> Feb 20 07:00:23 nihlus dovecot: master: Dovecot v2.2.devel (8f42a89) starting up for imap, lmtp
>
> This one processed the dovecot-news mail for 2.2.28.rc1 fine which uses a similar sieve rule. I will monitor global rules with this build and report back.
The results seem to be arbitrary. Personal rules _always_ work for
2017 Feb 24
0
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.02.24 10:20:
> Could you show me your full configuration (`dovecot -n`)?
>
> Regards,
>
> Stephan
Live configuration and scripts sent off-list.
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital
2017 Feb 26
0
Sieve removeflag Action
Op 2/26/2017 om 4:02 PM schreef Thomas Leuxner:
>> Am 26.02.2017 um 15:52 schrieb Thomas Leuxner <tlx at leuxner.net>:
>>
>>> So, I cannot reproduce your problem.
>>>
>>> Could you try this at your end?
>> Hi Stephan,
>>
>> Tried with:
>>
>> $ /usr/lib/dovecot/dovecot-lda -d tlx at leuxner.net -p ./message.eml
>>
2017 Feb 24
4
Sieve removeflag Action
Op 2/22/2017 om 8:40 PM schreef Thomas Leuxner:
> * Thomas Leuxner <tlx at leuxner.net> 2017.02.20 12:56:
>
>> Feb 20 07:00:23 nihlus dovecot: master: Dovecot v2.2.devel (8f42a89) starting up for imap, lmtp
>>
>> This one processed the dovecot-news mail for 2.2.28.rc1 fine which uses a similar sieve rule. I will monitor global rules with this build and report back.
2014 Apr 03
4
Sieve (randomly?) flagging messages as \\Seen \\Deleted
...ot.svbin, because it is already stored
- executing script from /blabla/.dovecot.svbin
- stored mail into mailbox 'DedicatedFolder'
And it does, except the message happens to be flagged as seen and deleted...
In order to try restricting what may be causing the issue, I added...
removeflag "\\Deleted";
removeflag "\\Seen";
...to the rule sending messages to the dedicated folder cited above for
my mailbox.
The problem apparently disappeared for me as long as I kept those in place.
This should mean (I suppose) that the decision of flagging messages that
wa...
2009 Dec 29
2
Pigeonhole Sieve IMAP flag question
Hello,
Here is a small script that I've been running to test a problem I've been
seeing. Shouldn't this result in the mail being delivered to the inbox as
a new message (ie. without the \Seen flag)?
require "imap4flags";
addflag "\\Seen";
removeflag "\\Seen";
Every message gets delivered to the inbox as though it's already been
read.
Using Dovecot 1.2.9 and Pigeonhole Sieve 0.1.14.
2010 Jan 27
0
Seen Flag doesn't work using imapflags
...( header :comparator "i;ascii-casemap" :contains "Delivered-To" "xxx at xxx.de", header :comparator "i;ascii-casemap" :contains "Subject" "*****SPAM*****" ) {
> addflag "\\Seen";
> fileinto "spam";
> removeflag "\\Seen";
> stop;
> }
>
Interesting. Looks like my bugfix exposed yet another bug. Your script
worked previously because the removeflag command did not work properly.
With 0.1.15 I fixed the removeflag command, thus breaking your script.
The essence of the bug we face now...
2018 Jan 05
1
Released Pigeonhole v0.5.0.1 for Dovecot v2.3.0.
...,
This is a bugfix release to mend some problems that were found in
v0.5.0. The imap4flags bug is actually not first seen in the 0.5.0
release (it is ancient), but I included the fix for it anyway.
Changelog v0.5.0.1:
- imap4flags extension: Fix binary corruption occurring when
setflag/addflag/removeflag flag-list is a variable.
- sieve-extprograms plugin: Fix segfault occurring when used in
IMAPSieve context.
The release is available as follows:
https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.0.1.tar.gz
https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0...