Placing correct name in a variable.
I'm a newbie and following the directions on the CentOS Wikie in order to set up a mail server using Postfix. Below is an example of the items in the Postfix Main.cf file which the instructions state have to be changed.
myhostname = mail.example.com
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mynetworks = 192.168.0.0/24, 127.0.0.0/8
home_mailbox = Maildir/
When I issue the following command in a terminal window I see the following:
My question is, do I need to replace the example.com entries with the results of the hostname command listed above or just xyz.com.
When I type in the following nothing comes back as it appears these variables aren't sent anywhere:
Any help getting a clear answer to the above will be greatly appreicated.