Sieve addheader directive works only partially
Stephan Bosch
stephan at rename-it.nl
Mon May 25 10:32:53 EEST 2020
On 19/05/2020 13:31, Peter Folta wrote:
> 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 relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext editheader imapsieve vnd.dovecot.imapsieve
> sieve_extensions = +editheader
> sieve_global_extensions = +vnd.dovecot.pipe
> sieve_pipe_bin_dir = /usr/bin
> sieve_plugins = sieve_imapsieve sieve_extprograms
>
> Thanks
> Peter
Yeah, it's old. Try upgrading.
If you can't, you'll be stuck with an explicit keep workaround for now.
Regards,
Stephan.
>
>> On May 15, 2020, at 3:49 PM, Stephan Bosch <stephan at rename-it.nl> wrote:
>>
>>
>>
>> Op 13-5-2020 om 20:10 schreef Peter Folta:
>>> 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
>>> }
>> What version is this? Please provide output of `dovecot -n`.
>>
>> This smells a lot like an age-old bug that was fixed long ago.
>>
>> It works fine with master.
>>
>> Regards,
>>
>> Stephan.
More information about the dovecot
mailing list