You can create a text file in Postfix containing an alias email and several destination emails. There are two ways to implement aliasing and mailing list in Postfix depending on how it is configured.
For System Accounts
Your Postfix is configured to use system accounts if your configuration file has something like
mydestination = $mydomainor sending to a non-existent account gives the error message
Recipient address rejected: User unknown in local recipient table


1. Edit the file /etc/aliases. The file has the form
alias: address1,address2If address has the same domain as yours, you can leave it out. Thus you can use the /etc/aliases file to alias an email address or to build a mailing list.

2. Type in the command newaliases in a terminal window. This will rebuild the aliases database file.For Virtual Accounts
Your Postfix is configured to use virtual accounts if your configuration file has something like
virtual_mailbox_domains = $mydomainor sending to a non-existent account gives the error message
Recipient address rejected: User unknown in virtual mailbox table


3. Test your database file using the command
Replace group@acme.local with a valid alias entry. You should see the destination emails.postmap -q group@acme.local /etc/postfix/valias


4. Edit the file /etc/postfix/main.cf and add the line below to your virtual settings section
virtual_alias_maps = hash:/etc/postfix/valias
If you are using virtual accounts, instead of maintaining a text file containing the aliases and mailing list, it would be better if you can work with your virtual accounts source. See the links below for examples
To Test Postfix

1. Restart the Postfix service. But if you installed MailScanner, then restart MailScanner instead. This will immediately reload the aliases database file instead of after a few minutes.
2. You should now be able to send email to addresses found in your aliases file. See Test Postfix using Telnet and try using the alias email addresses.***
Posted on 4/15/2008 and last updated on 6/10/2009
Filed under Postfix


August 18th, 2008 at 11:11 am
i want to configuration of postfix smtp mail server but i don’t understand how to configure so please send total step-by-step guide installation and configuration with screen shot
August 19th, 2008 at 12:13 am
Hi chandrakant,
Visit the homepage of this site at http://www.linuxmail.info
September 26th, 2008 at 12:08 pm
Hi,
I can send mail linux server’s user. But I cannot receive for real email. How can I configure postfix?
Thanks,
Johnno
December 9th, 2008 at 11:15 pm
Hi, i followed all the steps but i have the next problem:
“Recipient address rejected: User unknown in virtual mailbox table”
I Configured Postfix and Dovecot for Virtual User Accounts.
What can i do?, help me please. Thanks!
April 24th, 2009 at 11:25 am
m also facing same problem
Requested action not taken: mailbox unavailable
Server replied: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table