Confused about MX records

Discussion in 'Installation/Configuration' started by miha1978, Jun 1, 2006.

  1. miha1978

    miha1978 New Member

    > Hi
    >
    > My name is Tom, and i work part-time in small local ISP company
    > in Croatia. The old Admin quit the job, and all he leaved was a
    > complete mess behind and the boss assigned me to manage the DNS
    > servers, customer care etc.
    >
    > The newest assignment for me is to create a hosting server
    > running ISPconfig because the firm has an extra server on which
    > I installed CentOS 4.3 and all needed services. I assigned a
    > fixed public IP address 80.253.170.37 for the server and A
    > record (linhost1) on a firms DNS server under
    > /var/named/vm-mreze.hr and I even configured reverse zone and
    > the http://linhost1.vm-mreze.hr are fully operational link.
    > ISPConfig installation went flawless. The main problem is that
    > reading the forums I am totally lost regarding MX records for
    > future domains on my server. Is ISPConfig creating automatically
    > MX records for example.com on my server or I have to put it in
    > zone files for every domain? Does linhost1.vm-mreze.hr needs to
    > be in MX record or created domain will be in MX record on my
    > server machine?
    >
    > And one more thing during installation of ISPConfig when the
    > following information has to be provided:
    >
    > Please enter your MySQL server: E.G. localhost
    > Please enter your MySQL user: E.G. root
    > Please enter your MySQL password: Your MySQL password
    > Please enter a name for the ISPConfig database: E.g. ispconfigdb
    > Please enter the IP address of the ISPConfig web: E.g.
    > 192.168.0.1 <--I put a fixed IP address of my machine running
    > (in my case is 80.253.170.37) is that okay because all that
    > forum guys confuse me
     
  2. falko

    falko Super Moderator

    Only if you check the "Default MX" checkbox. You must check this for every domain/subdomain that you want to receive emails for. If you create a web site www.example.com and check "Default MX", then an MX record will be created for www.example.com, allowing to receive emails for user@www.example.com. If you want to have an MX record for example.com, go to the Co-Domains tab and check "Default MX" for the Co-Domain example.com.

    But it might be easier not to use the "Default MX" checkboxes and create your MX records in the DNS Manager. That's how I do it. I always create an A record like mail.example.com, and then an MX record for example.com pointing to mail.example.com.


    You must use the IP address you see for eth0 when you run
    Code:
    ifconfig
     

Share This Page