stuff to buy!!

Saturday, January 10, 2009

how to forward emails RHEL / CentOS linux

I had this question put up to me and I didn't know the answer myself so google revealed a couple of things to me once again.

=
http://www.faqs.org/docs/Linux-HOWTO/Mail-User-HOWTO.html#forwarding
=

Which states

==

3.2. Forwarding

MTA aliases usually require administrator privileges to set up. But it is desirable for mail users to be able to set up forwarding of their own mail without administrator intervention.

To support this, most MTAs follow sendmail's lead and look for a file called .forward in your home directory. The contents of this file is interpreted like the target of an alias which should receive all your mail. The most common use for this facility is to redirect your mail to an account on another machine

==


And


==

http://nixcraft.com/getting-started-tutorials/180-how-forward-email-other-account.html

==


Which talks about it


==

Trust me if you don't have admin access to mail server then forwarding mail can be problem. For example your account at uni tom.cat@myuni.com and then you gonna for holidays or just wanna forward email to mr.tom@yahoo.com then just do the following trick:

Code:
echo 'mr.tom@yahoo.com' > .forward

==

No comments:

Buy more Stuff!!!