Displaying 20 results from an estimated 7000 matches similar to: "Replacing email envelope"
2018 Nov 21
1
Replacing email envelope
> On 20.11.2018 23.51, jon.sp2 at wp.pl wrote:
>> 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 <mailto:A at example.com>?receives
>> message, which I'd like to repack into new envelope (I want to have
>> control
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
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
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
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 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
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:
2013 May 01
1
sieve: deleteheader sometimes fails [bug]
Hi,
We're using Dovecot 2.1.16 with Pigeonhole 0.3.4. Mail is delivered by
exim4 to the dovecot LDA.
Sometimes users are unable to delete headers. I've narrowed the problem
down to preceding the deleteheader command with a query against the body.
A simple example:
"""
require ["body", "editheader", "fileinto"];
if body :contains
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
2018 Nov 30
0
Replacing email envelope
Op 20/11/2018 om 22:51 schreef jon.sp2 at wp.pl:
> 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 <mailto:A at example.com>?receives
> message, which I'd like to repack into new envelope (I want to have
> control what values in the envelope will
2020 May 13
5
Sieve addheader directive works only partially
Hi all,
I want to add a custom header to incoming emails from a particular sender. This is what my user Sieve script looks like:
require ?editheader?;
if address :is "From? ?special-sender at example.com? {
addheader ?X-My-Custom-Header? ?Header Value";
}
I have enabled the editheader extension in my Dovecot configuration:
plugin {
?
sieve_extensions = +editheader
}
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
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
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
2020 May 19
1
Sieve addheader directive works only partially
Hi Stephan,
Sorry for the delay - this was on version 2.3.4.1 (f79e8e7e4).
Relevant bits from the config:
# 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.4 ()
# OS: Linux 4.19.0-9-amd64 x86_64 Debian 10.4
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric
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 Apr 22
2
Seive + Spamprobe terminates with signal 6
Ubuntu 20.04, Dovecot 2.3.7.2, SpamProbe v1.4d. For the past weeks my
sieve filters that call spamprobe have been crashing out for some users.
I have a dozen similar server setups and this is not happening on any
of the other servers and it was working just fine for a year up until
recently. This particular server is quite busy. There is plenty of disk
space and inode usage is about 2.5%.
2019 Jun 14
2
Addheader specified field name `Reply-To:' is invalid.
Well, progress. At least now editheader loads. Sadly that brings up new errors.
specified field name `Reply-To:' is invalid.
if header :contains "List-id" "<users.spamassassin.apache.org>" {
addheader "Reply-To:" "<users.spamassassin.apache.org>";
addheader "X-added-reply-To:" "True";
fileinto :create