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