Re: [Exim] Mail routing and backup question.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Peter Galbavy
Data:  
Para: Alexei V. Alexandrov
CC: exim-users
Assunto: Re: [Exim] Mail routing and backup question.
On Tue, Dec 19, 2000 at 02:08:25PM +0300, Alexei V. Alexandrov wrote:
> should receive mail for. I want to implement the following: other
> smtp servers should also store mail for all other domains register
> in our database only in case if the main mail exchenger for the
> current domain is out of order o lost its connectrion to the world,
> then store the mail in it`s queue and send it to the server
> responsible for that domain as soon the mail exchanger for that
> domain is up and running. How can i do that using exim?


This is how MX's work. As I do not know what level of experience you
have, I might be stating the obvious and your question may be more
subtle that it appears, but;

The easiest (and potentially insecure - but see the docs) way to do
this is to use the 'relay_domains_include_local_mx' option and set-up
the DNS in such a way that the primary destination has the lowest MX
value and the backup relays higher values; for example we use:

knowledge.com    MX    5 mailstore-1.mail.knowledge.com
        MX    40 mx-40.mail.knowledge.com
        MX    30 mx-30.mail.knowledge.com
        MX    20 mx-20.mail.knowledge.com
        MX    10 mx-10.mail.knowledge.com


Using exim's normal queue processing, mail with be held until either a
forward to the next lower MX (or is it only the lowest ?) succeeds or
some timeout happens. These are all configurable.

Regards,
--
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/