How would I set up my Ubuntu server to send emails to me instead of root for errors such as privledge access attempts? I'm sure there are different areas for different things, but this one I cannot find... The error is emailed to root (which does not exist so it bounces back)....
ri-Cinet01 : Mar 9 12:25:58 : diannacone : user NOT in sudoers ; TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/apt-get update
How do I send these emails to a different address?
I am using Postfix and have already set up the aliases and sender_canonical to reflect what I need and as far as php to postfix, it works fine with my Exchange box, what else do I need to change? I'm sure it's within a script of somesort, but i am at a loss as to where it is.
Thank you.
MCP ACA-I CTP
ri-Cinet01 : Mar 9 12:25:58 : diannacone : user NOT in sudoers ; TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/apt-get update
How do I send these emails to a different address?
I am using Postfix and have already set up the aliases and sender_canonical to reflect what I need and as far as php to postfix, it works fine with my Exchange box, what else do I need to change? I'm sure it's within a script of somesort, but i am at a loss as to where it is.
Thank you.
MCP ACA-I CTP