# How can common email addresses like webmaster@ postmaster@ etc. be used? (incl. sending)

**URL:** https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810
**Category:** Discuss
**Tags:** english
**Created:** [August 17, 2024, 6:37pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810 "2024-08-17T18:37:23Z")
**Posts on this page:** 6
**Page:** 1

<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: [August 17, 2024, 6:37pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/1 "2024-08-17T18:37:23Z")

</div>

### My YunoHost server

**Hardware:** Old laptop or computer with lxd  
**YunoHost version:** 11.2.27 (stable), and also tested 12.0.2 (testing)  
**I have access to my server :** Through SSH | through the webadmin | direct access via keyboard / screen  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

Hello,

I also encountered the problem that trying to set up “webmaster@…” as address, or alias, for non-main domains produces  
`This e-mail address is reserved for the admins group`  
errors in the admin interface, and for the main domain it’s even a 500 server error frame stating:

```auto
attribute 'mail' with value 'webmaster@....' is not unique

```

(It’s the same on ynh12 bookworm.)

However, I didn’t quite understand yet the solution from [Admin email alias not working on secondary domain](https://forum.yunohost.org/t/admin-email-alias-not-working-on-secondary-domain/24855).

I didn’t get the intention and am thus surprised that it is changing a group setting, and am not sure of which domain?

Maybe could the actual error message be fixed to only trigger on the main domain? And to provide info and point to the possible usage, like “on main domain incoming email to [this address] is always forwarded to group “admins” members , you may send emails by…”?

---

<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: [August 19, 2024, 4:16pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/2 "2024-08-19T16:16:39Z")

</div>

Why would anybody ever want to hardcode reserving administrative email addresses to be only _ **configurable for** _ the admins group?

It’s very fine to have some common and needed addresses set up for the admins group by default. But why should every admin be bothered with every address of each domain, or why would every my\_webapp webmaster have to be a host admin?

What would actually seem desirable might be to have the typical administrative addresses only be _ **configurable by** _ the admins group. (For any group or user.)

- It could prevent that regular users can set such administrative aliases for themselves.
- And there could be a simple general option for that restriction check to completely disallow regular users to configure their own mail aliases for themselves. (Or maybe does that option already exist?)

* * *

PS: I couldn’t test yet, nor know if it is still required, but I found a thread that seems related and mentions a config-hack needed to allow sending from group-alias addresses:

> [@Solved: Postfix / Snappymail - how to set mailidentity to group mail alias](https://forum.yunohost.org/t/solved-postfix-snappymail-how-to-set-mailidentity-to-group-mail-alias/27776/3):
>
> Quick read but it sounds like we could legit add this in the core

---

<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: [August 19, 2024, 4:45pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/3 "2024-08-19T16:45:10Z")

</div>

Hm, if admins were allowed to set adminstrative email aliases also for regular users…

- Sending emails should work right-away already (no group alias case).
- Admins can use different (non-admin) accounts for their day-to-day tasks.
- Maybe configuring the same alias for multiple accounts could even be an alternative to configuring an alias for a group.

---

<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: [August 20, 2024, 12:40pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/4 "2024-08-20T12:40:53Z")

</div>

Allowing admins to set these aliases for users or themselves, but not allowing to use these publicly known administrative names as usernames could be seen as ok solution, or even a good one, because there would be no guessable usernames.

---

<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: [August 20, 2024, 12:56pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/5 "2024-08-20T12:56:46Z")

</div>

Maybe it’s basicly just about allowing these two commands to work for receiving and sending email:

```auto
sudo yunohost user group add-mailalias webmaster webmaster@...

```

```auto
sudo yunohost user update <user> --add-mailalias webmaster@...

```

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [September 19, 2024, 12:57pm UTC](https://forum.yunohost.org/t/how-can-common-email-addresses-like-webmaster-postmaster-etc-be-used-incl-sending/30810/6 "2024-09-19T12:57:19Z")

</div>

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