Sieve "redirect" changes envelope sender in 2.3. / pigeonhole 0.5
Stephan Bosch
stephan at rename-it.nl
Tue Apr 24 13:54:50 EEST 2018
Op 24-4-2018 om 10:17 schreef Olaf Hopp:
> On 04/23/2018 03:46 PM, Olaf Hopp wrote:
>> On 04/23/2018 03:22 PM, Stephan Bosch wrote:
>>>
>>>
>>> Op 20-4-2018 om 14:01 schreef Olaf Hopp:
>>>> Hi (Stephan?),
>>>> is it a new feature of dovecot 2.3 /pigeonhole 0.5 that a sieve
>>>> "redirect" changes the envelope sender of
>>>> a redirected mail or simply a bug ?
>>>>
>>>> A sends mail to B, B redirects to C
>>>> C sees B (not A!) as envelope sender.
>>>> It is not a problem if C gets the mail but if that mail bounces
>>>> for various reasons it goes back to B and A will never know about
>>>> this.
>>>>
>>>> I thick this is came with 2.3 / pigeonhole 0.5 ?
>>>>
>>>> # 2.3.1 (c5a5c0c82): /etc/dovecot/dovecot.conf
>>>> # Pigeonhole version 0.5.devel (61b47828)
>>>> # OS: Linux 2.6.32-696.23.1.el6.x86_64 x86_64 CentOS release 6.9
>>>> (Final)
>>>
>>> Probably same as issue in this thread:
>>>
>>> https://www.dovecot.org/pipermail/dovecot/2018-April/111482.html
>>>
>>
>> Yes maybe.
>> But I didn't see any sieve errors in the logs.
>> In my case there is exim sitting in front of dovecot lmtp and as said
>> trusted_users = exim:dovecot
>> in thge exim.conf resolved this issue for me.
>>
>> Regards, Olaf
>
> I digged deeper: in
> https://www.dovecot.org/pipermail/dovecot/2018-April/111485.html
> Stephan wrote
>
> | Yeah, this is likely due to the fact that sendmail is now invoked using
> | the program-client (same as Sieve extprograms), which takes great care
> | to drop any unwanted (seteuid) root privileges.
>
> and thats the reason why my exim now needs the dovecot user as trusted
> user so that
> those redirects can retain the original envelope sender.
It could also be the Systemd issues reported in that thread. I haven't
experimented with that.
Regards,
Stephan.
More information about the dovecot
mailing list