How to create an alias, for example, firstname.lastname@example.org, where the email sent to email@example.com reaches all the users available in the posrfix server?
Do the following.
find /home/* -maxdepth 0 | cut -d’/’ -f3 > /etc/mail/team
2. add the following line in the file /etc/aliases
3. run the following command
4. run this command too
You have to do this, whenever a new user is added to the server.