Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to receive ROOT email?

Status
Not open for further replies.

JazzGeek

IS-IT--Management
Jun 23, 2002
165
US
Hi all, I'm running Solaris 10. Is there a way I can get all my root email to be sent to a real-world email (i.e., yahoo.com) email address?

Thanks ahead of time!

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
It's just two steps:

# vi /etc/mail/aliases
-> add/replace the root line --> root: memyselfandI@mycompany.tld
# newaliases


Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
Hi Franz

Thanks for the tip. I tried it like that:

Under "local aliases" section at the bottom, I typed in:

root:myemailaddress@yahoo.com

I ran "newaliases" and still, I do not receive any email to my yahoo account.

I ran a test of "mailx" and that worked. But the root mail still doesn't forward to my yahoo account.

Any ideas?

Thanks

SJ

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
is there more than one root line?
is there a sendmail daemon running on this host? does it allow expn?
connect via "telnet localhost 25"
answer the hello: helo servername.yourdomain.tld
check the alias: expn root

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
Hi Franz

It turned out my Sendmail was turned off! Doh.

Thanks for the responses. It helped a lot.

S

Sebastian Jazzer
MCSE 4.0 & 2000, Network+, A+, Web Developer

 
Well, the alias should work without a running sendmail...
Did you check the /var/adm/mail.log

Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top