# Customizing an app's email-address with new "resources" app-install-system?

**URL:** <https://forum.yunohost.org/t/customizing-an-apps-email-address-with-new-resources-app-install-system/43046>\
**Category:** Advanced use case\
**Tags:** install, english\
**Created:** [September 20, 2026, 3:54pm UTC](https://forum.yunohost.org/t/customizing-an-apps-email-address-with-new-resources-app-install-system/43046 "2026-09-20T15:54:30Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![tmb](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/t/7c8e57/32.png) [@tmb](https://forum.yunohost.org/u/tmb)\
**Post date:** [November 4, 2026, 10:41pm UTC](https://forum.yunohost.org/t/customizing-an-apps-email-address-with-new-resources-app-install-system/43046/10 "2026-11-04T22:41:38Z")

</div>

Found it’s simple to properly customize the email sending address of a system user account that an app has configured as [a “resource” in its manifest](https://doc.yunohost.org/en/dev/packaging/resources#system-user):

```auto
yunohost app setting <APP> mail_user -v 'name'
yunohost app setting admidio mail_domain -v 'domain.example.org'

yunohost tools regen-conf postfix
# check:
cat /etc/postfix/app_senders_login_maps

yunohost tools regen-conf dovecot
# check:
cat /etc/dovecot/app-senders-passwd

```

If receiving emails is also desired, that address can simply be configured as an alias for an existing user (mailbox).

If a yunohost app package re-generates (overwrites) your entire local configuration file on upgrades, that package may at least have to be adjusted to use ` __MAIL_USER__ ` and ` __MAIL_DOMAIN__ ` in the template to configure email (instead of ` __APP__ ` and ` __DOMAIN__ `, but as I don’t have any such app installed I can’t confirm that for sure.

---

_[View the full topic](https://forum.yunohost.org/t/customizing-an-apps-email-address-with-new-resources-app-install-system/43046)._
