Re: [Exim] failed to find host name

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Odhiambo G. Washington
Ημερομηνία:  
Προς: Patrick Beard
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] failed to find host name
--
* 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.

In configure.default, there is this text:

# If you want to accept mail addressed to your host's literal IP address, for
# example, mail addressed to "user@???", then uncomment the
# following line, or supply the literal domain(s) as part of "local_domains"
# above. You also need to comment "forbid_domain_literals" below. This is not
# recommended for today's Internet.

#local_domains_include_host_literals


# The following line prevents Exim from recognizing addresses of the form
# "user@???" that is, with a "domain literal" (an IP address)
# instead of a named domain. The RFCs still require this form, but it makes
# little sense to permit mail to be sent to specific hosts by their IP address
# in the modern Internet, and this ancient format has been used by those
# seeking to abuse hosts by using them for unwanted relaying. If you really
# do want to support domain literals, remove the following line, and see
# also the "domain_literal" router below.

#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

DISCLAIMER: Apart from what Philip wrote about domain literals, I also add that
            I disclaim responsibility if your server catches fire!





-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@???>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
The older I grow the more I distrust the familiar doctrine that age
brings wisdom.
        -- H. L. Mencken
--
[ Content of type application/x-pkcs7-signature deleted ]
--