How to get mail to local destinations delivered?

Chris G cl at isbd.net
Mon Nov 12 18:43:12 UTC 2007


On Mon, Nov 12, 2007 at 11:14:23PM +0900, John Summerfield wrote:
> Chris G wrote:
>> On Mon, Nov 12, 2007 at 08:56:14PM +0900, John Summerfield wrote:
>>> Chris G wrote:
>>>> On Sat, Nov 10, 2007 at 11:28:16PM +0530, Vivek J. Patankar wrote:
>>>>> Chris G wrote:
>>>>>> I don't want to open up port 25 and it seems a bit silly anyway to
>>>>>> send mail on such a long round trip.  Is there any way I can tell
>>>>>> sendmail that home.isbd.net is localhost (or 192.168.1.1)?  I have an
>>>>>> entry for home.isbd.net in my /etc/hosts file which is:-
>>>>>>     192.168.1.1     home    home.isbd.net
>>>>> Try adding 127.0.0.1 as home.isbd.net in the hosts file.
>>>>>
>>>> There's a big comment in /etc/hosts saying that breaks things.
>>> He said "add," not "change" or "replace." It shouldn't take long to see 
>>> what it breaks, if anything.
>>>
>> The comment says:-
>>     # By the way, Arnt Gulbrandsen <agulbra at nvg.unit.no> says that 
>> 127.0.0.1
>>     # should NEVER be named with the name of the machine.  It causes 
>> problems
>>     # for some (stupid) programs, irc and reputedly talk. :^)
>>     #
>
> It's broken _now_ Chris.
>
> fwiw here's mine, where's that comment?
>
> [root at potoroo mail]# cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1               localhost.localdomain localhost localhost
> ::1             localhost6.localdomain6 localhost6

Yes, and *yours* doesn't have anything other than localhost in it
either does it!  :-)

-- 
Chris Green




More information about the fedora-list mailing list