I don't understand how the MX record works. From what I read you have to point the MX record to your computer and has something to do with hostname? This is my first attempt at configuring a mail server using postfix on Mandriva 2009. I have a static host configured at dhs.org and an MX record. So if my web site or static host is blah.dhs.org do I make the MX record mail.blah.dhs.org or does it have to match my computer hostname or does it even matter what I name the MX record?
My computer has two nics one is for lan 192.168.0.1 (eth1 ) hostname: pegasus and the other is for my internet connection 24.x.x.x.(eth0). My computer hostname is pegasus which points to 192.168.0.1
Trying to follow this guide but confused as to what hostname should be and MX record http://www.howtoforge.com/virtual-us...va-2009.0-i386
They use 192.x.x.x address and server1.example.com for the example. Doesn't it have to be FQDN or is that just the MX record has to be FQDN?
My guess is I use pegasus for hostname in postfix but where do I plug in the MX record in mail server configuration:
postconf -e 'myhostname = pegasus'
postconf -e 'mydestination = pegasus, localhost, localhost.localdomain'
postconf -e 'mynetworks = 127.0.0.0/8'
postconf -e 'virtual_alias_domains ='???