Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Servers > Please Help !! Sendmail and DSN - NOT DNS

Forgot Password?
 Servers   Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-23-2004   #1 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 11
Please Help !! Sendmail and DSN - NOT DNS

I wonder if some expert can solve this problem

Please see output of /var/log/maillog below:

Mar 23 09:38:24 platinum sendmail[26844]: i2NCcNO26844: from=<jano@domain.com>, size=1082825, class=0, nrcpts=1, msgid=<40602FBC.1070302@domain.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[192.168.38.25]
Mar 23 09:38:24 platinum sendmail[26844]: i2NCcNO26844: to=<marcelo@other.com>, delay=00:00:01, mailer=esmtp, pri=1112825, stat=queued
Mar 23 09:38:35 platinum sendmail[26854]: i2NCcNO26844: to=<marcelo@other.com>, ctladdr=<jano@domain.com> (500/500), delay=00:00:12, xdelay=00:00:10, mailer=esmtp, pri=1202825, relay=sdmailer.other.com. [...], dsn=5.0.0, stat=Service unavailable
Mar 23 09:38:35 platinum sendmail[26854]: i2NCcNO26844: i2NCcP426854: DSN: Service unavailable

What is DSN, and why is the service unavailable? I can send e-mail to other domains without any problems. How do I fix this?
jano is offline  



Reply With Quote
Old 03-23-2004   #2 (permalink)
Linux Enthusiast
 
Opnosforatou's Avatar
 
Join Date: Dec 2003
Location: Vleuten, The Netherlands
Posts: 552
Here is some info on the Delivery-Status-Notification

Sendmail.org

DSN Howto

And a nice google search
__________________
---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.
Opnosforatou is offline   Reply With Quote
Old 03-23-2004   #3 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 11
Is this a normal message to see in maillog? Or does it mean there is something wrong with my config?
jano is offline   Reply With Quote
Old 03-23-2004   #4 (permalink)
Linux Enthusiast
 
Opnosforatou's Avatar
 
Join Date: Dec 2003
Location: Vleuten, The Netherlands
Posts: 552
What version of sendmail are you using ? 8.8 ?

Here is a sample from my maillog using:
Code:
cat maillog | grep dsn
Code:
Mar 23 13:47:50 opnosforatou sm-mta[21070]: i2NClfgD021070: to=<martijnl@opnosforatou.com>, delay=00:00:03, xdelay=00:00:00, mailer=local, pri=198844, dsn=2.0.0, stat=Sent
This example shows the DSN for an incomming email to my personal mail account being delivered localy.

Code:
Mar 22 10:22:24 opnosforatou sm-mta[16147]: i2M9J3q8016147: to=<myhotmailaccount@hotmail.com>, ctladdr=<martijnl@opnosforatou.com> (1000/100), delay=00:03:18, xdelay=00:03:17, mailer=esmtp, pri=33677, relay=mx3.hotmail.com. [64.4.50.239], dsn=2.0.0, stat=Sent ( <405EB052.8040001@opnosforatou.com> Queued mail for delivery)
This example shows the DSN for en email outbound to hotmail.com

I think we need to adjust something in your sendmail config.

Please read the info I've included in my previous post on DSN.
__________________
---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.
Opnosforatou is offline   Reply With Quote
Old 03-23-2004   #5 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 11
I am running sendmail-8.11.6-27.72

Let me give some more info on my problem. 99,9% of my mail gets delivered without any problem.
Yesterday I did a test. I sent two emails to the same recipient. One got delivered, the other not. (See below)


[root@server log]# fgrep i2MEnMO08738 maillog
Mar 22 11:49:22 platinum sendmail[8738]: i2MEnMO08738: from=<jano@domain.com>, size=563, class=0, nrcpts=1, msgid=<405EFCF1.3070109@domain.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[192.168.38.25]
Mar 22 11:49:22 platinum sendmail[8738]: i2MEnMO08738: to=<actionundeadman@ig.com.br>, delay=00:00:00, mailer=esmtp, pri=30563, stat=queued
Mar 22 11:49:24 platinum sendmail[8749]: i2MEnMO08738: to=<actionundeadman@ig.com.br>, ctladdr=<jano@domain.com> (500/500), delay=00:00:02, xdelay=00:00:00, mailer=esmtp, pri=120563, relay=mx.ig.com.br. [200.226.132.20], dsn=2.0.0, stat=Sent (ok 1079966962 qp 7332)

