How To Use Etc Aliases
Next run postmap against the file etc postfix vmailbox and postfix reload.
How to use etc aliases. The name of the mail alias followed by a colon the recipients logins and machine names separated by commas. To modify your etc aliases file you must first become root. Ip address is the ip address of the host. If root is password protected you ll need to know the root password. From a workstation that has access to your storage system edit the etc hosts file.
To add an alias go to etc aliases and add the alias like so. Aliases are the alias names for the host. Multiple recipients can be specified as comma separated lists too. Add the following line to the etc hosts file ip address host name aliases. Note that the mail alias does not have to be on a single line.
Localuser for a local user mapping alias2. Each etc aliases alias should use the following format. The second will deliver mail to another domain. The first example adds an alias to a local user. The format of mail aliases that are created in etc aliases is somewhat different from those in mailrc.
Redirecting mail to users isn t all that can be done. The etc aliases file is part of sendmail.