How to get mail to local destinations delivered?

Peter J. Stieber developer at
Mon Nov 12 15:08:22 UTC 2007

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 is localhost (or  I have an
>>>>> entry for in my /etc/hosts file which is:-
>>>>>     home
>>>> Try adding as 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> says that
>     # should NEVER be named with the name of the machine.  It causes problems
>     # for some (stupid) programs, irc and reputedly talk. :^)
>     #


Have a look at

Note the line they use.  It is about one quarter of the way 
down the page.

Doing this and removing your line in hosts is a way to "tell 
sendmail that is localhost".

Depending on your configuration, you may be able to get away with only 
removing the line in /etc/hosts.  The Machine will know its 
name is associated with from 


More information about the fedora-list mailing list