Re: [exim] Dynamic errors_to in exim

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: LinuxAdmin
Data:  
Para: exim-users
Assunto: Re: [exim] Dynamic errors_to in exim
Hi Jasen,

Thanks, Its working like charm.

i adeed following lines in exim.

errors_to = "${address:$h_from:}"

Regards,
Dilip Jadav


"Jasen Betts" <jasen@???> wrote in message news:<n1du02$18o$1@???>...
On 2015-11-04, LinuxAdmin <linuxadm@???> wrote:
> Dear All,
>
> I wnat to set Dynamic errors_to in exim. Let me explain my requirement.
>
> We set Returnpath in each & every outgoing mails, Also returnpath is diffrent than From: address in Header. I can not change returnpath, also i can not make From address & returnpath both are same.
>
> So when emails got bounced, i want to send bounced mail to From address insted of returnpath.


you can make a software laser like that, be sure that you have sufficient backscatter prevention in place.

> I tried following configuration in exim but no luck, mails not sent to >From address.
>
> dnslookup:
>       driver = dnslookup
>       domains = ! +local_domains
>       transport = remote_smtp
>       ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>       errors_to = "$h_from"
>       no_more


> Kindly Note if i give static address at errors_to, i got mails at respective mail id.


possibly you want

       errors_to = "${address:$h_from}"


because the from header often contains both a real name and an email
address, but errors_to wants only the email address.

--
\_(?)_

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
----------