External MX server

Discussion in 'Installation/Configuration' started by Captain, May 17, 2010.

  1. Captain

    Captain Member

    Hello!

    I have problem with DNS configuration.
    I have client on my hosting (ISP2, Ubuntu 9.10) which use webshop based on webasyst.
    This client use external MX server - google mail. I wrote MX and SPF for google mail.
    But webshop send email to local user.
    How I can configure DNS to use only external server. In ISPConfig i checked External Server for this domain.

    It is pri.qwerty.com file:

    Code:
    $TTL        86400
    @       IN      SOA     ns.domain.com. support.domain.com. (
                            2010050801       ; serial, todays date + todays serial #
                            10800              ; refresh, seconds
                            3600              ; retry, seconds
                            604800              ; expire, seconds
                            86400 )            ; minimum, seconds
    ;
                    NS      ns.domain.com.              ; Inet Address of na$
                    NS      ns2.domain.com.              ; Inet Address of name serve$
    ;
    
      MX      10 ASPMX4.GOOGLEMAIL.COM.
      MX      10 ASPMX3.GOOGLEMAIL.COM.
      MX      10 ASPMX2.GOOGLEMAIL.COM.
      MX      10 ALT2.ASPMX.L.GOOGLE.COM.
      MX      10 ALT1.ASPMX.L.GOOGLE.COM.
      MX      10 ASPMX.L.GOOGLE.COM.
      MX      10 ASPMX5.GOOGLEMAIL.COM.
    
    qwerty.com.      A        123.123.123.123
    www       A        123.123.123.123
    
    mail       CNAME  ghs.google.com.
    
    qwerty.com.       TXT  "v=spf1 mx:aspmx.googlemail.com ~all"
    
    
    Big thnks for help.
     
  2. Mark_NL

    Mark_NL New Member

    There are 2 places where you can set local or external mailserver ..

    one is on the options tab of the main domain, the 2nd is under the co-domain -> domain -> options tab.
     
  3. Mark_NL

    Mark_NL New Member

    The MX records of the domains you want to use an external mailserver for should have an MX record in theire DNS zone which point to the external server:

    domain.tld A 11.22.33.44 <- ispconfig machine providing the website
    *.domain.tld A 11.22.33.44 <- ispconfig machine providing the website
    mail.domain.tld A 44.33.22.11 <- external mailserver
    domain.tld MX 100 mail.domain.tld <- MX record that points to your external mailserver
     

Share This Page