Patrick Nelson wrote:
----------------->>>>

 David Busby wrote:
 ----------------->>>>
 Modify your hosts file to give you a dummy FQDN
 ----------------->>>>

Gosh I don't follow?
----------------->>>>

The Non FQDN (NFQDN) is defined in /etc/sysconfig/network file with a one
line entry of HOSTNAME=DevSys01.  I had an alias in the /etc/hosts file of:

 127.0.0.1 localhost.localdomain DevSys01

So I just removed the NFQDN from hosts file alias and changed 127.0.0.1 to:

 127.0.0.1 localhost

without the .localdomain entry.  Then restarted sendmail and this works.
Although I can not ping DevSys01 by name, sendmail starts quickly, and I can
send local mail and internet mail.

Then I started messing around because I was not satisfied with this NFQDN
thing.  I found once you add reference to NFQDN in the host file... back to
square one. 

However, I tried adding a FQDN with an alias to the host file like:

 127.0.0.1 DevSys01.localdomain DevSys01

then sendmail started quickly and I was able to ping DevSys01, but sendmail
didn't deliver.  So I added back the local host entry and then it all
worked.

Here is my /etc/hosts:

 127.0.0.1 localhost
 127.0.0.1 DevSys01.localdomain DevSys01

Here is my /etc/sysconfig/network:

 NETWORKING=YES
 HOSTNAME=DevSys01

In your mail program you will have to adjust the From address if it takes it
from the system.  You can also add the IP of the network IF to the
"127.0.0.1 DevSys01.localdomain DevSys01" line in your hosts file, but mines
not static so I stuck with the 127.0.0.1 address.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to