How to create an alias, for example, email@example.com, where the email sent to firstname.lastname@example.org 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.