LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-27-2009, 03:58 PM   #1
urentity
Member
 
Registered: Jan 2009
Posts: 48

Rep: Reputation: 15
what's with the $myhostname and $mydomain on a linux box


I have an acer aspireone linux netbook and I am setting up postfix.

Postfix asks me for $myhostname and $mydomain.

Now, the hostname seems to be fairly straightforward, it's the name of the machine, right? Actually it's in my prompt, and it's localhost.

What has me stumped is $mydomainname. This is a portable computer. I don't host a domain on it. I came across this requiremetn ebfor ein Paul Sheer's RUTE book. Domain name.

I really don't have one to give. Shouldl I choose a fake one? Stick in google.com for example. Or should I leave it blank?
 
Old 01-27-2009, 04:23 PM   #2
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
Hi, and welcome to LQ!

Here is a complete tutorial on configuring Postfix. It is an e-mail server, BTW.

If you are just looking for an e-mail client like Outlook, you might want to try Thunderbird or Evolution instead.

Hope this helps.

Last edited by DragonSlayer48DX; 01-27-2009 at 04:30 PM.
 
Old 01-28-2009, 08:57 AM   #3
urentity
Member
 
Registered: Jan 2009
Posts: 48

Original Poster
Rep: Reputation: 15
hi dragonslayer48dx,

thanks for answer ... I've dumped postfix in favour of getmail, and I'm getting on OK with it.

However I'm still not sure what domain name to give my aspire one, as the concept doesn't make sense for a portable laptop.

cheers.
 
Old 01-28-2009, 09:46 AM   #4
Matey
Member
 
Registered: Jan 2009
Posts: 114

Rep: Reputation: 17
Thanks for the link DragonSlayer.
urentity;
I believe those are just common schemes the OS uses to identify your machine in case you are on a network.
It is OK, I remmber years ago while trying to setup a windoze server (a PDC) I ran into this problem and of course the Unwritten rule in the case of MS was, to leave it as .local
otherwise it kept bugging me about a my machine's name dot domain name...

in your case I think you should leave it as local or anything you wish, like localhost.local
the $ dollar sign is usually used to point to a string or substitute a value for a string..like the name of the user would be $USER it means to get the value for that string (i think)?!so if you were logged in as Bob ,$USER or $USERNME would return Bob.

so $localhost means whatever you named your computer in Linux (I think). so like if you named it RedHat then $localhost would return RedHat.
Sorry if I am not 100% correct on these things I am trying to learn too and I appreciate other ppl correcting me.

Oh since I think it is important for all of us to be familiar with the script methods here's a link I found which may be useful;

http://my.safaribooksonline.com/0672.../ch06lev1sec17
regards;
 
Old 01-28-2009, 09:47 AM   #5
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 75
In what context is the dialog box for domain?

I'm not familiar with Getmail, however, to set up Thunderbird or Evolution you would enter the domain of your mail server- i.e. yahoo.com, hotmail.com, etc.
 
Old 01-28-2009, 10:07 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I just make up domain names for my local machines.. like

farslayer.dom, farsplace.dom or noplace.dom notice the ending is .dom instead of com, org, etc.. that way I shouldn't step on a real domain. so basically your domain can be anything you want it to be,,

I would suggest not using yahoo.com, google.com or any other well known used domain..
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache: 'mydomain.com' doesn't work ('www.mydomain.com' does) guarriman Linux - Software 2 12-07-2006 04:16 AM
Apache 1.3: mydomain.com/mypage -> mydomain.com/mypage.html rolandw Linux - Server 1 11-01-2006 02:27 AM
Accessing WevDav directory on linux box A from linux box B using Ant script. panayoti Linux - Newbie 0 10-07-2006 11:44 PM
forcing www.mydomain.com to just mydomain.com sneakyimp Linux - Software 4 07-24-2006 02:23 PM
Ping mydomain.com bulzbb Linux - Networking 7 03-16-2004 05:42 AM

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

All times are GMT -5. The time now is 10:48 AM.

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