similar to: sieve: deleteheader sometimes fails [bug]

Displaying 20 results from an estimated 2000 matches similar to: "sieve: deleteheader sometimes fails [bug]"

2015 Mar 04
1
Sieve editheader should support adding Received and Auto-Submitted headers
In order to simplify auto-response suppression and other filtering, I want to synthesise an Auto-Submitted header on notification mails that should have them but do not. In a sieve file I add the following: if anyof ( header :contains ["From","Sender"] ?info at example.com" ) { if header :contains "Subject" [" just joined "," just left
2016 Mar 21
3
sieve - editheader - edit in place
Hello, i do some tests with sieve editheader extensions. deleteheader and addheader are working, but i noticed that new headerlines are always prepended to current header. So new lines can be found always on top. I am looking for a possibility to edit a headerline in place, without moving the new line to top of stack(replaceheader?). It is not looking good if a Subject-Line suddenly moves to
2013 Feb 08
1
sieve /editheader / addheader :last crash
Hi Everybody, I'm using dovecot 2.1.14 from http://xi.rename-it.nl/debian/ with debian squeeze stable. In general, sieve works fine for me, but "addheader :last ..." from the editheader extension causes a crash when it processes a message. I was able to narrow this down a bit: It only happens if "addheader :last" is the first editheader command executed in a script.
2015 Apr 08
3
sieve plugin editheader not found
Hey folks, ive already made a bug report in the gentoo bugtracker last year. In the meantime after some releases the error persists with the current dovecot and pigeonhole versions. Please see my bug report at gentoo mailinglist: https://bugs.gentoo.org/show_bug.cgi?id=522148 Okay, here are some informations: Steps to Reproduce: add "editheader" to sieve options or
2008 May 31
1
Sieve Editheader Extension?
I've done extensive searches, and there is virtually no information about actual implementations of the draft Sieve Editheader Extension (which provides 'addheader' and 'deleteheader' actions): http://www.ietf.org/internet-drafts/draft-ietf-sieve-editheader-11.txt Is anyone currently working on this for Dovecot Sieve? If not, are there any plans to do so? And before I
2013 Sep 06
1
sieve vacation question
Hello Stephan, I love to use the vacation extension to build an echo service. I have not to worry about whether to answer or not if the sender is a list, postmaster, mailer-daemon or other crasy thing. But i like to echo the *complete headers* back. I did not found a solution with sieve yet. Is it really impossible? Thanks Andreas
2014 May 02
2
When the subject portion of an e-mail contains a control character, dovecot.sieve terminates unexpectatedly.
Hello. We have currently set dovecot.sieve to insert the text "[SPAM]" at the beginning of an e-mail's subject when it's X-Spam-Score is above 80%. After we set our system as stated the following errors occur: 1) When an e-mail's subject contains control characters like [Ctrl+V|^V], dovecot.sieve terminates with an error and an e-mail is not able to be sent. When a MIME
2020 Sep 03
2
Sieve: deleteheader not working with duplicate filter for implicit keep
Hi Stephan, On Wednesday 02 September 2020 19:59:57, Stephan Bosch wrote: > > > On 29/08/2020 21:04, Alec Moskvin wrote: > > Hello, > > > > I have a rule to always delete a header. If the message gets fileinto'd, > > the header is gone, but if it's delivered into the INBOX through > > implicit keep, the header does not get deleted. > > >
2020 Aug 29
2
Sieve: deleteheader now working with duplicate filter for implicit keep
Hello, I have a rule to always delete a header. If the message gets fileinto'd, the header is gone, but if it's delivered into the INBOX through implicit keep, the header does not get deleted. Interestingly, if I remove the "if duplicate" filter, the header does get deleted as expected. I'm using the latest Dovecot 2.3.11.3 / Pigeonhole 0.5.11. Any idea why this is
2016 Jun 01
3
forwarding emails using sieve
I know this is a tad tangential to dovecot, but maybe someone has some pointers for me. I'm trying to forward emails using the sieve filtering and redirect doesn't do it because it doesn't wrap the message in a new email, instead, it seems to just change the envelope From (and To). This causes the outbound relay to reject the message for security/spam reasons (forged From). It
2019 Jun 13
1
Sieve rewrite headers?
I?ve bene looking for examples on how to do this, but so far am coming up short. I want to check certain messages for a reply-ro header and if it is present, rewrite it to X-Reply-To: and then add my own reply-to header. I don?t see anything in the various sieve examples I?ve found on altering the actual message. There is the editheader extension, but I failed to find documentation or examples
2020 Feb 20
1
My sieve is failing
I have an active sieve file for my list account that alters the headers for this list (sets the reply-to address to the list instead of the poster) which is suddenly failing. require [ "regex", "variables", "fileinto", "envelope", "mailbox", "imap4flags", "editheader" ]; /* other stuff */ elsif header :contains
2019 Mar 28
2
pigeonhole tests crashing in deleteheader.svtest
Hi, when trying to build dovecot 2.3.5.1 pigeonhole testsuite crashes in Test case: ./tests/extensions/editheader/deleteheader.svtest: 1: Test 'Deleteheader - nonexistent' SUCCEEDED 2: Test 'Deleteheader - nonexistent (match)' SUCCEEDED 3: Test 'Deleteheader - one' SUCCEEDED 4: Test 'Deleteheader - two (first)' SUCCEEDED 5: Test 'Deleteheader - two
2012 Jul 25
2
Sieve & Adding headers.
Hi all, I've just migrated my mail system from procmail to managesieve/sieve and I'm having trouble trying to duplicate a could of rules I used to use in my procmail config. One particular rule would be this: :0 Wfh * ^Sender: owner-scientific-linux-devel at LISTSERV.FNAL.GOV | (sed -e '/^Subject:/ s/\[SCIENTIFIC-LINUX-DEVEL\] *//g'| sed ':a;N;$!ba;s/Precedence:
2014 May 09
3
v2.2.13.rc1 vs. Pigeonhole
Server: Ubuntu 10.04 LTS 32bit There seems to be an incompatibility when compiling Pigeonhole against Dovecot v2.2.13.rc1. # make check with Pigeonhole throws up the following error message: <snip> Test case: ./tests/extensions/editheader/addheader.svtest: 1: Test 'Addheader - first' SUCCEEDED 2: Test 'Addheader - last' SUCCEEDED 3: Test 'Addheader - framed'
2020 Sep 04
0
Sieve: deleteheader not working with duplicate filter for implicit keep
On 03/09/2020 23:25, Alec Moskvin wrote: > Hi Stephan, > > On Wednesday 02 September 2020 19:59:57, Stephan Bosch wrote: >> >> On 29/08/2020 21:04, Alec Moskvin wrote: >>> Hello, >>> >>> I have a rule to always delete a header. If the message gets fileinto'd, >>> the header is gone, but if it's delivered into the INBOX through
2018 Mar 03
2
pigeonhole 0.4.22 with sieve_before script crashes
Hello! Dovecot 2.2.34 (874deae) Pigeonhole version 0.4.22 (22940fb7) After the update to pigeonhole version 0.4.22 the following configuration does not work. With version 0.4.21 it works. dovecot.conf (only sieve configuration) --------------------------------------------------------------- managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope
2019 Jul 23
2
Sieve adding header content to a different header
Given a message itht he headers: Subject: This is the subject: X-Foo: bar how would I do the following: 1) Add the contents of X-Foo to subject Subject: [bar] This is the subject 2) replicate the X-Foo header into X-temp X-temp: X-foo-bar -- THE PRESIDENT DID IT IS NOT AN EXCUSE Bart chalkboard Ep. AABF05
2018 Mar 03
2
pigeonhole 0.4.22 with sieve_before script crashes
Op 3/3/2018 om 9:15 AM schreef Stephan Bosch: > Op 3/3/2018 om 2:57 AM schreef Jan: >> Hello! >> > We're looking into it. Right, this is not reproducible in the test suite, but I can reproduce it when I replicate your setup. Regards, Stephan. >> Dovecot 2.2.34 (874deae) >> Pigeonhole version 0.4.22 (22940fb7) >> >> After the update to pigeonhole
2018 Nov 20
4
Replacing email envelope
Hi, Could you please advice how I can replace envelope of a message received on my server? Best would be using sieve. Simple case - email A at example.com ?receives message, which I&#39;d like to repack into new envelope (I want to have control what values in the envelope will be there - from, to, replay-to et.c) and send to B at test.com . At first I wanted to use editheader