Re: [Exim] Mail routing and backup question.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Galbavy
Ημερομηνία:  
Προς: Alexei V. Alexandrov
Υ/ο: exim-users
Αντικείμενο: 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/