Re: [exim] Rewriting envelope from to header From

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Lena
日付:  
To: exim-users
題目: Re: [exim] Rewriting envelope from to header From
> From: Frank Richter

> I'd like to rewrite envelope from "apache@*.mydomain" to the address in
> header From.
> I tried it according to https://github.com/Exim/exim/wiki/Q0801 with this
> rewrite rule:
>
> apache@*.mydomain ${sg{$h_from:}{^.*<(.*)>}{\$1}} Ffrs


According to
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-address_rewriting.html
(untested):

apache@*.mydomain ${address:$rh_from:} F

I suspect that the wiki page is wrong, but I'm not sure.