Thread: Suse mailx

View Single Post
  #2 (permalink)  
Old 02-05-2008, 01:52 AM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Try mail command
Code:
mail -s "Subject" root <<EOF
This is my message
EOF
On many systems root mail are forwared to some other account. Following will tell you exact account or email id
Code:
grep ^root /etc/aliases
root: admin@staff.somewhere.com

Person who should get root's mail is admin@staff.somewhere.com
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote