Ошибочка, имел в виду ключ "h". Решил переписать заголовки через роутер.
remove_header_router:
driver = redirect
domains = !+local_domains
condition = ${if match{$h_Return-Receipt-To:}{domain.local} {yes}{no}}
headers_remove = Return-Receipt-To
headers_add = Return-Receipt-To: $sender_address
data = $local_part@$domain
Теперь заголовок содержит правильный адрес. Однако проблему это не устранило(
> Отож. Кроме того, мне ключ "S" не подходит в принципе, поскольку мне
> необходима перезапись исключительно "From"
>
> netgenic# cat /usr/local/etc/exim/configure | grep '*@domain.local'
> *@domain.local [email protected] Ffs
>
> > > From: Golub Mikhail <[email protected]>
> >
> > > # E rewrite all envelope fields
> > > # F rewrite the envelope From field
> > > # T rewrite the envelope To field
> > > # b rewrite the `Bcc:' header
> > > # c rewrite the `Cc:' header
> > > # f rewrite the `From:' header
> > > # h rewrite all headers
> > > # r rewrite the `Reply-to:' header
> > > # s rewrite the `Sender:' header
> > > # t rewrite the `To:' header
> >
> > "All headers" means all of the headers listed above that can be selected
> > individually, plus their Resent- versions. It does not include other
> > headers such as Subject: etc.
> >
> > _______________________________________________
> > Exim-users mailing list
> > [email protected]
> > http://mailground.net/mailman/listinfo/exim-users
> >
> >
> _______________________________________________
> Exim-users mailing list
> [email protected]
> http://mailground.net/mailman/listinfo/exim-users
>
>
_______________________________________________
Exim-users mailing list
[email protected]
http://mailground.net/mailman/listinfo/exim-users