Re: What hostname do you use on your computer?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Nov 2006 16:11:25 -0800, Knute Johnson wrote
> Thierry Sayegh De Bellis wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Knute Johnson wrote:
> >> Thierry Sayegh De Bellis wrote:
> >>> -----BEGIN PGP SIGNED MESSAGE-----
> >>> Hash: SHA1
> >>>
> >>> Knute Johnson wrote:
> >>>> Thierry Sayegh De Bellis wrote:
> >>>>> Knute Johnson wrote:
> >>>>>> If I set my computer to localhost.localdomain then I can relay
> >>>>>> mail just fine.  What do you do if you don't have a fixed IP?
> >>>>>>
> >>>>>> Thanks,
> >>>>>>
> >>>>> hang on....frazmtn.com links to Frazier Mountain Internet Service
> >>>>> is this you or your ISP?
> >>>>>
> >>>>>
> >>>> frazmtn.com is my ISP.  I have a couple if fixed IPs, one of which is
> >>>> hosted as sagebrush.frazmtn.com.
> >>>>
> >>> have you thought of having an internal dns setup? For the relaying to
> >>> work you'd need to have a dns record for the workstation and at the
> >>> moment this machine is not 'resolvable'.
> >>> Why don't you just give a hostname that is not a fqdn if you don't run a
> >>> DNS server?
> >>>
> >>> - --
> >>> (o<    Thierry Sayegh De Bellis, RHCE
> >> OK, so if I just set the hostname to 'knute' then what do I want in my
> >> hosts file, /etc/hosts file and in my /etc/sysconfig/network files?
> >>
> >> Thanks,
> >>
> > assuming the machine has a static IP (on your LAN)
> > /etc/hosts looks like
> > 127.0.0.1 localhost localhost.localdomain
> > <your IP> 	knute
> > 
> > 
> > /etc/sysconfig/network
> > NETWORKING=yes
> > HOSTNAME=knute
> > 
> > hth
> > 
> > - --
> > (o<    Thierry Sayegh De Bellis, RHCE
> 
> So now sendmail hangs on startup for about 2 minutes.  There must be 
> something else to set?
> 
> Thanks,
> 
> knute...
> 
> [knute@knute ~]$ hostname
> knute
> 
> [knute@knute ~]$ cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> ::1     localhost.localdomain   localhost
> 192.168.3.5     knute
> 
> [knute@knute ~]$ cat /etc/sysconfig/network
> NETWORKING=yes
> NETWORKING_IPV6=yes
> HOSTNAME=knute
> [knute@knute ~]$
> 
> --
> 
> Knute Johnson
> 

Also change the "::1' to "127.0.0.1", I've read that usually fixes that
problem.. Although I could be wrong..

Wolf
--
Open WebMail Project (http://openwebmail.org)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux