Mail from header

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.

See the notification email in your app.yml

3 Likes

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

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

2 Likes