1846609 Members
2132 Online
110256 Solutions
New Discussion

Sendmail error

 
zsujith
Frequent Advisor

Sendmail error

Hello,

When issued the mail command the below error is found in mail.log.

stat=Service unavailable
Apr 24 01:53:32 xxxx sendmail[12408]: xxxxxx: xxxxxx: DSN: Service unavailable

The mail does not get delivered. Please help us resolve this issue.

Regards
"The most wasted day is that in which we have not laughed."
9 REPLIES 9
Jeeshan
Honored Contributor

Re: Sendmail error

chech that the sendmail is running

#ps -ef|grep sendmail
a warrior never quits
zsujith
Frequent Advisor

Re: Sendmail error

Hi,

Sendmail is not running. Also we received warning message in mail.log as shown below

Warning: .cf file is out of date: sendmail 8.9.3 (PHNE_28809) supports version 8, .cf file is version 7

Regards
"The most wasted day is that in which we have not laughed."
zsujith
Frequent Advisor

Re: Sendmail error

Also got the following error.

Client host rejected: Host not registered in DARTS

Regards
"The most wasted day is that in which we have not laughed."
Davis Paul
Valued Contributor

Re: Sendmail error

Hi Zsujith ,
Start the sendmail by using the following command.
/sbin/init.d/sendmail start

Jeeshan
Honored Contributor

Re: Sendmail error

did you change the sendmail.cf for DS, Dj entries?
a warrior never quits
amipankaj
Frequent Advisor

Re: Sendmail error

Hello Experts,

the version of sendmail running on the server is 8.9.3 which is very old. can we upgrade the sendmail to 8.13.3 version. Do you guys think, it will resolve all these issues if we will upgrade it?

waiting for your response.

Thanks,
Pankaj Roy
Steven E. Protter
Exalted Contributor

Re: Sendmail error

Shalom,

Few things:
You need either an smtp relay server (DJ directive in sendmail.cf) or the ability to resolve host names and send outbound mail on port 25 to actually send mail.

This problem would appear to come from a lack of the ability to do that or properly identify your server to the receiving server.

Most sendmail servers that accept mail are configured to at least check that the sender is coming from a domain name that can be looked up.

http://www.sendmail.org to learn more on the topic.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Tim Nelson
Honored Contributor

Re: Sendmail error

Are we trying to figure out why we cannot send from serverA or why serverB will not receive ?

the sendmail daemon does NOT need to be running in order to send mail.

it does need to be configured either in inetd or as a daemon process in order to receive.

Can you send mail to anywhere else ?

zsujith
Frequent Advisor

Re: Sendmail error

Hi,

When i issue the below echo command get the output as shown.

# echo '$=w' | sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter

> xxxxx.pam
xxxxx.yyy-group.COM

Please let me know from which file it refers to.

Regards
"The most wasted day is that in which we have not laughed."