1 Reply Latest reply: Dec 12, 2012 8:44 AM by 979249 RSS

    Sendmail - Dead.Letter not logging

    979249
      I am trying to setup dead.letter - a feature in sendmail which gives notification if a wrong email id is entered.
      Currently the problem that i am facing is that i am unable to see dead.letter being created even if i give a wrong email address.
      I made below changes in the /etc/mail/sendmail.cf:
      Removed hash in front of line O DeadLetterDrop=/var/tmp/dead.letter and restarted the sendmail daemon.

      Below is the log from sendmail:

      .
      sahajbahr@xyz.com,test... Connecting to [127.0.0.1] via relay...
      220 abc.xyz.com ESMTP Sendmail 8.14.4+Sun/8.14.4; Thu, 6 Dec 2012 14:02:52 -0500 (EST)
      EHLO abc.xyz.com
      250-abc.xyz.com Hello localhost [127.0.0.1], pleased to meet you
      250-ENHANCEDSTATUSCODES
      250-PIPELINING
      250-EXPN
      250-VERB
      250-8BITMIME
      250-SIZE
      250-DSN
      250-ETRN
      250-DELIVERBY
      250 HELP
      VERB
      250 2.0.0 Verbose mode
      MAIL From:<sbahara@abc.xyz.com> SIZE=5
      250 2.1.0 <sbahara@abc.xyz.com>... Sender ok
      RCPT To:<sahajbahr@xyz.com>
      RCPT To:<test@abc.xyz.com>
      DATA
      250 2.1.5 <sahajbahr@xyz.com>... Recipient ok
      050 <test@abc.xyz.com>... aliased to
      250 2.1.5 <test@abc.xyz.com>... Recipient ok
      354 Enter mail, end with "." on a line by itself
      .
      050 <sahajbahr@xyz.com>... Connecting to abc.ayz.com. via relay...
      050 220 abc.xyz.com Microsoft ESMTP MAIL Service ready at Thu, 6 Dec 2012 14:02:51 -0500
      050 >>> EHLO abc.xyz.com
      050 250-abc.xyz.com Hello [10.207.73.164]
      050 250-SIZE 10485760
      050 250-PIPELINING
      050 250-DSN
      050 250-ENHANCEDSTATUSCODES
      050 250-AUTH
      050 250-8BITMIME
      050 250-BINARYMIME
      050 250 CHUNKING
      050 >>> MAIL From:<sbahara@abc.xyz.com> SIZE=339
      050 250 2.1.0 Sender OK
      050 >>> RCPT To:<sahajbahr@abc.com>
      050 >>> DATA
      050 250 2.1.5 Recipient OK
      050 354 Start mail input; end with <CRLF>.<CRLF>
      050 >>> .
      050 250 2.6.0 <201212061902.qB6J2muJ009864@abc.xyz.com> [InternalId=15114] Queued mail for delivery
      050 <sahajbahr@abc.com>... Sent (<201212061902.qB6J2muJ009864@abc.xyz.com> [InternalId=15114] Queued mail for delivery)
      250 2.0.0 qB6J2qtl009871 Message accepted for delivery
      sahajbahr@xyz.com,test... Sent (qB6J2qtl009871 Message accepted for delivery)
      Closing connection to [127.0.0.1]
      QUIT
      221 2.0.0 abc.xyz.com closing connection