ISPConfig and Google Apps

Discussion in 'Installation/Configuration' started by demortes, Mar 27, 2007.

  1. demortes

    demortes Member

    Greetings,

    In addition to my current problem in another thread, I have a new one.

    When I'm trying to set up Google Apps for one domain, it gives me

    This or a similar MX Record does already exist in this zone.

    And when I try to set it up for my second domain, it still gives it to me.

    Now, I'm leaving hostname blank, and priorities the same as google apps is asking... Any other information needed?

    Demortes

    P.S. When is hostname supposed to be used? When a subdomain needs it's own? Like [email protected]? Hostname == sub?
     
    Last edited: Mar 27, 2007
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The ostname in MX records is normally always empty.

    yes.
     
  3. demortes

    demortes Member

    Thanks Till, any clue on the actual issue?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I never used Google apps.
     
  5. demortes

    demortes Member

    Simply put, I need MX records set to something, and a cname. The cname I can figure out, but for the life of me I can't detect WHY I'm getting:
    Code:
    This or a similar MX Record does already exist in this zone.[CODE]
    
    There are no other MX records, ANYWHERE now. Nothing similar, nothing. The MX records I need are at https://www.google.com/a/cpanel/serenity-tech.com/SetupMXInstructions, and if you don't want to look for yourself...
    
    MX Server address 	Priority
    ASPMX.L.GOOGLE.COM. 	1
    ALT1.ASPMX.L.GOOGLE.COM. 	5
    ALT2.ASPMX.L.GOOGLE.COM. 	5
    ASPMX2.GOOGLEMAIL.COM. 	10
    ASPMX3.GOOGLEMAIL.COM. 	10
    ASPMX4.GOOGLEMAIL.COM. 	10
    ASPMX5.GOOGLEMAIL.COM. 	10
    
    Now, I know that the priorities wont match up exactly, as long as their in the right order, not my question...
    
    Any ideas?
     
  6. falko

    falko Super Moderator Howtoforge Staff

     
  7. phamels

    phamels Member

    Hi,

    I'm also having trouble setting up the proper MX records for the google apps.
    It seems I can add them, but some of them are unaddable;
    ISPConfig keeps complaining about 'This or a similar MX Record does already exist in this zone.'

    Why is that ? :)
    Anyway, Recycle bin is empty and here's the list that is currently set up for the domain.
    Thones with hostname filled out could not be created.

    Code:
      MX   
    
    -----------------------------------
     
      Mailserver     Hostname   
      aspmx5.googlemail.com        
      googlemail.com     aspmx4   
      googlemail.com     aspmx3   
      googlemail.com     aspmx2   
      google.com     alt2.aspmx.l   
      alt1.aspmx.l.google.com        
      aspmx.l.google.com        
    
    Should be:
    Code:
    MX Server address	Priority
    ASPMX.L.GOOGLE.COM.	1
    ALT1.ASPMX.L.GOOGLE.COM.	5
    ALT2.ASPMX.L.GOOGLE.COM.	5
    ASPMX2.GOOGLEMAIL.COM.	10
    ASPMX3.GOOGLEMAIL.COM.	10
    ASPMX4.GOOGLEMAIL.COM.	10
    ASPMX5.GOOGLEMAIL.COM.	10
    
    As i got this correct, hostnames should be empty and domains should be filled out entirely... right ?

    Thx allot !
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the hostname field should be empty in this case. Maybe the check for duplicate entrys is a bit too strict here.
     
  9. phamels

    phamels Member

    Me thinks so too :)

    Having a bigger issue now, I succeeded to setup MX records for one domain fiddling around with the priority:

    Code:
      MX      10 aspmx.l.google.com.
      MX      20 alt1.aspmx.l.google.com.
      MX      30 alt2.aspmx.l.google.com.
      MX      50 aspmx2.googlemail.com.
      MX      60 aspmx3.googlemail.com.
      MX      70 aspmx4.googlemail.com.
      MX      80 aspmx5.googlemail.com.
    
    So I figured, sweet :)
    Now let's try this for another domain...

    Domein number 2, deleted the MX record that was present there ...
    Going to recycled bin to delete the record, oh, it ain't there...
    Oh well, let's just recreate that record with a priority of 90 (as a backup mx)
    and add the google records with lower priorities... didn't work ...
    It stated that my record allready existed... even tough i just deleted it and it didn't show up in the recycled bin.

    So like you stated Till, could be the check that is being too strict...

    Problem now is tough i have a domain that doesn't have any MX Records :D
    Very irritating if this is a company domain name :cool:
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    I'am pretty sure that the MX record is in the recycle bin.
    Please check ALL recycle bins in the dns-manager. Every reseller and the admin has its own independant recycle bin.

    I administer a server with over 900 domains in the ISPConfig DNS-Manager, they are all company domain names and never got one problem with them :)
     
  11. phamels

    phamels Member

    For sure, they are not in ANY recycled bin.

    I've doublechecked, no, tripple checked :)


    Even the table 'del_status' is empty, dunno if it is related to the bin...
    But I noticed that some of the records seem stuck in the table: 'dns_mx' ...


    Me neither, been using ISPconfig over a year now and I still love it :)
    Problem just started when i tried to add the Google MX records :)
     
    Last edited: Apr 3, 2007
  12. phamels

    phamels Member

    Seems i got it sort-of fixed...

    Played around with the priorities of the MX records but I can't seem to be able to create an MX record with a priority of '10'.

    This is the error i receive in ispconfig.log when i do try to create an MX record with a priority of '10':
    Code:
    03.04.2007 - 16:24:19 => DEBUG - This or a similar MX Record does already exist in this zone.<br><br><br> <a href='../../isp_dns/frame_start.php?s=123456789*removed*123456789'>Next &gt;&gt;</a>
    I was able to setup google apps on the second domain using the following priorities:
    Code:
      MX      80 ASPMX4.GOOGLEMAIL.COM.
      MX      90 ASPMX5.GOOGLEMAIL.COM.
      MX      70 ASPMX3.GOOGLEMAIL.COM.
      MX      60 ASPMX2.GOOGLEMAIL.COM.
      MX      50 ALT2.ASPMX.L.GOOGLE.COM.
      MX      40 ALT1.ASPMX.L.GOOGLE.COM.
      MX      20 ASPMX.L.GOOGLE.COM.
    
     
  13. phamels

    phamels Member

    Just noticed something that could be related to this problem...

    I deleted an A-record from the default RESELLER account and it ended up in the Recycled bin of a different reseller...

    It also seems i'm unable to create new user accounts for the customers.
    They always get an incorrect username/password error even though all info is ok...

    There is one user that still seems to be able to login to the ISPConfig system, he sees his own domain names but there's also some domains attached to his account that don't belong to him ... now that's weird :)

    I must say, I have moved the system from a FC4 system to Debian 3.1 wich could have caused some DB issues... even though everything else seems to be running ok.
     
  14. phamels

    phamels Member

    *bump*

    this really is an issue
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Any errors in /home/admispconfig/ispconfig/ispconfig.log?
     
  16. demortes

    demortes Member

    question is... do they use google apps? lol. I assure you if you were to add the google apps MX records to another domain, it checks it across all domains, maybe missing a if() check (be warned, I'm not adaquate in PHP or any other language other than C and C++ :p)
     
  17. demortes

    demortes Member

    You know, I didn't even think about setting them at the different levels of priority, rather than the one at 10, two at 20, etc.... after doing them all on their own priority, ISPConfig didn't complain... we'll see if it actually works. Also, got it in for both domains.
     
  18. demortes

    demortes Member

    Yup works.
     

Share This Page