Connection refused by [127.0.0.1]
Posted on 2006-06-29
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 <hosts: files dns>, /etc/mail/sendmail.cf has the line for the relay configured as well as
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: [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: [ID 801593 mail.info] k5T65UvY021683: to=nancy.XXXX@XXX.XXX.XXXX.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>