Simple Sendmail question

I'm running RedHat 6.0 and Sendmail.. How do I get mail to me@myplace.com to also be copied to him@hisplace.com. Do I do this in the aliases file ? NB I do NOT want to redirect all mail just copy it.
castleinfoAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
j2Connect With a Mentor Commented:
easiest way is to create a .forward in your homedir and do this

\localaccount, remoteaccout@somewhere.com

as in

\me, me@myisp.com

would send one copy to the user "me" locally, and one to the user "me" on myisp.com.
0
 
castleinfoAuthor Commented:
Ah I didn't realise you could do that !
Thanks.
0
 
castleinfoAuthor Commented:
Ps. Can this be put in a central place like aliases ?
0
 
j2Commented:
You should, but i have actually not tried that :) But the manuals indicate that the syntax is the same.
0
All Courses

From novice to tech pro — start learning today.