cancel
Showing results for 
Search instead for 
Did you mean: 

DSN: Service unavailable

Travis Harp
Advisor

DSN: Service unavailable

I'm getting this error over and over in my mail.log.

Sendmail hasn't been something that I've used a lot in the past so I'm a little suck on what to do.

Any ideas?



Travis
Eagles may soar but weasels don't get sucked into jet engines.
8 REPLIES
Steven E. Protter
Exalted Contributor

Re: DSN: Service unavailable

Thats DNS right?

while read -r aa bb
do
ping $bb -n 1 -m 60
# this does a ping on the dns servers one ping 60 second timeout. If it fails you have lost connectivity to or have invalid dns serversr
rc=$?
if [ $rc -ne 0 ] then
echo "DNS server $bb is not available"
else
echo "DNS server $bb is available"
fi
done < /etc/resolv.conf

That was kind of elaborate. Also make sure DNS setttings are correct in /etc/nsswitch.conf

Here is an example

hosts: dns[notfound=continue unavail=continue tryagain=continue]files

Also ifconfig your lan cards from lanscan and make sure they are up and on networks compatible with earlier data in this thread.

SEP
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
Travis Harp
Advisor

Re: DSN: Service unavailable

Nope. It's DSN.

It's showing up in my /var/adm/syslog/mail.log
Eagles may soar but weasels don't get sucked into jet engines.
Fabio Ettore
Honored Contributor

Re: DSN: Service unavailable

Hi,

If you don't use sendmail:

# vi /etc/rc.config.d/mailservs

export SENDMAIL_SERVER=0

Normally that flag should be 1, you set it to 0.

Otherwise suggestions of SEP will be useful surely!

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Travis Harp
Advisor

Re: DSN: Service unavailable

We do actually use sendmail some just not often.

I get mail from the system but it's generating these errors at a ridicules rate, thousands an hour currently.

Does anyone know where to configure the DSN service?
Eagles may soar but weasels don't get sucked into jet engines.
Rainer von Bongartz
Honored Contributor

Re: DSN: Service unavailable

This link should help to configure DSN

http://www.sendmail.org/~ca/email/dsn.html

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
harry d brown jr
Honored Contributor

Re: DSN: Service unavailable

James A. Donovan
Honored Contributor

Re: DSN: Service unavailable

I've seen this message in the past from my systems when the SENDMAIL_SERVER_NAME variable is set to a fully qualified domain name.

When the system reboots, the /sbin/init.d/sendmail script will set the DH and DM macros to the value of SENDMAIL_SERVER_NAME.$m. Sendmail resolves $m to your domain. So what ends up happening is sendmail tries to send out e-mail to mailserver.foo.bar.com.foo.bar.com
Remember, wherever you go, there you are...
Berlene Herren
Honored Contributor

Re: DSN: Service unavailable

Travis, take a look at this RFC to further explain DSN messages, it may help you troubleshoot the problem:

http://www.faqs.org/rfcs/rfc1894.html

Regards,
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm