Setting up Google Apps for my Domain

Discussion in 'Installation/Configuration' started by meekish, Jan 12, 2007.

  1. meekish

    meekish New Member

    I am trying to setup GMail for my domain. Google instructs me to enter the following MX records for my domain. I assume that I'm supposed to delete the standard "www.mydomain.com" MX record and replace it with the Google mailservers. However, I'm a little confused as to how I am actually supposed to enter these in the ISPConfig DNS Manager.

    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
    
    In the "MX Record form" on ISPConfig, I have the following boxes:

    * Hostname
    * Priority [10, 20, 30, 40, 50, 60, 70, 80, 90]
    * Mailserver

    How would I translate the Google settings into that form? For example, would the first one be:

    Hostname: ASPMX
    Priority: 10
    Mailserver: ASPMX.L.GOOGLE.COM.

    And the second:

    Hostname: ALT1
    Priority: 50
    Mailserver: ALT1.ASPMX.L.GOOGLE.COM.

    and so on?
     
  2. till

    till Super Moderator

    The priority numbers do not really matter, what matters is the order.

    it will be fine if you translate it like this:

    1 = 10
    5 = 20
    10 = 30

    You must enter the hostnames of the google mailservers without the dot at the end and the hostname field must be empty. Example:

    Hostname:
    Priority: 10
    Mailserver: ASPMX.L.GOOGLE.COM
     
  3. meekish

    meekish New Member

    Great. It seems to be working. Now I just need to figure out how to translate these instructions to the CP and I'm all set:

    In ISPConfig, the CNAME form shows "Host" and "Target", so I'm thinking:

    Host: mail
    Target: ghs.google.com


    Is that correct?
     
    Last edited: Jan 12, 2007
  4. till

    till Super Moderator

    Yes, that looks correct.
     
  5. personxx

    personxx New Member

    Why can't you for example add the following?
    ALT1.ASPMX.L.GOOGLE.COM. 20
    ALT2.ASPMX.L.GOOGLE.COM. 20

    Everytime when I add a mx entry with the same priority I get the following message.

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

    How can I make ISPConfig recognise the difference between ALT1 and ALT2 ?
     
  6. till

    till Super Moderator

    Just set the priority for the second entry to a higher value. Additionally, you do not nned these duplicate records, even if google lists them.
     
  7. claudioimai

    claudioimai New Member

    Problem using ISPConfig, Google Apps and PHP's sendmail()

    Hi,

    I just fixed one problem in another thread, and stuck on another one.

    The DNS problem for using Google Apps is all discussed in this thread, so I successfully set them, and my mail goes to Google Apps succesfully. Thanks for the help.

    BUT, I had a further problem:

    The servers I administer are primarily for use with webstores, which makes them send lots of emails from PHP to the store owner.
    Example:

    one store is set at http://store.domain.com/, and domain.com has the mx records pointing to Gmail in the DNS Manager

    In ISP Manager, ISP Site / Options I changed the mailserver to "External mailserver" for all sites using the domain.

    It should be enough to have this domain working, but any emails sent from the server are lost - I placed a code to log any emails sent from the scripts, and found this behaviour. The script updates the logs with the emails and subsequently, it sends the email, but it looks to be lost after being sent. It's not even on the trashbox (I thought gmail would do this trashing thing, just as hotmail, but it's not) :confused:

    This is happening with 2 servers, could it be some other misconfiguration?
     
  8. falko

    falko Super Moderator

    Did you select "External Mailserver" for the appropriate Co-Domains as well (can be set on the Co-Domains tab, after you've selected the Co-Domain)?
     
  9. claudioimai

    claudioimai New Member

    Thanks, Falko

    It worked!
     
  10. kameleon25

    kameleon25 New Member

    I too was searching for this answer. I just moved my zencart powered company site from "nightmare-host" to my local ISPconfig server. I use Google Apps for the domain and had all the MX records entered correctly. I could send/receive emails fine as long as it wasn't to my own domain. I would get errors about "no known user here" in the mail.log. The main problem is my store uses the PHP wrapper to send email and I got a similar disappearing email deal so I started digging and found this. I never thought about the "co-domain" part. Falko... you and Till are AWESOME! Now I just need to figure out how to move from ISPconfig2 to 3. I like the simplicity of 2. Just need a manual to read on 3 so I can know what does what. ;) hint hint
     
  11. falko

    falko Super Moderator

    Please note that it's not possible to update from ISPConfig 2 to 3. These are completely different pieces of software.
     
  12. kameleon25

    kameleon25 New Member

    Oh, I know. Let me clarify.... "Now I just need to figure out how to move all the sites that are on my ISPConfig 2 server to a new ISPConfig 3 server." :)

    But yes... a manual for ISPConfig 3 would be awesome though.
     

Share This Page