[101852] in RedHat Linux List
Re: mail question
daemon@ATHENA.MIT.EDU (Ray Curtis)
Sun Nov 29 23:29:31 1998
Date: Sun, 29 Nov 1998 23:28:40 -0500 (EST)
From: Ray Curtis <ray@ray.clark.net>
To: redhat-list@redhat.com
In-Reply-To: <36621426.AA1B7D25@nmsu.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>>>>> "krf" == Kent R Frazier <kfrazier@NMSU.Edu> writes:
krf> John H Darrah wrote:
>>
>> On Sun, 29 Nov 1998, Kent R. Frazier wrote:
>>
>> > Thanks for the help, but I still have a problem.
>> > I can send messages to the root account just fine, but when I try to
>> > send a message to one of the user accounts I get the following error
>> > from pine (using my account as an example):
>> >
>> > [mail not sent <Kent@amethyst.frazier.home>...User unknown]
>>
>> Don't send to a fully qualified domain name, just
>> send to "Kent@amethyst" and then sendmail will
>> know it is local. Assuming "amethyst" is your
>> machine name, make sure that it is an alias for
>> your machine in the /etc/hosts file like the
>> following:
>>
>> 192.168.1.1 amethyst.fraizer.home amethyst
>>
>> Set the above to your IP of course ;-)
krf> I tried this and I get the same error. My IP is the same as the default
krf> localhost. (120.0.0.1)
krf> My /etc/hosts file was:
krf> 120.0.0.1 amethyst amethyst.frazier.home
krf> so I changed it to look like your example but with the same IP.
Make your /etc/hosts file look like:
127.0.0.1 localhost.localdomain localhost
192.168.1.1 amethyst.fraizer.home amethyst
Make sure the first line is as above
127.0.0.1 localhost.localdomain localhost
This assumes of course your domain is fraizer.home and the IP address
assigned to your card is 192.168.1.1
Do a 'netstat -r' and look at the default line for the ip and name
assigned your card.
--
Ray Curtis Consultant/Programmer Curtis Consulting
mailto:ray@ray.clark.net http://www.clark.net/pub/ray
============================================================================
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.