Displaying 20 results from an estimated 3000 matches similar to: "Marks as read on mover to Archive"
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
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 May 12
0
AW: Marks as read on mover to Archive
Does it not help to add
addflag "\\Seen";
to your sieve script code?
Cheers
tobi
----- Originale Nachricht -----
Von: "@lbutlr" <kremels at kreme.com>
Gesendet: 12.05.18 - 08:55
An: dovecot <dovecot at dovecot.org>
Betreff: Marks as read on mover to Archive
> How would I setup dovecot so that when messages are moved to the Archive mailbox, they are marked
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
SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
2020 May 09
3
SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
I tried with following:
require ["imap4flags"];
if not hasflag :is "\\Seen" {
setflag "\\Seen";
}
And then this in plugins.conf:
plugin {
sieve_plugins = sieve_imapsieve
imapsieve_mailbox1_name = Trash
imapsieve_mailbox1_before = file:/etc/dovecot/sieve/trash.sieve
}
It works in outlook, the mail is opened (mark as read) when it goes to
trash.
But in
2017 Nov 25
4
Mark message as read when moved to Trash
Hi all,
When I send a message to trash, without previously reading it (just with the subject is enough to say I do not want to read it), it remains as "unread". Then, clients (I am using Kmail) report there are unread message, when all of them are in Trash. The question, then is: Is there any way to automatically mark a message as read, when that message is moved to Trash?
Thank you!
2020 Jun 11
2
executing script on mail arrival from sieve
I currently have a basic script to process some mails, it runs from cron
every 10 minutes, basically, sieve copies some mails to subfolder on mail
arrival, script fetches mails if any from this subfolder then processes
these mail, get maybe 1 or 2 or often none
but cron runs the script every 10 minutes, most times not needed as
nothing is retrieved
it's pretty crude - but works
getmail
2018 Jun 11
2
Sieve_default
I created a sieve_default to move any spam-tagged messages into the Junk mailbox automatically, but it doesn?t appear to be working (though the other imapsieve_mailbox? scripts are working).
From doveconf -n
plugin {
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk
imapsieve_mailbox2_before =
2018 Feb 13
2
Setting up sieve with spam learning
Cribbing from the dovecot site I recently added the following lines to my dovecot.conf:
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapsieve
2020 Oct 21
2
Sieve_before
On 10/21/20 2:12 PM, @lbutlr wrote:
> Do I HAVE to have a default.sieve, that's the only thing that I can think the has changed in that folder.
RE: compile, fyi note @
https://wiki2.dovecot.org/Pigeonhole/Sieve/Usage#Manually_Compiling_Sieve_Scripts
https://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration#Executing_Multiple_Scripts_Sequentially
the conditions under which you need to
2018 Jun 13
3
Sieve_default
> On 12 Jun 2018, at 01:23, Alex JOST <jost+lists at dimejo.at> wrote:
>
> Am 12.06.2018 um 01:01 schrieb @lbutlr:
>> I created a sieve_default to move any spam-tagged messages into the Junk mailbox automatically, but it doesn?t appear to be working (though the other imapsieve_mailbox? scripts are working).
>> From doveconf -n
>> plugin {
>>
2018 Oct 18
3
Fatal: setgid, imap connections dropped.
On 16.10.2018 21.32, J. de Meijer wrote:
> I'm still trying to fix this problem. Hopefully someone can help.
>
> I've upgraded dovecot to 2.3.3
> # dovecot --version
> 2.3.3 (dcead646b)
>
> That didn't help.
>
> Next I switched 10-auth.conf to use a local password file (instead of LDAP)
Can you provide doveconf -n please?
Aki
2017 Apr 05
4
Using filter in an imapsieve script?
Hello list
I currently have an issue with an imapsieve script on my dovecot server
CentOS Linux release 7.3.1611 (Core)
Dovecot 2.2.26.0 (23d1de6)
Pigeonhole 2.2.26.0
The goal is to "fire" an imapsieve script upon mailclient saves message
to sent folder
I setup the following in 90-plugin.conf:
plugin {
sieve_plugins = sieve_imapsieve sieve_extprograms
sieve_extensions =
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
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
2018 Apr 12
2
ACL for system users?
Hello all,
I'm setting up an IMAP server with dovecot. I've set up system users
with PAM authentication and Maildir maiboxes.
I'd like to share mailboxes among them, but regardless of what I try, I
bump into filesystem permissions.
I want to have Maildirs created for new users with the right
permissions. I even changed "UMASK" in file /etc/login.defs from 022 to
002,
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 Aug 09
3
imapsieve wrong matches on APPEND cause
Hello,
I'm experiencing some strange problem with imapsieve mailbox rules matching.
I have Ubuntu Server 18.04.1 LTS with Postfix 3.3.0, Dovecot 2.2.33.2 and
Rspamd 1.7.9.
The problem occurs with Microsoft Outlook 2016 mail client.
When moving with Outlook, APPEND event is logged instead of MOVE.
However, when moving with another client, MOVE event is logged.
So without APPEND event in
2018 Aug 14
2
imapsieve wrong matches on APPEND cause
Hi,
> Can you enable mail_log plugin, try again, and send updated logs?
> Aki
Sure, but logs contain same info.
1. When I move a message from Inbox to Spam it matches both rules and sieve
executing both scripts in sequence:
Debug: Spam: Mailbox opened because: SELECT
Debug: imapsieve: mailbox Spam: APPEND event
Debug: sieve: Pigeonhole version 0.4.21 (92477967) initializing
Debug: sieve:
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