Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!decuac!decuac.DEC.COM!avolio From: avolio@decuac.DEC.COM (Frederick M. Avolio) Newsgroups: comp.sys.dec Subject: Re: comp.sys.ultrix Message-ID: <1991Feb14.143208.21783@decuac.dec.com> Date: 14 Feb 91 14:32:08 GMT References: <1991Feb14.062908.4073@batcomputer.tn.cornell.edu> Reply-To: avolio@decuac.DEC.COM (Frederick M. Avolio) Organization: Digital Equipment Corp., Washington ULTRIX Resource Center Lines: 34 Well, your sendmail problems are really related to the fact that you don't want your hostname to be on the 127.0.0.1 line -- at least the software as it is set up doesn't like it. $w is set to the unqualified name (wrongly, but what the heck.. as long as we know....). The software is clearly confused as it looks things up, finds your unqualified name on the 127.0.0.1 line, and uses the first name it finds there (localhost). If you changed this string to FISHLIPS you'd find that that showed up on your mail. 1. Change your sendmail.cf back to how it was - don't define $w - Define $D to be your domain name 2. CHange /etc/hosts -- remove your hostname from the 127 line. 3. make sure your hostname command returns your fully qualified hostname things should work. Works for us on our machines. the 127.0.0.1 does NOT get set up when the kernel is configured but it does when you install the system. What the installation folks figured was that when you set up your network you would use the netsetup script as you are told to do in the installation guide and system management docs. When one uses this, the /etc/hosts file problem gets fixed at the same time it adds the ifconfig line in /etc/rc.local. Hope this helps. Fred