Re: [Exim] Exim, MySQL and multiple Servers

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: robert rotman
Ημερομηνία:  
Προς: Søren P. Skou
Υ/ο: Exim-users
Αντικείμενο: Re: [Exim] Exim, MySQL and multiple Servers
Hello,

On Mon, 13 Nov 2000, [iso-8859-1] S?ren P. Skou wrote:

> Hi there
>
> First post to the list :) So greetings All (hopefully I've killed this
> mailer's HTML mailtendencies)
>
> I've got a question regarding a MySQL enabled Exim.
>
> As I have it now, a machine contains both MySQL server and Exim, and nothing
> is wrong there, it's actually what I've been looking for, for some time now.
> But, now as we expand with more and more customers and servers, I'd like to
> have a setup that looks something like this (Oh, dear god, let the
> formatting be right :)
>
>
> -------- --------
> |Mail 1| |Mail 2|
> -------- --------
>    |        |
>    -----|----
>         |
>      -------
>      |Mysql|
>      -------

>
> (argh, this doesn't look good in Outlook, hopefully you get the idea..)
>


take a better email-client;)

> Mail 1 is MX for: foo.com and bar.com
> Mail 2 is MX for: barfoo.com and foobar.com
>
> in the table on the MySQL server I have the following entries (non
> Interessting parts have been cut away)
> username    domain
> biff        foo.com
> baff        bar.com
> buff        barfoo.com
> boff        foobar.com

>
> Mail 1 has secondary mailserver at Mail2 and Viceversa.
>
> First Situation
> Mail 1 goes down, mail 2 gets the mail since the MX points to that one, but
> mail is delivered locally on mail 2 and not queued for Mail 1, that is as
> far as I can see, because Mail 2 can see the domain in the table, and that
> it is MX for it.
>


It's not a good idea to set the local_domains for domains that are not
really on this server...
asume the foo.com has an aliased adress to foobar.com:
this adress will never rech the 2nd mailserver.

set only the domains local wo really _are_ local with


robert

PS: really i do not see the the advatage of the concept with 1
    mysql-server. what is it good for?
    make 2 separate and independet systems.
    do you really need 2 servers here?


>
> Second Situation:
>
> User biff@??? uses Mail 1 as SMTP server, and sends a mail to
> buff@???, This is delivered locally on Mail 1 since it can see that
> is is in the table.
>


see above

> Question:
> Is there any way to get Exim not to deliver locally if it is not the best
> MX? So that the above 2 Situations do not occur.
>
> I've been scouring the archives for some time, and if it's there I've simply
> overlooked it and apologize for that.
>
> Friendly Greetings
> S?ren P. Skou
> Systems Developer
>
> Arrowhead A/S
> K?bmagergade 26E
> 1150 Copenhagen K.
> Tlf: +45 33 70 50 50
> Fax: +45 33 70 50 51
>
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


---
di. robert rotman                                   inode.graz
phone -> ++43-(0)316 813141       ++43-(0)316 818600/15 <- fax
rotman@???                      http://www.graz.inode.at/
--
while (!sleep) { $sheep++ }