similar to: imapsieve: Change message flags on COPY

Displaying 20 results from an estimated 8000 matches similar to: "imapsieve: Change message flags on COPY"

2018 Aug 16
0
imapsieve: Change message flags on COPY
What is your configuration (output from `dovecot -n`)? Op 16/08/2018 om 14:01 schreef Leandro Lucarella: > Hello, I'm trying to do a simple thing using imapsieve, I want messages to be marked as read when moved to certain folders (Trash, Archive, Spam). > > All the set up to run the imapsieve script works perfectly, but I'm having trouble to make changes effective. As the RFC
2016 Dec 05
2
imapsieve environment variables missing?
On 2016-12-05 07:22, Stephan Bosch wrote: > Op 5-12-2016 om 16:10 schreef MRob: >> On 2016-12-05 06:13, Stephan Bosch wrote: >>> Op 5-12-2016 om 14:32 schreef MRob: >>> >>> Could you show me your full script? I am mainly interested in the >>> require statements involved. >> >> I don't know how I managed to compile only using direct
2016 Dec 05
2
imapsieve environment variables missing?
>>>> I don't know how I managed to compile only using direct access of >>>> ${imap.user} before since now I get an unknown namespace error on my >>>> test script. >>>> >>>> But doing it this way compiles: >>>> >>>> require ["environment", "variables", "vnd.dovecot.debug"];
2018 Nov 14
2
Trying to do antispam with Sieve
On 2018-11-14 13:51, Adi Pircalabu wrote: > On 2018-11-14 13:11, Adi Pircalabu wrote: >> Hi, >> >> Using https://wiki.dovecot.org/HowTo/AntispamWithSieve I'm trying to >> execute scripts when moving to/from Spam folder, however nothing's >> happening. The actions are: >> 1. Move to Spam: redirect :copy "spamcop_spam at domain.local";
2016 Dec 05
1
imapsieve environment variables missing?
On 2016-12-05 15:26, Stephan Bosch wrote: > Op 12/6/2016 om 12:23 AM schreef MRob: >>>>>> I don't know how I managed to compile only using direct access of >>>>>> ${imap.user} before since now I get an unknown namespace error on >>>>>> my >>>>>> test script. >>>>>> >>>>>> But doing
2016 Dec 05
3
imapsieve environment variables missing?
On 2016-12-05 06:13, Stephan Bosch wrote: > Op 5-12-2016 om 14:32 schreef MRob: >> On 2016-12-05 04:38, Stephan Bosch wrote: >>> Op 5-12-2016 om 13:28 schreef MRob: >>>> RFC6785 says imap.user and imap.email environment variables should >>>> be made available but I can't access them no matter what I try. Are >>>> they not implemented
2018 Nov 14
3
Trying to do antispam with Sieve
Hi, Using https://wiki.dovecot.org/HowTo/AntispamWithSieve I'm trying to execute scripts when moving to/from Spam folder, however nothing's happening. The actions are: 1. Move to Spam: redirect :copy "spamcop_spam at domain.local"; 2. Move from Spam: redirect :copy "spamcop_ham at domain.local"; Here's the configuration I'm working with: doveconf: Warning:
2018 Aug 17
2
imapsieve: Change message flags on COPY
On Friday 17 August 2018 01:41:39 CEST Stephan Bosch wrote: > dovecot -n Hi, here it is (I don't know why I get the SSLv2 warning because it is disabled in ssl_protocols, any ideas about that too?). BTW, even when storing the message in a different folder with fileinto, the original message is still saved in the original mailbox. I also tried using `discard;` and makes no difference, I
2016 Dec 05
2
imapsieve environment variables missing?
On 2016-12-05 04:38, Stephan Bosch wrote: > Op 5-12-2016 om 13:28 schreef MRob: >> RFC6785 says imap.user and imap.email environment variables should be >> made available but I can't access them no matter what I try. Are they >> not implemented because vnd.dovecot.environment already provides the >> username? (which does work for me) >> >> If
2018 Nov 13
3
execute sieve command - fails to notice script has exited
Hi, Running dovecot 2.2.27 (c0f36b0) on Debian GNU/Linux stable (version 9.6), I'm trying to use the execute command in a sieve script, with direct execution (not service socket). The script is executed, and returns (the process exits), but the dovecot-lda process seems to not notice, and thinks the script did not terminate. After sieve_execute_exec_timeout has passed, it sends a TERM, a bit
2015 Dec 30
2
sieve-filter to script fails with SHUT_WR
Trying to make vnd.dovecot.filter to exchange an email with my script. (I have a vnd.dovecot.pipe script working, so I'm pretty sure it's not the configuration...) I'm passing the email using stdin/stdout and _not_ using sockets. My script receives the email and processes it, but the filter process fails: lda(<username>): Error:
2017 Feb 12
2
Replacement for antispam plugin
Op 2/10/2017 om 8:59 PM schreef Ralph Seichter: > On 10.02.17 20:34, Michael Slusarz wrote: > >> When you move a message to a new mailbox, that is a "new message" >> event (a new UID in the target mailbox is created; the message count >> increases). So imap.mailbox is set to the name of the *target* mailbox. > My tests seem to indicate otherwise. Deleting a
2018 Nov 14
0
Trying to do antispam with Sieve
On 2018-11-14 14:25, Adi Pircalabu wrote: > On 2018-11-14 13:51, Adi Pircalabu wrote: >> On 2018-11-14 13:11, Adi Pircalabu wrote: >>> Hi, >>> >>> Using https://wiki.dovecot.org/HowTo/AntispamWithSieve I'm trying to >>> execute scripts when moving to/from Spam folder, however nothing's >>> happening. The actions are: >>> 1.
2014 Oct 20
1
Sieve: carry global variables from sieve_before to user sieve scripts
Hi! Is there a way to initialize global variables with default values in sieve_before scripts that can be used in the sieve_default script or in user scripts? I've tried the following code but this doesn't work.. before.d/10-set-defaults.sieve: -------------------- 8< -------------------- require ["variables", "include"]; require "vnd.dovecot.debug"; set
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:
2016 Dec 05
0
imapsieve environment variables missing?
Op 12/5/2016 om 10:25 PM schreef MRob: > On 2016-12-05 07:22, Stephan Bosch wrote: >> Op 5-12-2016 om 16:10 schreef MRob: >>> On 2016-12-05 06:13, Stephan Bosch wrote: >>>> Op 5-12-2016 om 14:32 schreef MRob: >>>> >>>> Could you show me your full script? I am mainly interested in the >>>> require statements involved. >>>
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 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 Nov 14
0
Trying to do antispam with Sieve
On 2018-11-14 13:11, Adi Pircalabu wrote: > Hi, > > Using https://wiki.dovecot.org/HowTo/AntispamWithSieve I'm trying to > execute scripts when moving to/from Spam folder, however nothing's > happening. The actions are: > 1. Move to Spam: redirect :copy "spamcop_spam at domain.local"; > 2. Move from Spam: redirect :copy "spamcop_ham at
2017 Feb 10
5
Replacement for antispam plugin
> On February 10, 2017 at 12:13 PM Ralph Seichter wrote: > > On 10.02.17 18:34, Michael Slusarz wrote: > > > Can we add an exception for the Trash folder? > > This is handled in the sieve script. E.g.: > > > > require "environment"; > > if environment "imap.mailbox" "Trash" { > > stop; > > } > > This does