On Fri, Mar 26, 2010 at 06:40:30PM -0700, tomwaters wrote:
> Hi Guys, 
> 
> I have an opensolaris server on my lan at 192.168.0.1.
> I understand that notifications (ie. error reports) on my opensolaris server 
> will go to the root user on this server.
> 
> I want to send these mail notifications to an account on my central mail 
> server which is running at 192.168.0.2.
> 
> What do I change on the opensolaris server to send the root mail to my local 
> centralised (Windows) email server @ 192.168.0.2

Using /etc/aliases should work if you have sendmail enabled.

0. You should have an entry in your /etc/inet/hosts file for your
   mail server.

1. Edit /etc/aliases (as privileged user)

   Add a line (usually after the "Local aliases" section), e.g. 

   root:  tomwaters@<hostname of your 192.168.0.2 mail server>

2. Update the aliases db:

   # newaliases

That should do it.

Reply via email to