Displaying 20 results from an estimated 8000 matches similar to: "set imap flags in user sieve scripts"
2023 Mar 11
1
set imap flags in user sieve scripts
spi skrev den 2023-03-11 13:34:
> if address :domain "From" "whatever.com"{
> fileinto :flags ["\\todo"] "working/whatever";
> }
require ["fileinto","imap4flags"];
# rule:[set todo]
if allof (header :contains "subject" "set imap flags in user sieve
scripts", header :contains "from" "user at
2023 Mar 11
1
set imap flags in user sieve scripts
11.03.2023 19:23:21 Benny Pedersen <me at junc.eu>:
> spi skrev den 2023-03-11 13:34:
>
>> if address :domain "From" "whatever.com"{
>> fileinto :flags ["\\todo"] "working/whatever";
>> }
>
> require ["fileinto","imap4flags"];
imap4flags seems not to be accepted in an user script. My sieve editor
2018 Dec 04
2
BUG: sieve does not set seen-Flag
Which version of dovecot are you using?
jakob
Am 04.12.18 um 15:44 schrieb Larry Rosenman:
> I have the following, and it works:
> require ["include","fileinto","imap4flags","variables"];
> global "MyFlags";
> if header :contains ["X-LERCTR-Spam-Flag","X-TNTSCAN-Spam-Flag"] "YES"
> {
> redirect
2018 Dec 04
2
BUG: sieve does not set seen-Flag
I tried it like you... doesn't work. The message gets all the other
flags, but not the \Seen-Flag.
My repo is
https://repo.dovecot.org/ce-2.3-latest/debian/stretch stretch
dpkg -l|grep dove
ii? dovecot-core????????????????????? 2:2.3.4-2~stretch????????????? amd64??????? secure POP3/IMAP server - core files
ii? dovecot-imapd???????????????????? 2:2.3.4-2~stretch????????????? amd64???????
2018 Dec 04
2
BUG: sieve does not set seen-Flag
Now i tried an additional rule in my "normal" working sieve-filter:
if address :domain :matches "from" "company.example"
? { setflag "\\seen"; fileinto :create "INBOX/foo/test"; stop; }
and sent an email from my company-account. The folder INBOX/foo/test
gets created, but the message inside is not marked as seen.
So i think, this is a bug in
2018 Dec 04
3
BUG: sieve does not set seen-Flag
Did you notice the
fileinto :flags
usage? It comes from imap4sieve extension.
https://tools.ietf.org/html/rfc5232#page-7
Aki
> On 04 December 2018 at 17:13 Larry Rosenman <larryrtx at gmail.com> wrote:
>
>
> I've been using that recipe for YEARS, and it DOES work for me on FreeBSD
> (I'm also the port maintainer for dovecot and pigeonhole).
>
> Not sure
2010 Aug 20
2
pigeonhole sieve imapflags bug
Hi all,
ok, I just instealled the dovecot 2.0.0 release, and the latest
mercurial pigeonhole source.
All is well, except for a particular sieve rule that may not be working
right.
It is a simple rule that looks like this :
require ["fileinto","imap4flags"];
# rule:[Past Due Notices]
if allof (header :contains "Subject" "Account Past Due Notice")
{
2018 Dec 04
2
set seen flag and junk moving a mail manually to JUNK
Hi Ralph!
This is, what calls the correct sive-filter rules. I have that already
in use.
But the file
file:/etc/dovecot/sievepipe/report-spam
contains my sieve-script from my first posting.
So, the difference from setflag to addflag is, setflag sets the flags,
and only the given flags (removing all other flags), and addflag adds a
flag to the existing flags...
I fiddled around a little...
The
2018 Dec 04
2
set seen flag and junk moving a mail manually to JUNK
Hi there!
I want to set the \seen and the Junk Flag to an email, which i move
manually to my Junk-Folder.
I tried a lot... but nothing worked like expected.
I have a sieve-filter, which takes an email and copy it to a pipe to
rspamc. This filter is working correctly, i get a debug-message from the
script, which is called through the sieve-filter.
But adding another rule (addflag
2018 Dec 04
0
BUG: sieve does not set seen-Flag
2.3.4/0.5.4 (dovecot/pigeonhole)
Note the casing on the \\Seen flag.
On Tue, Dec 4, 2018 at 9:02 AM Jakobus Sch?rz <wertstoffe at nurfuerspam.de>
wrote:
> Which version of dovecot are you using?
>
>
> jakob
>
> Am 04.12.18 um 15:44 schrieb Larry Rosenman:
> > I have the following, and it works:
> > require
2018 Dec 04
0
BUG: sieve does not set seen-Flag
Yes. I did it the same way, Larry described.
And i have in my sieve-script, which i use also for years the other
notation i tried before, many times in use.
The last month it did not recognize, that this rules won't work any
longer. Today i played around a little, then i saw, it won't work to set
the \Seen-Flag...
Please be aware, i can set Junk-Flag, and Thunderbird shows me the
Emails
2018 Dec 04
0
BUG: sieve does not set seen-Flag
I've been using that recipe for YEARS, and it DOES work for me on FreeBSD
(I'm also the port maintainer for dovecot and pigeonhole).
Not sure exactly what you are doing wrong, but I use lmtp to deliver the
mail to mbox formatted mailboxes.
On Tue, Dec 4, 2018 at 9:11 AM Jakobus Sch?rz <wertstoffe at nurfuerspam.de>
wrote:
> I tried it like you... doesn't work. The message
2018 Dec 04
2
BUG: sieve does not set seen-Flag
I have an additional information.
Moving a already seen messsage to another imap-folder (drag&drop in
thunderbird) shows this email in the other folder as unseen and recent.
Is this normal behaviour?
BR Jakob
Am 04.12.18 um 16:36 schrieb Jakobus Sch?rz:
> Yes. I did it the same way, Larry described.
>
> And i have in my sieve-script, which i use also for years the other
>
2020 Feb 18
3
managesieve / sieve - append dot prefix on moving mails into folder
Hello mailinglist-subscribers,
i have an issue with the managesieve / sieve plugin in dovecot.
We use roundcube as webmailer and if i define a new filter to move
incoming mails directly into a subfolder i get the following sieve-code:
require ["fileinto","imap4flags"];
# rule:[mail into folder]
if allof (header :contains "from" "sender at domain.org")
{
2023 Mar 11
1
set imap flags in user sieve scripts
Am Samstag, dem 11.03.2023 um 19:30 +0100 schrieb spi:
>
> 11.03.2023 19:23:21 Benny Pedersen <me at junc.eu>:
>
> > spi skrev den 2023-03-11 13:34:
> >
> > > if address :domain "From" "whatever.com"{
> > > fileinto :flags ["\\todo"] "working/whatever";
> > > }
> >
> > require
2018 Dec 04
0
BUG: sieve does not set seen-Flag
I have the following, and it works:
require ["include","fileinto","imap4flags","variables"];
global "MyFlags";
if header :contains ["X-LERCTR-Spam-Flag","X-TNTSCAN-Spam-Flag"] "YES"
{
redirect "spamtrap at spambouncer.org";
addflag "MyFlags" "\\Seen Junk";
fileinto :flags
2012 Jul 06
2
Pigeonhole Sieve SetFlag question
Hello,
I use
FreeBSD 8.2-RELEASE-p7 i386
dovecot-2.1.6
dovecot-pigeonhole-0.3.0_1
I have the following problem:
When I use the following script - the flag is set in \Seen :
require ["imap4flags"];
# rule:[test]
if anyof (header :contains "Subject" "test")
{
setflag "\\Seen";
stop;
}
. SELECT INBOX
* OK [CLOSED] Previous mailbox
2013 Nov 11
2
blames for using maillists ?
why do you not simply shut up?
# sieve rule
require ["imap4flags"];
# rule:[reindl]
if allof (header :contains "From" "h.reindl at thelounge.net")
{
setflag ["\\Seen","\\Flagged"];
stop;
}
2018 Dec 04
0
set seen flag and junk moving a mail manually to JUNK
Ok. I tried another Thunderbird-specific Flag:
require ["imap4flags", "vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.email" "*" {
? set "email" "${1}";??
}
addflag "Junk";
addflag "\\seen";
addflag "$label3";
pipe
2008 Mar 10
5
Sieve doesnt filter
Hi!
I have a config like this (globalsieverc):
require "fileinto";
if address :domain :is "to" "domain.de" {
if header :matches "X-Spam-Level" "\\*\\*\\*\\*\\*\\*\\*\\*" {
#discard;
fileinto "spamdir";
}
}
else {
# The rest goes into INBOX
# default is "implicit keep", we do