Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
This is the easiest method for a simple forward. As root, use your favorite editor to create the file, /root/.forward with the single line:
{{Text|Text= foo@bar.com}}
Or for multiple copies, space separate the address:
{{Text|Text= foo@bar.com bar@foo.net}}
Any user can have their own .forward file.
Edit the /etc/aliases file. There is an comment example at the end of the file for forwarding mail for 'root'; you can simply edit this line. You MUST be logged in as root (or use su or sudo) to edit the aliases file. Root can add a forward for any local user to the aliases file. After the changes are made to the aliases file, they are actuated with the command:
{{Code| newaliases}}
In the scheme of things, the /etc/aliases file is processed before the ~/.forward file.
12,424

edits