nix, shell, perl, php, mysql and mac os x tips and tricks

Wednesday, September 13, 2006

This might also work for forwarding e-mail

In the ~user HOME directory, add a file called: .forward
and put inside it this line:
forward@email.com
Then set the permissions to 600.

Making mail aliases at the server level

You can create an alias in /etc/aliases (or /etc/mail/aliases) on
the server like this:
aliasuser: forward@email.com
Then run 'newaliases'.