Hotmail email sent from Google

Hi,

I have an email that is supposedly sent from a Hotmail account to a 365 account, but the sending server reports it was sent from Google. Aside from altering the sender’s email address from a Gmail to a Hotmail account, would there be any other possible explanation for this?

The number of hops (below) is also very unusual and not as detailed as expected.

It is theoretically possible for the end-user to configure their email client to send emails using a different provider’s SMTP server than where their email is hosted. However, last time I checked, when one uses Gmail’s SMTP servers, the server made a couple of changes to the message:

  1. The From header was replaced with the Gmail username that was used to authenticate with Gmail’s SMTP relay server.
  2. A new X-Google-Original-From header was added to reflect the original From metadata.

Perhaps a good starting point would be to research if this was in effect within the timeframe relevant to your email.

Hard to comment on the headers with such limited information—the ones you shared appear to have been parsed with some software. That said, I would expect there to be plenty of other data points (e.g., Message-ID, MIME boundaries, hidden timestamps, etc.) to corroborate. Also, since your hops reference a Gmail MTA, I would expect there to be DKIM signatures with gmail.com and/or 1e100.net signing domains.

Here is an example message from Gmail to M365 for comparison.

Sample Message
Received: from BN9PR18MB4377.namprd18.prod.outlook.com (2603:10b6:408:102::10)
 by BYAPR18MB2774.namprd18.prod.outlook.com with HTTPS; Fri, 17 Feb 2023
 17:55:29 +0000
Received: from DM6PR02CA0058.namprd02.prod.outlook.com (2603:10b6:5:177::35)
 by BN9PR18MB4377.namprd18.prod.outlook.com (2603:10b6:408:102::10) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.15; Fri, 17 Feb
 2023 17:55:27 +0000
Received: from DM3NAM02FT051.eop-nam02.prod.protection.outlook.com
 (2603:10b6:5:177:cafe::30) by DM6PR02CA0058.outlook.office365.com
 (2603:10b6:5:177::35) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.15 via Frontend
 Transport; Fri, 17 Feb 2023 17:55:27 +0000
Authentication-Results: spf=pass (sender IP is 209.85.128.173)
 smtp.mailfrom=gmail.com; dkim=pass (signature was verified)
 header.d=gmail.com;dmarc=pass action=none header.from=gmail.com;compauth=pass
 reason=100
Received-SPF: Pass (protection.outlook.com: domain of gmail.com designates
 209.85.128.173 as permitted sender) receiver=protection.outlook.com;
 client-ip=209.85.128.173; helo=mail-yw1-f173.google.com; pr=C
Received: from mail-yw1-f173.google.com (209.85.128.173) by
 DM3NAM02FT051.mail.protection.outlook.com (10.13.4.91) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.6111.17 via Frontend Transport; Fri, 17 Feb 2023 17:55:27 +0000
Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-535a11239faso36055227b3.13
        for <hello@metaspike.com>; Fri, 17 Feb 2023 09:55:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20210112;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=FZ18fGFyypr8cudmeQwkEnN3pKgKbkiIF7oskhKnSh0=;
        b=do3EkAWIP/LWRIX0KYzLeoxbYxPpwVYawpOt4VbUo9ELWPAHI0Gx3X2M9dTcGdr2yI
         TjeizXDlyr9V3VXUj4+OIzLZUCssLCbMt4SG1bbbIeVwJz+hDBue3fv4RBBXtT79NGDL
         ihedXQi/HAxEWBDRunBabrZ3x131Mm5KKRh2rB3W0luad8RKmLvjhvWB6oeFuBPZYm1J
         ScHX4brH2+b0EK+N/cd5Qott4/deB5pCqWnFGKExICmBck9OFkfo4+2xNFcswmi8x6xJ
         ue5MHmW2YAU64M8f3st2xm6gbbLvfR2BpZh1Hm6jDPE072pEVfGUrVcSbN32QvdXMFFV
         EjNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20210112;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=FZ18fGFyypr8cudmeQwkEnN3pKgKbkiIF7oskhKnSh0=;
        b=OX76GIb6zLLS4CGwduc1wybrsrjEPeCxh4t090V9saJI39+J1eTJMUXcPj8m0aeFmT
         +75s8S96sl2s03MBvgYFSJdIlkrPAd1X1PnOsxhcsH5abmF1Sg7+E5TmBa41o10xPdso
         m7U6ji/TCDGLIgxxaczeZNcFL/mMWF2K3Q03YxpH5WcWaIPCXAKSdaN2iOsSult8w2J2
         eA9zoNshmlDcYKwxEYLX150D/qOhjhxotUxg1g/+AeeKrgmbI3A5GwOXSwozNFidWZe9
         r1m/D6unbQ1EaTYAQlEDxHbPOj42sMf1PtBy5+Ht4BNeLTv4pKoGByWANiRT9+1le35F
         Dc6g==
X-Gm-Message-State: AO0yUKVzVzJ/Vo2AlqWrtdnxAM/n6ZVQ3EX35wgWvuXyKVJnHugN1gwP
	F6bBFiFrittc1BH+U/nT7Xzo1wJswTTAH9RTU1goFnYd
