# Mail from header

**URL:** <https://meta.discourse.org/t/mail-from-header/349283>\
**Category:** Support\
**Tags:** email\
**Created:** [January 28, 2025, 12:11am UTC](https://meta.discourse.org/t/mail-from-header/349283 "2025-01-28T00:11:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)\
**Post date:** [January 28, 2025, 12:11am UTC](https://meta.discourse.org/t/mail-from-header/349283/1 "2025-01-28T00:11:30Z")

</div>

A question about the From: header in outbound emails that Discourse sends. My system logs in to my local Postfix server with a given linux system user. How is that that the From: header is not from that user, but is rewritten to be ‘noreply@xxx.zzz’? What process is rewriting that? I’d normally expect it to be from the system user connecting to the SMTP server.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [January 28, 2025, 12:14am UTC](https://meta.discourse.org/t/mail-from-header/349283/2 "2025-01-28T00:14:03Z")

</div>

See the notification email in your app.yml

---

<div class="post-metadata">

**Author:** ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)\
**Post date:** [January 28, 2025, 12:28am UTC](https://meta.discourse.org/t/mail-from-header/349283/3 "2025-01-28T00:28:14Z")

</div>

Ah! Thank you. But I don’t fully understand how the From: line gets written. I am missing something.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [January 28, 2025, 12:35am UTC](https://meta.discourse.org/t/mail-from-header/349283/4 "2025-01-28T00:35:40Z")

</div>

It’s filled in with that setting when the email is written.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [February 27, 2025, 12:36am UTC](https://meta.discourse.org/t/mail-from-header/349283/5 "2025-02-27T00:36:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
