Problems with emails on same server and others in gsuite

Discussion in 'ISPConfig 3 Priority Support' started by Gaston Girardi, Oct 21, 2019.

  1. Gaston Girardi

    Gaston Girardi New Member HowtoForge Supporter

    Hi, i've notice the following error when some one that has his domain in our server try to send an email to other peopple that also has the domain in our server but the email on Gsuite, zoho mail, or other service like that, the error is the folowwing:

    Code:
    This is the mail system at host server1.hostbaires.net.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                       The mail system
    
    <[email protected]>: user unknown
    Reporting-MTA: dns; server1.hostbaires.net
    X-Postfix-Queue-ID: 64A766171B
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Mon, 14 Oct 2019 15:37:58 -0500 (CDT)
    
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: x-unix; user unknown
    Code:
    This is the mail system at host server1.hostbaires.net.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                       The mail system
    
    <[email protected]>: user unknown
    Reporting-MTA: dns; server1.hostbaires.net
    X-Postfix-Queue-ID: 477266171B
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Mon, 14 Oct 2019 15:38:26 -0500 (CDT)
    
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: x-unix; user unknown
    As you can see those domains are in the server but the email service for those are manage one with gsuite and the other with zoho mail.

    The MX record for one of the zones is like this:
    Code:
    Yes     MX     agesolutions.com.mx.     alt1.aspmx.l.google.com.     5     200     
    Yes     MX     agesolutions.com.mx.     aspmx.l.google.com.     1     200     
    Yes     MX     agesolutions.com.mx.     alt2.aspmx.l.google.com.     5     200     
    Yes     MX     agesolutions.com.mx.     aspmx2.googlemail.com.     10     200     
    Yes     MX     agesolutions.com.mx.     aspmx3.googlemail.com.     10     200
    
    Of course the emails are not set it on ISPConfig, because this are in google, and i imagine the error came because of this, but if some that doesn't has the domain on the same server send us an email this arrive with out any problem.

    Hope you can help me.
     
    Last edited: Oct 22, 2019
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you created those e-mail domains kachimushi.com and gesolutions.com.mx on your e-mail server? Then it knows it serves those domains, and tries to deliver but fails since you have not created the mailboxes.
     
  3. Gaston Girardi

    Gaston Girardi New Member HowtoForge Supporter

    Hi Taleman thanks for your response, yes i've create those domains in the server, should y delete it from the email section?.
     
  4. Gaston Girardi

    Gaston Girardi New Member HowtoForge Supporter

    Ok i've solved it, effectively if the emails are going to be manage by another service like the one you got on G Suite, Zoho Mail, Office 365, etc., you don't have to create the domain in the email section, just the Web and the Zones, thats all.
     
    till likes this.
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Correct, as an explanation: when you create a domain in the email section, then this domain is a local email domain and postfix will try to deliver it locally, no matter where the MX record points to. For this reason, ISPConfig has a separate email and web module, so you can handle the situation in the way you did it now, just don't add such a domain as email domain when an external server is the mail server of that domain.
     
    Gaston Girardi likes this.

Share This Page