10

I would like to configure 2 MX records : - One MX record that identifies an email server to the domain @mycompany.com that will handle all of the emails except one email - Another MX Record that will redirect to another email server if the address email is: [email protected]

Is it possible? If yes, how can I achieve it?

Thanks,

Fabien

3 Answers 3

16

You can't do this by indicating multiple the MX records for the same (sub)domain. The mail will be delivered to the server(s) defined by your MX record regardin only the (sub)domain, without any look at the user@... Mail routing is done on the (sub)domain part only.

Possible solutions :

  • You can use subdomains, to re-route easily : [email protected] . The drawback is that you have to change your email address and ask your contacts to update theirs.

  • However, there's nothing stopping that mail server being an application that forwards mail onto several other servers based on the user name of the recipient... i.e. tell your mail client to forward all incoming messages for [email protected] to an other mail server.

2
  • Any example of an specific mail server that could act as some sort of proxy that could send certain messages to server A or B depending on the recipient?. Commented Nov 22, 2017 at 19:12
  • Thanks Kami; would that email relay service, given that the email is signed by DKIM, wouldn't break the DKIM?
    – Nathan G
    Commented Jan 2, 2023 at 13:29
4

No. The MX record for a domain designates the SMTP server/s which are responsible for receiving mail for the whole domain.

1

No, but you can designate an alternate MX record for subdomain.mycompany.com to handle mail sent to [email protected].

If you are trying to establish a secondary e-mail address for specific messages/alerts to be delivered if/when your primary mail server is down, this may meet your needs. But, I'm just speculating: it would be helpful to understand the reason why you want to designate an alternate MX record for a specific address.

You must log in to answer this question.