Author: Patrick Beard Date: To: exim-users Subject: [Exim] Re: failed to find host name
"Odhiambo G. Washington" <wash@???> wrote in message
news:20031212135524.GE19352@???... > --
> * Patrick Beard <patrick@???> [20031212 15:52]: wrote:
> > Hi,
> >
> > I am using Exim 3.35 on Debian Woody as a relay for our Exchange server. The > > relay is in our DMZ on a private IP and is accessible from the outside via a > > mapped public IP address.
> > I am trying to get it to accept email to the postmaster when the IP of the > > server is used in the address (postmaster@???). So far I have > > not managed to succeed. All attempts have ended with;
> > 550 - relaying to <postmaster@???> prohibited by administrator > > (failed to find host name from IP address).
> >
> > What am I missing?
>
> domain literals.
> #forbid_domain_literals
>
> So because you want to allow mail addressed to your hostname, or to your IP > address, put these two options:
>
>
> local_domains_include_host = true
> local_domains_include_host_literals = true
>
Thanks for the reply.
I already had these setting in my configuration, but they weren't helping.
I seem to have sorted it by placing the Public IP in the 'local_domains ='
but I can't help thinking this is a kludge.