vaishali
14th February 2007, 09:33
Hi,

We want to schedule a job and send output through mail .Does any one has idea how to configure sendmail in true unix.How to enable smtp so that one can send mails

Thanks & Regards,
Vaishali

Kozure Ohashi
14th February 2007, 11:41
Dear maishali,

on tru64 you just have to edit the /var/adm/sendmail/sendmail.cf file.

You should add the

DN, DW, Cd smtp relay.

Example:

DNyourdomain.com
DWyourdomain.com
Cdyourdomain
R$# $#smtpr $@mail.yourdomain.com $:$1 all other mail; gw

smtp service has to run.

You can use e.g. mailx. Sample Script is on the board. Works fine.

Regards,

Kozure