Forward Unix Mail to Another Email Address

by Pete Freitag

How do you forward your unix mail to another email address? It's quite simple in most cases you just need to put the email address in a .forward located in your home directory. From the command line or shell type:

echo somewhere@example.com > ~/.forward