How many emails are you sending each month? There is a plan with 10k free messages per month.
If you are having deliverability problems with mailgun, you can open a ticket. If you’re running your own mail server then you’ll be on your own.
If you want to run your own mail server then you should go to some forum that helps people learn to run mail servers. Few people here do that.