Although mail is only used by users on te1, it is useful to be able to mail cronjob output and other reports from other Sun VLT machines, e.g. odt boxes, te19, te36, ...
This is by no means a full mail configuration, but it does suffice for outbound mail to work properly.
Add an alias 'mailhost' for te1 in the *LOCAL* hosts file.
Try the command:
sun# ping mailhost
If this does not successfully resolve the name then check /etc/nsswitch.conf. The current entry for hosts will probably be either:
hosts: files nis dns
or
hosts: nis [NOTFOUND=return] files
Change the entry to:
hosts: nis [UNAVAIL=return] files
If /usr/lib/sendmail does not exist and /usr/lib/sendmail.mx does exist, then run:
sun# ln -s /usr/lib/sendmail.mx /usr/lib/sendmail
If neither exists then you're stuffed.
Run:
sun# date | /usr/ucb/mail -v ahuxley@eso.org
$Header: /home/ct/serco/ahuxley/docs/html/serco-faq/new/software/os/vlt-sun-probs-and-procs/setting-up-outbound-mail.html,v 1.1 1997/08/14 10:02:46 ahuxley Exp ahuxley $