Re: [exim] Bounce for recipient domain

Top Page

Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] Bounce for recipient domain
Jasen Betts <jasen@???> (Di 30 Jan 2018 07:46:57 CET):
> On 2018-01-28, Tomasz Piotrowski via Exim-users <exim-users@???> wrote:
> > Thanks. This is what I was looking for.
> >
> >        warn    domains           = primary-domain.com.pl
> >                logwrite                = initiating fakereject
> >                control                 = fakereject/The domain
> > primary-domain.com will soon expire. After 1.02.2018 please change
> > recipient domain to second-domain.com
> >
> > Is it possible to set up a dedicated bounce for the fakereject control
> > with a different title and content than the default bounce?
>
> ACLs don't make bounces notices, the agent on the other end of the SMTP
> connection does that.


         warn    domains                 = primary-domain.com.pl
                 logwrite                = initiating fakereject
                 control                 = fakereject
                 message = The domain primary-domain.com will soon expire. \
                           After 1.02.2018 please change recipient domain \
                           to second-domain.com.


should present a message to the sending client. Some (if not most)
clients will include this message into the bounce they send
"downstream".

--
Heiko