cancel
Showing results for 
Search instead for 
Did you mean: 

send mail

manuj kumar
Frequent Advisor

send mail

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
3 REPLIES
Steven Schweda
Honored Contributor

Re: send mail

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

man mailx

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

I'm not sure what this means. Change since
when?
manuj kumar
Frequent Advisor

Re: send mail

Thanks.

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

thanks
Pieter 't Hart
Honored Contributor

Re: send mail

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?