Postfix Configuration:Hostname/Domain Name Doubts | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Postfix Configuration:Hostname/Domain Name Doubts

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-25-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Error Postfix Configuration:Hostname/Domain Name Doubts

I have a RHEL server where I want to create a mail server so I can send myself alerts whenever X process have problems.

Disclaimer:
Im a programmer thats been forced to do IT. So I'm trying my best here.

The problem:
While configuring Postfix it asks for $myhostname which apparently must be in the format hostname.mydomain.com. I do have my $hostname but I dont know the "mydomain" part.

Do "mydomain" is something I create or its something I should get my the networks admins since the server is connected to my company's network?

If you need output from specific commands let me know.

/etc/sysconfig/network and /etc/hosts:

Code:
[root@isvahlrtk01 postfix]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=isvahlrtk01
GATEWAY=XX.XX.XX.XX
[root@isvahlrtk01 postfix]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 isvahlrtk01
::1 localhost localhost.localdomain localhost4 localhost4.localdomain4
XX.XX.XX.XX isvahlrtk01

Thanks in advance!

Last edited by RedSpyder; 03-25-2013 at 02:10 PM..
Sponsored Links
    #2  
Old 03-25-2013
in2nix4life's Avatar
in2nix4life in2nix4life is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 25 September 2014, 11:53 AM EDT
Location: East Coast
Posts: 611
Thanks: 1
Thanked 176 Times in 162 Posts
Run the following command to display the fully qualified domain name (fqdn). First part is your hostname, last part is your domain name:


Code:
hostname -f

Sponsored Links
    #3  
Old 03-25-2013
RedSpyder RedSpyder is offline
Registered User
 
Join Date: May 2012
Last Activity: 20 January 2014, 8:33 AM EST
Location: Puerto Rico
Posts: 38
Thanks: 16
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by in2nix4life View Post
Run the following command to display the fully qualified domain name (fqdn). First part is your hostname, last part is your domain name:


Code:
hostname -f

This is what I got

Code:
# hostname -f
localhost

I must add that I configured this server on my own. Installed everything from scratch.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
postfix config: how to relay mails for only one user of a certain domain lpacor UNIX for Dummies Questions & Answers 2 02-23-2012 11:34 AM
FQDN into domain name and hostname msarro Shell Programming and Scripting 10 10-11-2010 05:06 PM
My domain name as my IRC hostname? guitarscn UNIX for Dummies Questions & Answers 0 09-14-2010 11:31 AM
List of Hostname under NIS Domain sriram003 Solaris 5 05-11-2007 04:26 PM
qmail configuration in redhat linux - doubts jones_linux Red Hat 3 06-28-2006 06:09 AM



All times are GMT -4. The time now is 11:52 AM.