Displaying 20 results from an estimated 5000 matches similar to: "Second rule isn't apply when first rule matches"
2018 May 30
0
Second rule isn't apply when first rule matches
Op 28-5-2018 om 14:18 schreef daniel_1983 at protonmail.com:
> Dear list,
> I want to define two concurrent rules :
> 1. I want to flag an e-mail containing the word "cloud" in the body
> 2. I want to move mail sent explicitly to me (as opposed to mail sent to an alias I am part of) going to "INOBX.I must answere this"
>
> If I put rule (1) first, everything
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
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
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
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
2008 Nov 25
1
Unable to use imapflags in sieve
Hello,
I'm using dovecot 1.1.6 with libsieve 2.2.5 and I can't use the
imapflags extension.
Here's the begginning of my .dovecot.sieve file :
require ["fileinto"];
#require "imapflags";
#require "reject";
#if header :contains "X-DSPAM-Probability: 0.9" {
# addflag "$label3";
#}
# On d?place le spam dans le dossier Spam et on
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
2012 Apr 20
1
Fwd: IMAP SSL incoming test need help !
Sent from my iPhone
Begin forwarded message:
> From: D Chen <dchenusa at yahoo.com>
> Date: April 19, 2012 4:06:49 PM PDT
> To: lists-dovecot <replies-lists-a1z2-dovecot at listmail.innovate.net>
> Subject: Re: [Dovecot] IMAP SSL incoming test need help !
> Reply-To: D Chen <dchenusa at yahoo.com>
>
> Thanks for nice pointing out in my mail.log!
>
2019 Aug 30
1
Sieve Header question.
I'm trying to make my github processing better, but I'm missing something.
I have the following:
if address :all :contains "from" ["github.com"] {
addflag "github";
addflag "MyFlags" "github";
set "mailbox" "GitHub";
if address :matches :user "to" "*" {
set "GHUser"
2017 Apr 25
4
Pigeonhole / Bug with "duplicate" ?
Hello,
Previously, while running Dovecot 2.2.27/Pigeonhole 0.4.16 the following
code snippet was working as one would expect:
if duplicate {
addflag ["\\seen", "Duplicate"];
fileinto "Duplicate";
stop;
}
if address :contains "to" "user.email at example.com" {
addflag "$label1";
}
After upgrading to
2012 Dec 04
1
dotlock error
i finally manage to control access on public folder by File system permission.
i have 3 test users.
1. tom
2. fmaster
3 . testmail
tom and fmaster are a group called "news-own" and testmail user is a
readonly one.
here is my folder structure ill share dovecot -n output at the end of
this email.
drwxrwxr-t 2 tom news-own 4.0K Dec 4 19:08 tmp
drwxrwxr-t 2 tom news-own 4.0K Dec
2015 Apr 30
2
Sieve Rule: What am I missing here?
I have a rule that sends all mail from root to a mailbox, but I want it to
NOT send mail from mailing-lists there.
if allof (address :contains :localpart "From" "root",
not anyof(exists ["List-Id","List-ID","Mailing-List",
"X-List-Name","List-Post"]))
{
fileinto "root-mail";
stop;
}
2019 Jun 21
4
Mail migration problem
I?m trying to migrate mdbox to maildir based on https://wiki.dovecot.org/Migration/MailFormat
* Modified dovecot.conf and set mail_location=maildir:/tmp/destination/mailboxes/
* Then I had run
/mnt/testmail/bin/dsync -Dv -u user at domain.com<mailto:user at domain.com> mirror mdbox:/source/mailboxes/user at domain.com<mailto:/source/mailboxes/user at domain.com>
but that
2017 Jan 19
4
Sieve removeflag Action
* Stephan Bosch <stephan at rename-it.nl> 2017.01.19 10:32:
> Could you provide a more detailed example?
Sure. Personal script v
/var/vmail/domains/leuxner.net/tlx/.dovecot.sieve:
require ["include","copy","fileinto","imap4flags","vacation"];
include :global "global";
--
Global script referenced v
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
2019 Jul 27
1
Since multiple ,matches
I have a rule in sieve like the following:
if anyof (header :contains ["to"] [ "box", "change", "cornell?, ?twitter?]) {
setflag "\\Seen";
fileinto :create "misc";
stop;
}
The messages that come in are using address extensions, so user+twitter at example.com, for example.
The trouble is, this sieve recipe doesn?t get triggered and
2011 Sep 29
2
Timeout leak in get quota
Hello!
I wrote perl script for read current quota usage, it works but when I run the
program I receive a warning in Dovecot log:
2011-09-29 14:45:30 doveadm(guest at testmail.com): Warning: Timeout leak:
0x7f14800ad970
This is the script:
===============================
#!/usr/bin/perl
use strict;
use Socket;
use IO::Handle;
socket(TSOCK, PF_UNIX, SOCK_STREAM,0);
connect(TSOCK,
2019 Jun 24
1
Mail migration problem
Yeah, I think dovecot was a custom compiled build
Version is 2.2.18
Config:
# 2.2.18: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8
# OS: Linux 2.6.32-754.14.2.el6.x86_64 x86_64 CentOS release 6.10 (Final) xfs
auth_master_user_separator = *
auth_mechanisms = plain login
dict {
acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lda_mailbox_autosubscribe =
2014 Sep 12
2
sieve: is it possible to filter ALL mailing lists (with header List-Id) to their folders with ONE rule?
Hello, Dovecot.
Is it possible to write one rule in sieve, which will:
(1) Trigger on any message with "List-Id" header
AND
(2) Put this message to folder with name build from content of "List-Id"
header, in such way, that message with List-Id
List-Id: This is decription of list <list-name.host.org>
will be put into folder "org.host.list-name" where