Is it posible to have a mail server on same server with discourse

I like to use same server for email sending as discourse server
so maby can someone explain how to install mail server and conigurate with discourse ?

It is possible but very difficult to manage.

It’s not recommended and beyond the scope of support here. If you want a working setup, use a service like mailgun.

I started managing mail servers in the early 1990s before Sendmail would even compile under Linux. I don’t run a mail server now even though I pay mailgun enough that it could save me money.

If you want to run a mail server look elsewhere. But if you do figure it out, yes, you can run it on the same server as discourse.


can you tell why you ot recomnding ? bc i got som problems with mail gun:
first day limits
second its not sending emails to microsoft emails …

So if you think that you can get better mail delivery than a team of people who are experts and so it full time? It’s really, really hard because of spammers.

Open a ticket with them and they’ll move you to another server.

Installing postfix is the easy part.