Jump to content
 English      
???en.wpa.text.hpweb2003.home??? ???en.wpa.text.hpweb2003.prodserv??? ???en.wpa.text.hpweb2003.support??? ???en.wpa.text.hpweb2003.solutions??? ???en.wpa.text.hpweb2003.buy???
» ???en.wpa.text.hpweb2003.contact???
     Forums advanced search
HP.com Home
IT Resource Center Forums > Tru64 UNIX > system administration

send mail

» 

IT Resource Center

» Login
» Register
» My profile
» Search knowledge base
» Forums
» Patch database
» Download drivers, software and firmware
» Warranty check
» Support Case Manager
» Software Update Manager
» Training and Education
» More maintenance and support options
» Online help
» Site map

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Content starts here
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: send mail      Add to my favorites
manuj kumar
Oct 25, 2009 08:46:38 GMT   

hello It proff

I would like to make tru64 send mail to my email address for example " mankum@Organization.com "
this mail contain any change happened to auth.log file.

how can i do this.


Notes:
Microsoft exchange 2003
Platform is tru64 5.1b

Thanks
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Steven Schweda This member has accumulated 7500 or more points
Oct 25, 2009 15:10:10 GMT  6 pts

> [...] send mail [...]

      man mailx

> [...] any change happened to auth.log file.

I'm not sure what this means.  Change since
when?
manuj kumar
Oct 26, 2009 06:05:01 GMT    N/A: Question Author

Thanks.

"any change happened to auth.log" i mean any user login or logout should send mail.

thanks
Pieter 't Hart This member has accumulated 1000 or more points
Oct 26, 2009 15:15:31 GMT    Unassigned

No idea why you should want this...
you could modify the login script to send mail when executed.
You could write a script that periodically checks the auth.log file for changes.
I don't think logout is logged there...

Can it be an alternative to use the "last" command that outputs when and how long a user has been active?

Or is your question about how to send mail from this unix system using an exchange server as mail relay?
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Privacy statement Using this site means you accept its terms
© 2009 Hewlett-Packard Development Company, L.P.