How To Use Etc Aliases
Next run postmap against the file etc postfix vmailbox and postfix reload.
How to use etc aliases. The etc aliases file is part of sendmail. 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. Host name is the name of the host. Aliases are the alias names for the host.
To modify your etc aliases file you must first become root. 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. For example mail to the ftp account would be sent to root s mailbox in the configuration you show. The second will deliver mail to another domain.
Redirecting mail to users isn t all that can be done. The first example adds an alias to a local user. It specifies which account mail sent to an alias should really be delivered to. Ip address is the ip address of the host. To add an alias go to etc aliases and add the alias like so.
Add the following line to the etc hosts file ip address host name aliases. Each etc aliases alias should use the following format.