In Unix, how do I forward my mail to more than one address?
To forward your mail to more than one address, on most Unix systems, follow the steps below:
- Check to see whether you already have forwarding set in your
account. To do so, at the Unix prompt, enter:
more ~/.forward
If you see a message similar to "No such file or directory", then you
don't have forwarding set yet. If you see an email address, then you
have already set the forwarding on this account, and you should
proceed to step 3.
- If you do not have forwarding set, at the Unix prompt, enter the
following:
echo username1@host1, username2@host2 > .forward
Replace
username1@host1with the first email address to which you want to forward your mail, andusername2@host2with the other email address. You can have your mail forwarded to more than two addresses by adding more addresses, separated by a comma and a space.For example, if you are user
dvaderand you want to forward your mail tovader@empire.gov,anakin@darkside.com, anddarth@sithlord.org, you would enter: echo vader@empire.gov, anakin@darkside.com, darth@sithlord.org > .forward - If you already have forwarding set, edit your
.forwardfile with a Unix editor (e.g., Pico or Emacs) so that it looks like the following: username1@host1, username2@host2 Replaceusername1@host1with the first email address to which you want to forward your mail, andusername2@host2with the other email address. You can have your mail forwarded to more than two addresses by adding more addresses, separated by a comma and a space. Using the example above,dvader's.forwardfile would look like this: vader@empire.gov, anakin@darkside.com, darth@sithlord.org
Also see:
- In Unix mail, how can I forward a copy of my incoming messages to another address?
- At IU, how do I forward my email?
This is document ablm in domain all.
Last modified on June 01, 2005.
Last modified on June 01, 2005.
Please tell us, did you find the answer to your question?






