Re: [EXIM] Mail Hub Question

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: exim-exploder
CC: exim-users
Sujet: Re: [EXIM] Mail Hub Question
On Thu, 30 Apr 1998 exim-exploder@??? wrote:

> smtp:
>    driver = smtp;
>    batch_max = 1;
>    fallback_hosts = mail-relay.bath.ac.uk
> end

>
> The situation arises with mail that is `within' our domain
> maths.bath.ac.uk but has been worked out as should be routed to
> a machine within maths.bath.ac.uk. The problem occurs when the machine it
> should talk to is not accepting mail at the moment. So, following
> the transport above it sends the mail to the fallback_host.
> I would rather that it would not send this upstream, but keep them until the
> machine comes back to life.
>
> However, I do want it to have the ability to send mail to the mail relay,
> when it is not in our domain.
>
> I have looked at the manuals, and am not 100% sure how I should do this;
> anyone care to enlighten me?


You need two smtp transports, one with the fallback set and one without.
Then arrange that the router which handles your "within" domains uses
the one without. If you are currently just using a single router for
both inside and outside, just duplicate it and add "domains=*.bath.ac.uk"
to the first one so that it will pick off those domains only. (You'll
need to use different names for the different routers and transports, of
course.)

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***