Sendmail Issue on Solairs 8

Hello Gurus,

On server xyz. I need to configure sendmail.
Sendmail server is abc.xxx.xx.com

Important thing is sendmail server is resolving only by DNS , even ping is not happening.
But when I configure in /etc/mail/sendmail.cf as show below

DSabc.xxx.xx.com

Still I am receiving the following error in /var/log/syslog

Oct 1 08:47:47 xyz sendmail[11142]: [ID 801593 mail.info] n917llE11142: from=username, size=67, class=0, nrcpts=1, msgid=<200910010747.n917llE11142@xyz.loghost>, relay=root@localhost
Oct 1 08:47:47 xyz sendmail[11144]: [ID 801593 mail.info] n917llE11142: to=mailid, ctladdr=username (9212/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120067, relay=abc.xxx.xx.com. [xx.xx.xx.x], dsn=5.0.0, stat=Service unavailableOct 1 08:47:47 xyz sendmail[11144]: [ID 801593 mail.info] n917llE11142: n917llD11144: DSN: Service unavailable
Oct 1 08:47:47 xyz sendmail[11144]: [ID 801593 mail.info] n917llD11144: to=username, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30112, relay=local, dsn=2.0.0, stat=Sent
Oct 1 08:52:30 xyz sendmail[11189]: [ID 801593 mail.info] n917qUP11189: from=remedy, size=275, class=0, nrcpts=1, msgid=<200910010752.n917qUP11189@xyz.loghost>, relay=remedy@localhost
Oct 1 08:52:30 xyz sendmail[11191]: [ID 801593 mail.info] n917qUP11189: to=remedy, ctladdr=remedy (9206/1), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=120275, relay=local, dsn=2.0.0, stat=Sent

Working server:- mailer=relay, pri=30061, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n8UETcI5013459 Message accepted for delivery)Issue:-mailer=relay, pri=120067, relay=abc.xxx.xx.com. dsn=5.0.0, stat=Service unavailable

To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags

```text
 and 
```

by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums