Find the answer to your Linux question:
Results 1 to 8 of 8
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] ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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?

  2. #2
    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.

  3. #3
    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?

  4. $spacer_open
    $spacer_close
  5. #4
    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&#58;47&#58;50 opnosforatou sm-mta&#91;21070&#93;&#58; i2NClfgD021070&#58; to=<martijnl@opnosforatou.com>, delay=00&#58;00&#58;03, xdelay=00&#58;00&#58;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&#58;22&#58;24 opnosforatou sm-mta&#91;16147&#93;&#58; i2M9J3q8016147&#58; to=<myhotmailaccount@hotmail.com>, ctladdr=<martijnl@opnosforatou.com> &#40;1000/100&#41;, delay=00&#58;03&#58;18, xdelay=00&#58;03&#58;17, mailer=esmtp, pri=33677, relay=mx3.hotmail.com. &#91;64.4.50.239&#93;, dsn=2.0.0, stat=Sent &#40; <405EB052.8040001@opnosforatou.com> Queued mail for delivery&#41;
    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.

  6. #5
    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?

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

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

  8. #7
    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.

  9. #8
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •