Displaying 20 results from an estimated 20000 matches similar to: "sieve.before script is taking preceedence over user defined rules"
2012 Jan 06
1
ACL with IMAP proxying
Hello,
I'm trying to use ACLs to restrict subscription on public mailboxes, but
I went into trouble.
My setup is made of two servers, and users are shared between them via a
proxy. User authentication is done with LDAP, and credentials aren't
shared between the mailservers. Instead, the proxies are using master
password.
The thing is that when the ACLs are checked, it actually doesn't
2020 Feb 15
2
shared folder name or public folder with mail address
On 14.02.2020 11:44, Tobias Kirchhofer wrote:
> On 14 Feb 2020, at 11:06, Armin Schindler wrote:
...
>
> The sorting in the according public folder happens in a global sieve
> script before user scripts are fireing. It is combined with the ?+?
> notation in postfix for sub addresses and an special ?listadm? user
>
> postfix:
> |
> listadm+Verteiler/info@$DOMAIN
> |
2017 May 16
2
Sieve GLOBAL + Sieve LOCAL
Hello List,
I am using dovecot:
ii dovecot-antispam 2.0+20130822-2 amd64
Dovecot plugins for training spam filters
ii dovecot-core 1:2.2.10-1 amd64
secure POP3/IMAP server - core files
ii dovecot-imapd 1:2.2.10-1 amd64
secure POP3/IMAP server - IMAP daemon
ii
2020 Feb 15
2
shared folder name or public folder with mail address
On 15.02.2020 12:16, Tobias Kirchhofer wrote:
...
> the sieve part seems to be very tricky.
> My test is now working with a public folder and I have a
> "sieve_before" script in place which works for rules of the
> private namespace.
>
> But when the rule shall "fileinto" a public folder, the mail isn't
> filtered (moved) and
2009 Jul 29
1
sieve rules processing
Hello list,
My question: is sieve support some kind of "continue" action, to explicit tell server processing rules below current one(if current has triged)?
Situation:
I have few rules, which fileinto's to different directories. All is working fine, but if I want redirect all my mail for some period of time to another mailbox, I'm adding rule like this, to be processing first.
2010 Sep 17
2
Too stupid for sieve (former maildrop user)
Hello,
I just migrated from Postfix/Courier/Maildrop to
Postfix/Dovecot/Deliver/Sieve and don't unterstand the right syntax
for sieve :(
I searched and found many small examples and many links to the RFC,
but nothing was usefull for me (or i didn't unterstand it)
I installed the latest Dovecot-Sieve (hg).
Examples from my maildrop config:
# Filter FROM
if($E =~ /name at domain1\.tld/)
2019 Jul 15
1
Sieve problem with duplicate and fileinto in the same set of rules
Hi there,
on my mail server (postfix, dovecot 2.2.27 in Debian 9) I have an automatic
forwarding (with sender_bcc_maps in Postfix) for all the emails sent in smtp
from the same server, that are then put in the Sent folder with a sieve
rule.
In this way, however, when a user sends an e-mail to himself, both copies
end up in the Sent folder and it's not good.
To resolve, I tried using
2010 Jan 29
2
sieve script
Hello,
after qmail migration need convert some .procmailrc scripts. Found
converter procmail -> sieve, but i'm not sure of quality of
conversion.
My script:
---------------
if header :contains "from" ["user at domain1.tld", "user2 at domain2.tld",
"user3 at domain3.tld"] {
redirect "foo1 at bar.tld";
redirect "foo2 at
2019 Nov 27
2
Duplicate e-mail with Dovecot and Sieve
The "duplicate" test was removed because not working in this particular
case, I already read the RFC but I didn't find anything useful for our case.
I'll try replacing `if true` with `if not duplicate` into sieve script
and I'll post back the result.
The "true" check is used to enable the out of office rule, otherwise we
use "if false # true" to
2016 Sep 12
5
Sieve filtering SPAM and redirect
Hi every body. I'm having difficulties to setup my filters correctly
and I really need some help.
This is my environment:
Mail that is received on the system passes through a sieve_before
script that checks the message header for SPAM tag and store it into
the "Junk" folder. If no spam tag is found, mail goes to inbox.
My horde webmail is integrated with sieve, so this allow
2019 Nov 16
2
Sieve and recipient_delimiter
I use recipient_delimiter addresseses quiet a bit, and I want to put several of them into a mailbox
if anyof (header :contains ["to"] [ ?FOO", ?foo", ?bar", ?florin"]) {
fileinto :create ?later";
stop;
}
When I get an email addressed to me+FOO at example.com or me_florin at example.com, the messages end up in my inbox (Yes, I have both + and _
2009 Dec 30
3
A Dovecot Sieve spam filter question.
Hi,
I'd like to make a filtering threshold for users to let them
deal with spamassassin spam-level starred < 8 themselves,
but spam-level starred higher than 8 should be discarded
how can one do that with the "anyof" option ?
the following doesn't work with a test email with "gtube",
which scores > 999 :
#
require "fileinto";
if header :matches
2011 Jun 13
1
Sieve question
I have successfully setup Postfix -> Dovecot with virtual users and spam
filtering with spamassassin. Now the last remaining part is for the user defined
rules. Let me describe my environment and what I am trying to achieve.
I have Postfix setup to call spamc and deliver to Dovecot according to the
master.cf line below.
--------------------------------------------------------------
dovecot
2020 Oct 23
1
Sieve_before
On 23 Oct 2020, at 05:20, @lbutlr <kremels at kreme.com> wrote:
>> Like I said, I?m not 100% sure, but I suspect if you add * to the end:
>> if address :matches ["To", "Cc"] ["*@*.*"] {
> Thanks for the advice, I will definitely give that a go,
Excellent! That was the secret sauce!
Thank you!
--
Hard work pays off in the future. Laziness
2012 Jan 27
1
LMTP : Can't handle mixed proxy/non-proxy destinations
Hello,
In my current setup, I uses two mailservers to handle the users
connections, and my emails are stored on a distant server using NFS
(maildir architecture)
Dovecot is both my IMAP server and the delivery agent (LMTP via postfix)
To avoid indexing issues related to NFS, proxying is enabled both on IMAP
and LMTP. But when a mail is sent to users that are shared between the
servers, I got the
2018 Mar 02
3
Sieve filter fileinto doesn't preserve flags
Using `fileinto` to move a mail into another mailbox removes flags
that have been set with a previous sieve filter with `addflag`.
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.9.0-6-amd64 x86_64 Debian 9.1 ext4
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
mail_debug = yes
mail_location = maildir:/var/vmail/%d/%n
2018 May 28
3
Second rule isn't apply when first rule matches
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 works as expected. If put rule (2) first, only that rule applies.
Here's a small test
2017 Jul 04
2
Sieve can't move messages in a public namespace
Op 7/4/2017 om 8:44 AM schreef Paolo:
> Il 30/06/2017 10:46, Paolo ha scritto:
>> Hello,
>>
>> my dovecot version is 2.1.17
>>
>> I've configured some public namespaces (config attached). When a mail
>> arrives at a certain mail address, that mail is handled by dovecot
>> lmtp server and a sieve script is executed that shuold move the
>>
2008 Dec 24
2
copy LDA rule
Hi dovecot at .
I use the last dovecot (1.1.7) with sieve-plugin. All works perfectly.
However, I would like to use a "copy" function. All mail sent by "toto at domain.tld" have to be copied in a folder (copy, and not move).
So, I don't want to use a fileinto rule.
I see in http://wiki.dovecot.org/LDA/Sieve there is a copy function (1.1 only).
A rule like:
if header
2017 Jun 30
4
Sieve can't move messages in a public namespace
Hello,
my dovecot version is 2.1.17
I've configured some public namespaces (config attached). When a mail
arrives at a certain mail address, that mail is handled by dovecot lmtp
server and a sieve script is executed that shuold move the message in
one of the namespaces. This is the script:
require "fileinto";
if header :contains "From" "example at