Indiana University
University Information Technology Services
  
What are archived documents?
Login>>
Login

Login is for authorized groups (e.g., UITS, OVPIT, and TCC) that need access to specialized Knowledge Base documents. Otherwise, simply use the Knowledge Base without logging in.

Close

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:

  1. 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.

  2. If you do not have forwarding set, at the Unix prompt, enter the following: echo username1@host1, username2@host2 > .forward Replace username1@host1 with the first email address to which you want to forward your mail, and username2@host2 with 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 dvader and you want to forward your mail to  vader@empire.gov ,  anakin@darkside.com , and  darth@sithlord.org , you would enter: echo vader@empire.gov, anakin@darkside.com, darth@sithlord.org > .forward

  3. If you already have forwarding set, edit your .forward file with a Unix editor (e.g., Pico or Emacs) so that it looks like the following: username1@host1, username2@host2 Replace username1@host1 with the first email address to which you want to forward your mail, and username2@host2 with 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 .forward file would look like this: vader@empire.gov, anakin@darkside.com, darth@sithlord.org

At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?

This is document ablm in domain all.
Last modified on May 13, 2009.

Comments/Questions/Corrections

Use this form to offer suggestions, corrections, and additions to the Knowledge Base. We welcome your input!

If you are affiliated with Indiana University and would like assistance with a specific computing problem, please use the Ask a Consultant form, or contact your campus Support Center.

Contact Information

Note: We will reply to your comment at this address. If your message concerns a problem receiving email, please enter an alternate email address.