Re: [exim] Dynamic errors_to in exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jasen Betts
Datum:  
To: exim-users
Betreff: Re: [exim] Dynamic errors_to in exim
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.

--
\_(ツ)_