Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

stat=Service unavailable and DSN: Service unavailable

DSN: Service unavailabl
Occasional Visitor

stat=Service unavailable and DSN: Service unavailable

Hello All,

Just new here.

I having an issue when im sending a mail via mailx or mpack.

Check the issue below.
Tried the google but told me it something to do with my /etc/hosts i have checked it and its ok.

Any recommendations?


Jun 9 11:10:20 server1 sendmail[25743]: LAA25743: from=jen01, size=150, class=0, pri=30150, nrcpts=1, msgid=<201106090110.LAA25743@server1.jen.com>, relay=root@localhost
Jun 9 11:10:21 server1 sendmail[25745]: LAA25743: to=jen01@jen.com, ctladdr=matiaj (2680/100), delay=00:00:01, xdelay=00:00:00, mailer=relay, relay=smtp.jen.com. [148.195.138.130], stat=Service unavailable
Jun 9 11:10:21 iedis01 sendmail[25745]: LAA25743: LAA25745: DSN: Service unavailable
Jun 9 11:10:21 server1 sendmail[25745]: LAA25745: to=jen01, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
3 REPLIES
DSN: Service unavailabl
Occasional Visitor

Re: stat=Service unavailable and DSN: Service unavailable

any update gurus
Matti_Kurkela
Honored Contributor

Re: stat=Service unavailable and DSN: Service unavailable

The server smtp.jen.com [148.195.138.130] is rejecting the email coming from your server1.

Is *.jen.com your site? Contact the administrator of smtp.jen.com and ask him/her the reason of the rejection.

If *.jen.com is outside the organization you're in, contact the email administrators of your organization. It's possible that only designated and properly DNS-registered mail servers are allowed to send mail to external addresses. In that case, you'll probably have to configure server1 to send mail to the official mail server, which will then forward the mail to its destination. This is called a "smarthost" configuration in Sendmail terminology.

To switch your sendmail to smarthost configuration, edit /etc/mail/sendmail.conf.
Find a line that says simply

DS

Add the fully-qualified name of your official SMTP mail server to that line:

DSyour.official.mail.server

Or if you must specify the mail server by IP address, put brackets around it:

DS[11.22.33.44]

After you've made this change, restart sendmail:

sh /sbin/init.d/sendmail stop
sh /sbin/init.d/sendmail start

MK
MK
DSN: Service unavailabl
Occasional Visitor

Re: stat=Service unavailable and DSN: Service unavailable

@MK

Thanks