Inbound email support is one of the more complicated things to configure for self hosters.
If you are hosted by Discourse we take care of all of this for you, but as a self hosted site it is a big challenge to both setup and keep running.
see: Configure direct-delivery incoming email for self-hosted sites
There are a few other topics as well.