head 1.1; access; symbols; locks ahuxley:1.1; strict; comment @# @; 1.1 date 97.08.14.10.02.46; author ahuxley; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @

Setting Up Outbound Mail

Introduction / Philosophy

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.

Procedure

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$

@