# How to get Discourse to work with Postfix

**URL:** <https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602>\
**Category:** Self-hosting\
**Created:** [August 12, 2020, 9:13am UTC](https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602 "2020-08-12T09:13:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Anv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anv/32/137587_2.png) [@Anv](https://meta.discourse.org/u/Anv)\
**Post date:** [August 12, 2020, 9:13am UTC](https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602/1 "2020-08-12T09:13:38Z")

</div>

Hello. I have a discourse without a docker on my local server. Also installed iRedMail. First I tried to use an smtp-server from [mail.ru](http://mail.ru). Test messages were sent, as well as invitations. But no email notifications came in, and the password was reset. I decided that I should install my local mail server and see the logs there why messages do not leave. I did. Local messages come between mailboxes. That’s what you need for testing. Thought it would be enough for local discourse and mail. Set your local smtp server. Sent a test email… and it got there! Winner(no). Looked at /var/log/mail.log of the mail server.

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/a/5a12464364950cafea895ada87a14d4ac062660e.png)  
Okay. Now I’m sending an invitation to the same box… Looking at the mail server logs… …and nothing. It’s empty. I don’t know what the problem is.

All I’m asking is a “how-to” get discourse to speak to postfix.

Right now I have an active admin account by manually enabling it cause, you guessed it, I didn’t get the verification email. I’ll provide any files such as settings and logs upon request.

---

_[View the full topic](https://meta.discourse.org/t/how-to-get-discourse-to-work-with-postfix/160602)._
