Skip to main content

Weird Non-Delivery Receipt from external domain

Comments

8 comments

  • cPRex Jurassic Moderator
    Hey there! Are there any forwarders or filters in place that could explain this behavior? If you search for the original mail ID in the /var/log/exim_mainlog file, I would expect to see the full transaction and it would show if the message was handled in a way that would have triggered the message to be sent elsewhere. Is it also possible this is just some unrelated spam of some sort or is it too specific for that?
    0
  • tmurdock
    Thanks for the reply! I did look in the forwarders, all forwarders are pointing to local addresses so I don't think that is it. I did look in filters and I only have two in place, both set to discard messages that match that filter. I did grep the message ID and it only shows the delivery to the local address. Normally I would chalk it up to spammers spoofing our email addresses and getting bogus NDR, but this NDR has a copy of the original email that actually made it to it's intended destination. That's what is so strange about it. The failed recipient on the Office 365 NDR is just so random and the third hop on the NDR confuses me since the delivery should have stopped at the internal recipient. Here are the hops with my info redacted:
    HOP TIME (UTC) FROM TO WITH RELAY TIME
    1 6/8/2023 5:51:41 PM 0**-0**-1**-1**.biz.spectrum.com host.********.com esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <*****='lobara@utilityne.com'>@********.com>) 2 sec
    2 6/8/2023 5:51:41 PM host.********.com host.********.com LMTP *
    3 6/9/2023 12:39:28 AM [127.0.1.1] DB8EUR05FT028.mail.protection.outlook.com Microsoft SMTP Server 6 hr, 47 min, 47 sec
    4 6/9/2023 12:39:29 AM DB8EUR05FT028.eop-eur05.prod.protection.outlook.com DB8PR06CA0057.outlook.office365.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 1 sec
    5 6/9/2023 12:39:29 AM DB8PR06CA0057.eurprd06.prod.outlook.com GV2PR08MB9951.eurprd08.prod.outlook.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) *
    I am not sure on the 3rd hop if 127.0.1.1 is supposed to represent my mail server or Microsoft's, but there is no O365 mail listed anywhere in the exim_mainlog nor in the mail client on the sending or receiving end. I am at a loss!
    0
  • cPRex Jurassic Moderator
    I don't have a good server-side explanation for that. Could there have been something on the user's side (in a mail client like Outlook or Thunderbird maybe?) that would explain it?
    0
  • tmurdock
    At this point that's what I am leaning to as well, I had looked briefly but didn't see anything. I am not seeing anything on the server either so I will focus on the end machines. Thank you for the help!
    0
  • cPRex Jurassic Moderator
    That's my only other idea - if you're not seeing things in the server logs, I'd start and look to outside sources.
    0
  • mtindor
    Thanks for the reply! I did look in the forwarders, all forwarders are pointing to local addresses so I don't think that is it. I did look in filters and I only have two in place, both set to discard messages that match that filter. I did grep the message ID and it only shows the delivery to the local address. Normally I would chalk it up to spammers spoofing our email addresses and getting bogus NDR, but this NDR has a copy of the original email that actually made it to it's intended destination. That's what is so strange about it. The failed recipient on the Office 365 NDR is just so random and the third hop on the NDR confuses me since the delivery should have stopped at the internal recipient. Here are the hops with my info redacted:
    HOP TIME (UTC) FROM TO WITH RELAY TIME
    1 6/8/2023 5:51:41 PM 0**-0**-1**-1**.biz.spectrum.com host.********.com esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <*****='lobara@utilityne.com'>@********.com>) 2 sec
    2 6/8/2023 5:51:41 PM host.********.com host.********.com LMTP *
    3 6/9/2023 12:39:28 AM [127.0.1.1] DB8EUR05FT028.mail.protection.outlook.com Microsoft SMTP Server 6 hr, 47 min, 47 sec
    4 6/9/2023 12:39:29 AM DB8EUR05FT028.eop-eur05.prod.protection.outlook.com DB8PR06CA0057.outlook.office365.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) 1 sec
    5 6/9/2023 12:39:29 AM DB8PR06CA0057.eurprd06.prod.outlook.com GV2PR08MB9951.eurprd08.prod.outlook.com Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) *
    I am not sure on the 3rd hop if 127.0.1.1 is supposed to represent my mail server or Microsoft's, but there is no O365 mail listed anywhere in the exim_mainlog nor in the mail client on the sending or receiving end. I am at a loss!

    If you grep DB8EUR05FT028 /var/log/exim_mainlog does it reveal anything? If it does, look for the msgid of that SMTP transaction and grep it. It really does sound like you've got a forwarder or filter in place causing the message to be delivered locally and forwarded outbound.
    0
  • tmurdock
    If you grep DB8EUR05FT028 /var/log/exim_mainlog does it reveal anything? If it does, look for the msgid of that SMTP transaction and grep it. It really does sound like you've got a forwarder or filter in place causing the message to be delivered locally and forwarded outbound.

    Hi mtindor, I just tried that grep and it returned no results. From what I can tell there is nothing on the server that would have forwarded it, especially to the email address that rejected it as the address does not exist on the destination O365 server. The only thing I haven't been able to check is the user also uses the Outlook app on her phone and in the past I have seen that app rout messages through Microsoft servers even if they aren't being sent to a Microsoft account. I appreciate the suggestion!
    0
  • mtindor
    Hi mtindor, I just tried that grep and it returned no results. From what I can tell there is nothing on the server that would have forwarded it, especially to the email address that rejected it as the address does not exist on the destination O365 server. The only thing I haven't been able to check is the user also uses the Outlook app on her phone and in the past I have seen that app rout messages through Microsoft servers even if they aren't being sent to a Microsoft account. I appreciate the suggestion!

    It could be that by the time you checked exim_mainlog, it may have rotated. Try: zgrep DB8EUR05FT028 /var/log/exim_mainlog*
    0

Please sign in to leave a comment.