LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2003, 10:49 PM   #1
frbillkessler
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Unhappy Here is where I am... where now?


Well first off thanks for those who responded earlier. I have my WWW and SFTP Servers working acceptably. I can't seem to get apache to recognize .htm... it only wants .html but that is a minor issue. I cannot for the life of me figure out how to setup mail

Here is my situation. I have an old dell PC I have installed RH9 on. I used the server install all method of installation. I have acquired a domain(frbillkessler.us) and I have gotten DynDNS services as my ISP would not like it if I ran a DNS Server.

Where do I go from here. I suppose I need to rename my machine and do some dns work to get it functioning but I cannot figure out how. At this time the system boots as localhost.localdomain. I guess this will cause some problems with the MTA. Where can a true new newbie find a step by step to setting up a secure mail service. I am even at the point of finding a place to pay to help me set it up. That is how desperate I am. I am so tired of having to use MSN Hotmail and I would really like to have this working. Thanks for reading this lengthy post!

Peace,

Fr. Bill Kessler
 
Old 08-24-2003, 11:08 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Actually, postfix takes you through setting up a postfix mail server step by step, fairly well: www.postfix.org Follow the README contained within the tarball and it shouldn't be too bad. Feel free to post up any problems you run into...

Cool
 
Old 08-24-2003, 11:41 PM   #3
frbillkessler
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks

I found the config info on the website. I do have a couple of questions.

1 My Machine seems to only want to call itself localhost.localdomain. Is that the name that what I should use to call
myorigin = $myhostname (default)
myorigin = $mydomain (probably desirable)

2. Since my Machine is using Dynamic DNS and does not have a dns server loaded will this affect mail delivery?

Thansk for the quick response earlier MasterC

Peace,

Fr. Bill
 
Old 08-24-2003, 11:55 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Using an external DNS shouldn't have any major problems on a mail server, I wouldn't worry about it too much until/unless you start getting A LOT of traffic..

As for the names...

mydomain = your actual domain, so:
mydomain = linuxquestions.org

myhostname = name of the PC itself, if you don't name your PC, then:
myhostname = localhost
Will be fine. But if you have multiple computers on your own LAN it's much easier to use names for the PC's than identify them by private IP, in which case you'll use the name of the PC that replaces localhost..



Cool
 
Old 08-25-2003, 12:32 AM   #5
frbillkessler
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
MasterC rules!

Thanks A bunch!

One last question... I will truly show my newbieness with this one. How can I then change the name of the machine from localhost and the name of the domain from localdomain so that Postfix and The computer are on the same page. Sorry to be such a pain but I am at a loss at this point. My Linux Books are in the mail but I want to learn some of this before they get here.

Many Thanks!

Peace,

Fr. Bill Kessler
hoping to be how appropriate
 
Old 08-25-2003, 12:44 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
It's different distro to distro, however, short term you can change it with:
hostname newhostname
where newhostname is the name you want to give your computer.

And;
domainname newdomainname
where newdomainname is your domain ( linuxquestions.org for example )

On RedHat IIRC it's in or around /etc/sysconfig to set it permanently (might be in some of the docs on RH's site). You'll likely also want to edit /etc/hosts accordingly so it responds to the new hostname. The syntax is, for example:
Code:
# For loopbacking.
127.0.0.1       localhost

# For definition
127.0.0.1       masterc 
192.168.1.125    cooler
Which is mine actually

HTH

Cool
 
Old 08-25-2003, 03:51 AM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Cool That's cool

I always wanted to change it from localhost. I named mine "smoker". Hey, It's faster than the 400MHz I used to have.

COOL

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration