# Email - Multiple aliasses, identities and forwards - suggestions?

**URL:** <https://forum.yunohost.org/t/email-multiple-aliasses-identities-and-forwards-suggestions/27553>\
**Category:** Discuss\
**Tags:** email, alias, cypht, identity, english\
**Created:** [December 9, 2023, 8:41pm UTC](https://forum.yunohost.org/t/email-multiple-aliasses-identities-and-forwards-suggestions/27553 "2023-12-09T20:41:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)\
**Post date:** [June 20, 2024, 9:04pm UTC](https://forum.yunohost.org/t/email-multiple-aliasses-identities-and-forwards-suggestions/27553/5 "2024-06-20T21:04:43Z")

</div>

Addendum, for the case someone stumbles on this thread later on.

I had a [situation](https://forum.yunohost.org/t/solved-postfix-snappymail-how-to-set-mailidentity-to-group-mail-alias/27776/2) where I wanted an identity to reply to forwarded mail from a group account. I could not add the other account to my mailclient, as it was an LDAP-group, not a user account with a mailbox.

The reason for using the group account was to have mail aliases that could distribute mail to a number of recipients. My account is one of those recipients. If it does not work for you, check your Postfix configuration and edit if needed.

> [@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/2):
>
> by adding the file `ldap-groups.cf` as smtpd\_sender\_login\_map in `main.cf`:
> 
> ```auto
> smtpd_sender_login_maps=
> # Regular Yunohost accounts
> ldap:/etc/postfix/ldap-accounts.cf,
> # test: add the groups file, to see whether it works for group alias mail addresses in identities
> ldap:/etc/postfix/ldap-groups.cf,
> # Extra maps for app system users who need to send emails
> hash:/etc/postfix/app_senders_login_maps
> 
> ```

---

_[View the full topic](https://forum.yunohost.org/t/email-multiple-aliasses-identities-and-forwards-suggestions/27553)._
