Re: [exim] Saving Recipient when rewriting

Página Inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Para: exim-users
Assunto: Re: [exim] Saving Recipient when rewriting
On 26/03/2020 13:20, Neal Blount via Exim-users wrote:
> This is the rewrite I am using:
>
> begin rewrite
> *@*     "${lookup mysql{select destination from rewrite where source='${quote_mysql:$1@$2}'}{$value}fail}" Tbct


OK. That sort of rewrite happens just at/after message acceptance :-


http://exim.org/exim-html-current/doc/html/spec_html/ch-how_exim_receives_and_delivers_mail.html#SECID14

The headers are available in the data ACL, which has the option of
denying acceptance - hence much be before that point. You could
copy a header into an acl variable there.
--
Cheers,
Jeremy