I'm using gmail MX for outgoing mail. i.e. I have 5 MX record with gmail. Now I want to use sendgrid incoming mail webhook for parsing replied mails. For this, I'm using griddler.
My queries are,
what will happen if my DNS have two different MX record with same priority (i.e. I have 5 entry for gmail MX, and 1 for sendgrid as described in documentation.)
Will any existing functionality break? Is this the right way to setup ?
MX exmaple.com 3600 xyz.google.com (P: 5)
MX exmaple.com 3600 abc.google.com (P: 5)
MX exmaple.com 3600 sdmx2.googlemail.com (P: 10)
MX exmaple.com 3600 asdpmx3.googlemail.com (P: 10)
MX exmaple.com 3600 asdpmx.l.google.com (P: 1)
MX exmaple.com mx.sendgrid.net (P:1) <----
Thanks.
If you put SendGrid at the highest priority, it will effectively take all the mail, and none would go to Google. That's why SendGrid strongly recommends you use a subdomain for Parsing, not your main domain.