Confusion about the email server before installing discourse

I did not quite follow what the actual issue is, but MailGun is easier to setup out of these two. They also have pretty good documentation. You need to add a couple of entries to your DNS records and they have to tool to verify that you got it right.

https://help.mailgun.com/hc/en-us/articles/202052074-How-do-I-verify-my-domain-