First, make sure the following line in the ALIAS DATABASE section of the /etc/postfix/main.cf is NOT commented out:
alias_maps = hash:/etc/aliasesI'm not a UNIX pro. Some people might want to use the NetInfo database. I've heard plusses and minuses to using it, but this method worked for me. If you have to edit the /etc/postfix/main.cf, make sure and stop and start Postfix by issuing the following commands:
% sudo Postfix stop % sudo Postfix startNow you should edit the /etc/aliases file. Using your favorite editor (mine is vi), edit the file:
sudo vi /etc/aliasesAliases are rather simple to set up. You should add any aliases that you want under the heading: # Put your local aliases here. If you want to alias foo so that it is delivered to Bob's account (bob), then you would do the following:
foo: bobYou can add as many aliases as you want for a person. When you are done, you MUST run the following command for Postfix to load the aliases (starting and stopping Postfix will NOT reload the aliases file):
sudo newaliasesNow, test it out! It should be working.

