cancel
Showing results for 
Search instead for 
Did you mean: 

creating relay host

creating relay host

Dear All,
I need to setup an SMS mechanism to monitor my TRU64 servers.

In order to route any alert via SMS through the SMS Gateway, the setup must be as follows:

a) Relay host refer to "mrelay.pit.xyz.com"

b) The sender name must have a valid mailbox in our Email server, of which you can use "xyzexec@xyz.com".

Is anyone know how to setup/define a relay host in TRU64?

Pls advise.
Thanks.
2 REPLIES
Ivan Ferreira
Honored Contributor

Re: creating relay host

You can run mailsetup to configure sendmail, you will be prompted to configure a relay host.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
R v d Valk
Occasional Advisor

Re: creating relay host

At a default setup, you can also use the following method.

1. edit /etc/hosts and put xyz.com with the ip address (so that ping xyz.com will work)
2. test the script by using:
echo "Subject: Test" | mail xyzexec@xyz.com

Take care that when using this method you most probably do not have a valid reply address and if mail fails to deliver, you will not be notified. Also you will have to edit the host file each time the ip address of the server changes.