# Suggestion - allow optional system email "from" setting during setup

**URL:** <https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803>\
**Category:** Feature\
**Created:** [Novembro 11, 2016, 2:36pm UTC](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803 "2016-11-11T14:36:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Lee\_Ars](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lee_ars/32/1597_2.png) [@Lee\_Ars](https://meta.discourse.org/u/Lee_Ars)\
**Post date:** [Novembro 11, 2016, 2:36pm UTC](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803/1 "2016-11-11T14:36:16Z")

</div>

This is more a quality-of-life feature request than a mission-critical one, but it would have helped me out yesterday:

During initial Discourse setup, when entering the e-mail server details, it would be nice if there was an option to specify the address Discourse uses to send the initial set-up email to the first admin—basically, the “notification email” setting that you can modify post-setup.

Discourse appears to use a generic address like “noreply@discourse.yourdomain.whatever”, which probably works fine for most people, but for strict email installations, attempting to send from this address will generate a rejection from the MTA, like this:

```plaintext
Nov 10 16:32:48 oglethorpe postfix/smtpd[23705]: NOQUEUE: reject: RCPT from
unknown[redacted]: 553 5.7.1 <noreply@discourse.bigdinosaur.org>: Sender
address rejected: not owned by user postasaurus@bigdinosaur.org;
from=<noreply@discourse.bigdinosaur.org> to=<lee@bigdinosaur.org>
proto=ESMTP helo=<localhost.localdomain>

```

In a strict email configuration (like mine, with postfix as the MTA) the issue is that the SMTP credentials supplied to discourse for sending email correspond to a single sending account and its sender aliases, and unless you know in advance that you need to add “noreply@discourse.yourdomain.whatever” to your sending account’s sender alias list in `virtual-mailbox-users`, you get the above 5xx reject error when discourse sends its first setup email.

The workaround was to add the sender alias and re-send the setup email, so it’s not a critical problem, but it definitely would be nice to have the option to set the setup email’s “from” address in advance—you’re already configuring the email setup anyway, and you could carry that info forward into the post-setup “notification email” setting.

---

_[View the full topic](https://meta.discourse.org/t/suggestion-allow-optional-system-email-from-setting-during-setup/52803)._
