Question : 500 pts - Pointer Connection refused in Solaris 9 and sendmail

Guys, I have a server with using sendmail but only with aliases under /etc/mail/aliases.  I have configure the /etc/mail/sendmail.cf to relay through an internal gateway to send the result for the scripts to only the specific aliases.  The operating system is Solaris 9.  I do not want the sendmail process or deamon running in the server at all.  I have a file called /etc/resolv.conf, /etc/nsswitch.conf with the line , /etc/mail/sendmail.cf has the line for the relay configured as well as
#DSmailhost$?m.$m$.
DSXXXXXXXX01.XXXX.XXXX.mil.

The script I am running to be mail it is running and generating the report expected but the mail does not get to the destination...

Mailing any type of file with no attachments at all, the /var/log/syslog shows the following:
Jun 29 06:05:30 hostname sendmail[21683]: [ID 801593 mail.info] k5T65UvY021683: from=root, size=38542, class=0, nrcpts=1, msgid=<200606290605.k5T65UvY021683@XXXXX.XXXXX.XXXX.XXXX.mil>, relay=root@localhost
Jun 29 06:05:30 hostname sendmail[21683]: [ID 801593 mail.info] k5T65UvY021683: [email protected].mil, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=68542, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Why or what is it that I am missing that the connection is refused?  I really need help to understand the reason... How to fix it>  

Answer : 500 pts - Pointer Connection refused in Solaris 9 and sendmail

All that I had to do was to add a line to the sendmail.cf


DSmailhost$?m.$m$.

O DaemonPortOptions=Family=inet, address=127.0.0.1, Name=MTA

Thank you.

 
Random Solutions  
 
programming4us programming4us