X-Google-Smtp-Source: AK7set+1KK0V0zInlb6OT7qv26I5gRSvRcjafSh1EPPVYamH5wUhVLyk675TA1CsE2b5tyT0PrVBerXNoKIFCttNsdo=
X-Received: by 2002:a81:ac5f:0:b0:535:8cb8:6ae9 with SMTP id
 z31-20020a81ac5f000000b005358cb86ae9mr320925ywj.4.1676656526779; Fri, 17 Feb
 2023 09:55:26 -0800 (PST)
From: LMISF Test <lmisf01@gmail.com>
Date: Fri, 17 Feb 2023 09:55:02 -0800
Message-ID: <CAMvYnDMhCgmYBWjRP+7LwM8vBa1FMRhrDWYOBohVfQJANaMeuQ@mail.gmail.com>
Subject: Test Message
To: hello@metaspike.com
Content-Type: multipart/alternative; boundary="000000000000b069a405f4e90420"
Return-Path: lmisf01@gmail.com
X-MS-Exchange-Organization-ExpirationStartTime: 17 Feb 2023 17:55:27.5659
 (UTC)
X-MS-Exchange-Organization-ExpirationStartTimeReason: OriginalSubmit
X-MS-Exchange-Organization-ExpirationInterval: 1:00:00:00.0000000
X-MS-Exchange-Organization-ExpirationIntervalReason: OriginalSubmit
X-MS-Exchange-Organization-Network-Message-Id:
 5da12e0c-1dd0-4cf2-6c8a-08db11102711
X-EOPAttributedMessage: 0
X-EOPTenantAttributedMessage: d103ed7b-e2f5-4931-8510-62614fb4f256:0
X-MS-Exchange-Organization-MessageDirectionality: Incoming
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: DM3NAM02FT051:EE_|BN9PR18MB4377:EE_
X-MS-Exchange-Organization-AuthSource:
 DM3NAM02FT051.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-Organization-AuthAs: Anonymous
X-MS-Office365-Filtering-Correlation-Id: 5da12e0c-1dd0-4cf2-6c8a-08db11102711
X-MS-Exchange-Organization-SCL: 1
X-Microsoft-Antispam: BCL:0;
X-Forefront-Antispam-Report:
 CIP:209.85.128.173;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail-yw1-f173.google.com;PTR:mail-yw1-f173.google.com;CAT:NONE;SFS:(13230025)(451199018)(86362001)(55446002)(3480700007)(7596003)(356005)(7636003)(7116003)(19618925003)(5660300002)(1096003)(8676002)(15650500001)(34206002)(26005)(336012)(73392003)(83380400001)(33964004)(76482006)(42186006)(6666004)(82202003)(564344004)(67856001);DIR:INB;
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2023 17:55:27.5190
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 5da12e0c-1dd0-4cf2-6c8a-08db11102711
X-MS-Exchange-CrossTenant-Id: d103ed7b-e2f5-4931-8510-62614fb4f256
X-MS-Exchange-CrossTenant-AuthSource:
 DM3NAM02FT051.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: Internet
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR18MB4377
X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.8715068
X-MS-Exchange-Processed-By-BccFoldering: 15.20.6111.013
X-Microsoft-Antispam-Mailbox-Delivery:
	ucf:0;jmr:0;au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OWQvbzhTRitJdkdONFd5NWJwNmxFbVdGVVZFd3BYVWxvSnRETFZzcm9OVS9B?=
 =?utf-8?B?N0l6R2RUV0M0Y2YvQ0NrN0o1WXZpY1JMdjdwRFhSenhjSU44SWE4UEFvTnJM?=
 =?utf-8?B?Mm51M0FyVXpDdlVzKzl5OWJWcU02S0NhZUJpbG1LY3ZlNFU1TjVZamRhTUEv?=
 =?utf-8?B?ckNneFFTQlRmUWhzNUwzN1BEZm1KMG1VclpXb1NPRmY1M3VJdTB3TTVHZmk0?=
 =?utf-8?B?dGJCdnJGL0ZuT2RBTnN0bDc4ZktITjFQY3ZsMmNRR0xad3VBenlDME5NZ1A2?=
 =?utf-8?B?V0ZSdzB5OXdlTFFJeHk2VmMxM0hZRWgyZjRlY2h2VkdHWmRxOWtwVWhQeE85?=
 =?utf-8?B?YkVMaGlPcWM2SW1JOWtnUzI2b29qa256KzU1MzIyZmFHTEl1YmhmdytwU3dM?=
 =?utf-8?B?ZjlUbE94QXJDSVhaSWRuNzhFeGl1dTVuV1lxRkRNWkJHQTZhVy8zcE1Wdmkw?=
 =?utf-8?Q?a5CEme5rJo1jaqSZGDw1EZg=3D?=
MIME-Version: 1.0

--000000000000b069a405f4e90420
Content-Type: text/plain; charset="UTF-8"

Message body

--000000000000b069a405f4e90420
Content-Type: text/html; charset="UTF-8"

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto">Message body</div>

--000000000000b069a405f4e90420--

Your first hop appears to be along the lines of the trace header on lines 25-26 of the above example—although it is referencing a different Gmail server.

If you would like to see an example message where the same Gmail MTA is referenced, take a look at this one (lines 58-59):

https://lore.kernel.org/linux-mm/CAHk-=wjzp65=-QE1dg8KfqG-tVHiT+yAfHXGx9sro=8yOceELg@mail.gmail.com/raw