Hi abrist,
Thank you for the replay..
Yes, we are using an smtp relay and i am trying to send to the same mail id for bothe test mail/test notification.
Please find the below output of the command.--
tail -25 /var/log/maillog
Oct 21 00:06:41 nagiosxi sendmail[5978]: r9L46f53005978: from=<
[email protected]>, size=659, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=monitoring-template [127.0.0.1]
Oct 21 00:06:41 nagiosxi sendmail[5975]: r9L46fsG005975: to=
[email protected], ctladdr=nagios (501/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30339, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r9L46f53005978 Message accepted for delivery)
Oct 21 00:06:41 nagiosxi sendmail[5980]: STARTTLS=client, relay=xxxxxx.com.s9a1.psmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Oct 21 00:06:44 nagiosxi sendmail[5980]: r9L46f53005978: to=<
[email protected]>, ctladdr=<
[email protected]> (501/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120659, relay=xxxxxx.com.s9a1.psmtp.com. [74.125.148.10], dsn=2.0.0, stat=Sent (Thanks)
Oct 21 00:08:21 nagiosxi sendmail[8924]: r9L48LOD008924: from=nagios, size=346, class=0, nrcpts=1, msgid=<
[email protected]>, relay=nagios@localhost
Oct 21 00:08:21 nagiosxi sendmail[8927]: r9L48LX0008927: from=<
[email protected]>, size=666, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=monitoring-template [127.0.0.1]
Oct 21 00:08:21 nagiosxi sendmail[8924]: r9L48LOD008924: to=
[email protected], ctladdr=nagios (501/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30346, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r9L48LX0008927 Message accepted for delivery)
Oct 21 00:08:21 nagiosxi sendmail[8929]: STARTTLS=client, relay=xxxxxx.com.s9a1.psmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Oct 21 00:08:24 nagiosxi sendmail[8929]: r9L48LX0008927: to=<
[email protected]>, ctladdr=<
[email protected]> (501/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120666, relay=xxxxxx.com.s9a1.psmtp.com. [74.125.148.10], dsn=2.0.0, stat=Sent (Thanks)
Oct 21 02:53:24 nagiosxi sendmail[20393]: r9L6rOgd020393: from=nagios, size=336, class=0, nrcpts=1, msgid=<
[email protected]>, relay=nagios@localhost
Oct 21 02:53:24 nagiosxi sendmail[20396]: r9L6rOxg020396: from=<
[email protected]>, size=656, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=monitoring-template [127.0.0.1]
Oct 21 02:53:24 nagiosxi sendmail[20393]: r9L6rOgd020393: to=
[email protected], ctladdr=nagios (501/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30336, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r9L6rOxg020396 Message accepted for delivery)
Oct 21 02:53:26 nagiosxi sendmail[20398]: STARTTLS=client, relay=xxxxxx.com.s9a1.psmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Oct 21 02:53:29 nagiosxi sendmail[20398]: r9L6rOxg020396: to=<
[email protected]>, ctladdr=<
[email protected]> (501/100), delay=00:00:05, xdelay=00:00:05, mailer=esmtp, pri=120656, relay=xxxxxx.com.s9a1.psmtp.com. [74.125.148.10], dsn=2.0.0, stat=Sent (Thanks)
Oct 21 03:13:22 nagiosxi sendmail[21755]: r9L7DLfE021755: from=nagios, size=323, class=0, nrcpts=1, msgid=<
[email protected]>, relay=nagios@localhost
Oct 21 03:13:22 nagiosxi sendmail[21765]: r9L7DMmZ021765: from=<
[email protected]>, size=643, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=monitoring-template [127.0.0.1]
Oct 21 03:13:22 nagiosxi sendmail[21755]: r9L7DLfE021755: to=
[email protected], ctladdr=nagios (501/100), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30323, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r9L7DMmZ021765 Message accepted for delivery)
Oct 21 03:13:23 nagiosxi sendmail[21767]: STARTTLS=client, relay=xxxxxx.com.s9a1.psmtp.com., version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
Oct 21 03:13:25 nagiosxi sendmail[21767]: r9L7DMmZ021765: to=<
[email protected]>, ctladdr=<
[email protected]> (501/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120643, relay=xxxxxx.com.s9a1.psmtp.com. [74.125.148.10], dsn=2.0.0, stat=Sent (Thanks)
Oct 21 04:02:18 nagiosxi sendmail[5909]: r9L82GUm005909: from=root, size=1162, class=0, nrcpts=1, msgid=<
[email protected]>, relay=root@localhost
Oct 21 04:02:18 nagiosxi sendmail[5951]: r9L82Irc005951: from=<
[email protected]>, size=1462, class=0, nrcpts=1, msgid=<
[email protected]>, proto=ESMTP, daemon=MTA, relay=monitoring-template [127.0.0.1]
Oct 21 04:02:18 nagiosxi sendmail[5909]: r9L82GUm005909: to=root, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:00, mailer=relay, pri=31162, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r9L82Irc005951 Message accepted for delivery)
Oct 21 04:02:18 nagiosxi sendmail[5952]: r9L82Irc005951: to=<
[email protected]>, ctladdr=<
[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31709, dsn=2.0.0, stat=Sent
EDIT: Linking to similar email-related thread by same user: support.nagios.com/forum/viewtopic.php?t=21609 - tmcdonald