[root@server log]# fgrep i2MEthO09005 maillog
Mar 22 11:55:43 platinum sendmail[9005]: i2MEthO09005: from=<jano@domain.com>, size=563, class=0, nrcpts=1, msgid=<405EFE6E.4020001@domain.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[192.168.38.25]
Mar 22 11:55:43 platinum sendmail[9005]: i2MEthO09005: to=<actionundeadman@ig.com.br>, delay=00:00:00, mailer=esmtp, pri=30563, stat=queued
Mar 22 11:55:48 platinum sendmail[9015]: i2MEthO09005: to=<actionundeadman@ig.com.br>, ctladdr=<jano@domain.com> (500/500), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, pri=120563, relay=mx.ig.com.br. [200.226.132.20], dsn=5.0.0, stat=Service unavailable
Mar 22 11:55:48 platinum sendmail[9015]: i2MEthO09005: i2MEtm609015: DSN: Service unavailable

For another user in another domain I also could send e-mail without any problem, and since a few days email is not delivered with the same DSN message as above.

I did not change my sendmail.cf file so why am I having these problems now?
jano is offline   Reply With Quote
Old 03-23-2004   #6 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 11
Let me beautify my post...
I am running sendmail-8.11.6-27.72

Let me give some more info on my problem. 99,9% of my mail gets delivered without any problem.
Yesterday I did a test. I sent two emails to the same recipient. One got delivered, the other not. (See below)

Code:
[root@server log]# fgrep i2MEnMO08738 maillog
Mar 22 11:49:22 platinum sendmail[8738]: i2MEnMO08738: from=<jano@domain.com>, size=563, class=0, nrcpts=1, msgid=<405EFCF1.3070109@domain.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[192.168.38.25]
Mar 22 11:49:22 platinum sendmail[8738]: i2MEnMO08738: to=<actionundeadman@ig.com.br>, delay=00:00:00, mailer=esmtp, pri=30563, stat=queued
Mar 22 11:49:24 platinum sendmail[8749]: i2MEnMO08738: to=<actionundeadman@ig.com.br>, ctladdr=<jano@domain.com> (500/500), delay=00:00:02, xdelay=00:00:00, mailer=esmtp, pri=120563, relay=mx.ig.com.br. [200.226.132.20], dsn=2.0.0, stat=Sent (ok 1079966962 qp 7332)

Code:
[root@server log]# fgrep i2MEthO09005 maillog
Mar 22 11:55:43 platinum sendmail[9005]: i2MEthO09005: from=<jano@domain.com>, size=563, class=0, nrcpts=1, msgid=<405EFE6E.4020001@domain.com>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=[192.168.38.25]
Mar 22 11:55:43 platinum sendmail[9005]: i2MEthO09005: to=<actionundeadman@ig.com.br>, delay=00:00:00, mailer=esmtp, pri=30563, stat=queued
Mar 22 11:55:48 platinum sendmail[9015]: i2MEthO09005: to=<actionundeadman@ig.com.br>, ctladdr=<jano@domain.com> (500/500), delay=00:00:05, xdelay=00:00:00, mailer=esmtp, pri=120563, relay=mx.ig.com.br. [200.226.132.20], dsn=5.0.0, stat=Service unavailable
Mar 22 11:55:48 platinum sendmail[9015]: i2MEthO09005: i2MEtm609015: DSN: Service unavailable

For another user in another domain I also could send e-mail without any problem, and since a few days email is not delivered with the same DSN message as above.

I did not change my sendmail.cf file so why am I having these problems now?
jano is offline   Reply With Quote
Old 03-23-2004   #7 (permalink)
Linux Enthusiast
 
Opnosforatou's Avatar
 
Join Date: Dec 2003
Location: Vleuten, The Netherlands
Posts: 552
Nopes... But did you see this:

In the first code post it says: dsn=2.0.0, stat=Sent ....

in the second: dsn=5.0.0, stat=Service unavailable ...

It could be that someone on the receiving side is playing with his/her mailer config in this case: relay=mx.ig.com.br

If 99% of all emails to O.K. then : Don't try to fix something that is not broken.



I'll look it up, think you can find a lot of info on the sendmail.org site..
Use the info dsn=2.0.0 and dsn=5.0.0 to search...
__________________
---[ MS09-99896 - Vulnerability in All MS Windows OS ; Using Windows Could Allow Remote Code Execution. ]---
Hardware: Asus P4P800, 1GB, P4-3Ghz, Asus V9950, Maxtor ATA HD\'s, 3Com GBit lan, Audigy ZS Plat.
Opnosforatou is offline   Reply With Quote
Old 03-23-2004   #8 (permalink)
Just Joined!
 
Join Date: Mar 2004
Posts: 11
Hi Opnosforatou

Thanks for some useful help so far. This is the first time somebody from linuxforums.org answers my question. I was beginning to think this forum was dead.

What really bothers me is that I've been searching all over the web for solutions to my "problem" but I cannot find anything useful. I will definitely check out sendmail.org and see if there is something valuable there.

Oh, and how do I explain to my users, that our configuration is ok, but that maybe a big service provider is playing around with his configuration (as you suggested in the previous post?) or that a bank with 60.000 employees has a configuration problem? I wish there was a way to really test your configuration? I used www.dnsreport.com a few times and found it quite useful.
jano is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:59 AM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1