Hi, I am facing a problem on sendmail. If I send email to localhost or the same domain then it works. But when I try to send to another domain like yahoo.com, then the connection refused. Following is the error log that I get, can anyone help me?
Jun 30 17:58:33 hq1 sendmail[18427]: h5U9wW6T018427: from=root, size=57, class=0, nrcpts=1, msgid=<200306300958.h5U9wW6T018427@hq1.gov.my>, relay=root@localhost
Jun 30 17:58:33 hq1 sendmail[18429]: h5U9wXbi018429: from=<root@hq1.gov.my>, size=332, class=0, nrcpts=1, msgid=<200306300958.h5U9wW6T018427@hq1.gov.my>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 30 17:58:33 hq1 sendmail[18427]: h5U9wW6T018427: to=sheko11@yahoo.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h5U9wXbi018429 Message accepted for delivery)
Jun 30 17:58:33 hq1 sendmail[18431]: h5U9wXbi018429: to=<sheko11@yahoo.com>, ctladdr=<root@hq1.gov.my> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30321, relay=mx4.mail.yahoo.com. [216.136.129.17], dsn=4.0.0, stat=Deferred: Connection refused by mx4.mail.yahoo.com.
Jun 30 17:58:33 hq1 sendmail[18427]: h5U9wW6T018427: from=root, size=57, class=0, nrcpts=1, msgid=<200306300958.h5U9wW6T018427@hq1.gov.my>, relay=root@localhost
Jun 30 17:58:33 hq1 sendmail[18429]: h5U9wXbi018429: from=<root@hq1.gov.my>, size=332, class=0, nrcpts=1, msgid=<200306300958.h5U9wW6T018427@hq1.gov.my>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 30 17:58:33 hq1 sendmail[18427]: h5U9wW6T018427: to=sheko11@yahoo.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30046, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h5U9wXbi018429 Message accepted for delivery)
Jun 30 17:58:33 hq1 sendmail[18431]: h5U9wXbi018429: to=<sheko11@yahoo.com>, ctladdr=<root@hq1.gov.my> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30321, relay=mx4.mail.yahoo.com. [216.136.129.17], dsn=4.0.0, stat=Deferred: Connection refused by mx4.mail.yahoo.com.