- Subject: Re: localhost name and fqdn
- From: Rick Stevens <ricks@xxxxxxxx>
- Date: Fri, 27 Nov 2009 10:47:06 -0800
- In-reply-to: <A616537B219447E695EE709074C93DD4@CCSLaptop>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4
On 11/26/2009 06:05 PM, D. Merle Skinner wrote:
We have a mail server inside of our firewall and a spam filter outside
of our firewall that we use to handle all of our mail needs. The Spam
filter is named mailman.champion.org as a localhost and as a fqdn.
We have had a few problems with our mailserver being blacklisted and in
doing the research we have found that the mail sever inside the firewall
that receives the incoming mail from the spam server and delvers it...
as well as sends our mail.. also has a localhost name of mailman and
does not have a fqdn.
Can you tell me how to change a localhost name and also to add it as a
fqdn? An any issues inside that server that might mean as we do that.
I am a beginner and need to have a step by step command line tutorial..
any help?
The server name itself is set inside the /etc/sysconfig/network file:
NETWORKING=yes
HOSTNAME=my.FQDN.hostname <--- HOSTNAME SET HERE
GATEWAY=your.default.gateway.ipaddr
In my case:
NETWORKING=yes
HOSTNAME=prophead.hci.com
GATEWAY=192.168.1.254
That's read at boot time when the network is set up. If you want to
set the hostname now, then run (as the root user):
hostname prophead.hci.com
That sets it immediately. It won't show up in your command prompts
until you log out and log back in as the host bit of the prompt is
read when the shell's started.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer ricks@xxxxxxxx -
- AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 -
- -
- "Doctor! My brain hurts!" "It will have to come out!" -
----------------------------------------------------------------------
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe
[Red Hat Kickstart]
[Fedora Users]
[Red Hat General]
[Red Hat Development]
[Samba]
[Kernel]
[Kernel Newbies]
[Hot Springs]
[Yosemite News]