Re: [Exim] using exim as a secondary MX

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John Jetmore
Datum:  
To: exim-users
Betreff: Re: [Exim] using exim as a secondary MX
On Mon, 22 Oct 2001, Miquel van Smoorenburg wrote:

> In exim isn't that simply
>
> primary_hostname = real-machine-name.domain.com
> local_domains = real-machine-name.domain.com:mail1.domain.com
> relay_domains_include_local_mx = true


Nope, tried that before I sent email. As a real life example:

primary_hostname = saturn.networkwcs.net
local_domains = saturn.networkwcs.net:mail1.networkwcs.net
relay_domains_include_local_mx = true

Now, if this does what I want, it will accept mail for cinergycom.com and
relay it because mail1.networkwcs.net is listed as a mailbagger for
cinergycom.com:

cinergycom.com preference = 5, mail exchanger = mail1.networkwcs.net
cinergycom.com preference = 10, mail exchanger = mail2.networkwcs.net
cinergycom.com preference = 0, mail exchanger = mail0.networkwcs.net

However, when I actually try to deliver mail to this server for
jetmore@???, I get relaying denied. It works now because I
applied the patch I sent yesterday under this thread that allows mail for
any domain if one or more of that domain's mailbaggers are listed in the
configuration string 'allow_mx_of'.

Once again, if I'm missing something please let me know, but every test I
tried short of hacking on the code failed to produce the functionality I
needed.

--John