身為QA人員,有時候也要測試所謂的信件傳送功能,這一週就遇到一種情況是要查看收到的信之所以會delay是不是在背後有什麼原因?最簡單的做法就是看背後一層一層傳遞信件的mail relay server 時間戳記,若某一台server所紀錄收到訊息與前一台server收到的信息的時間相差太大,那就代表在這兩台Server之間發生了delay,底下是邏輯上送信的示意圖:
接著,想要知道信件傳遞經過那些mail server,就必需從email header去查看,以下分兩種,一種是OutLook的查看信件表頭方式,一種是Googlemail。
- Outlook
- 打開信件
- 點選Ribbon選單的FILE(檔案)
- 點取Properities(內容)
- 在Proprtities中便可以看到Internet headers(網路標頭),該內容就是我們要的網頁表頭。
- Google mail
是常見的web mail,那麼在web mail中又該如何查看信件標頭呢?答案很簡單,就是選取要查看的mail後,找出他的”原始內容”就可以了。
A. 選取gmail中要看的mail
- 點選mail內容右邊的功能選單鈕
- 點取”顯示原始郵件”
- 新開啟的頁面最下方將會顯示mail header
Mail Header的內容是可以自由複製的文字,我們可以把他copy出來存成文字檔再分析內容,其中由文件由下而上便可以看到信件的mail relay server的傳遞路徑與時間:
Delivered-To: terryliutrend@gmail.com
Received: by 10.83.16.19 with SMTP id 19csp572637yxq;
Fri, 18 Aug 2017 02:49:43 -0700 (PDT)
X-Received: by 10.84.228.215 with SMTP id y23mr8854871pli.358.1503049783031;
Fri, 18 Aug 2017 02:49:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1503049782; cv=none;
d=google.com; s=arc-20160816;
b=zelvGPhVXqK4caDHSc9Ow5F8ipwZTbow9mIYujTVEt5e5RIEJ8f7pXTRRni8ICnXuT
164t5dBfiR0xebSHirg1BqidSG9KJOS3kIsG99h3q0to1dHbj37Hf9DxIEUUA8kjojj1
mDuh4oa0XiwnqyZlly/U81gksQdNZ5DnZCg3GqQDRCVbP/GCqFfhwySIj9HvZWA70xNY
okgj0g4RJORf5p/O2rp9B6CTw7GyNZRqHgjm40VjaGE3WXofq7qNxyul+pt7WgMVJaV+
Zt2c1yaInicITzXLJfOyhP3Kp0Nq2uH/7yzV0vo12sTO7o+rm+Wdo7dxTqtTDfFDAlnj
X6Ww==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
h=content-transfer-encoding:subject:date:to:from:mime-version
:message-id:arc-authentication-results;
bh=C10ozwOVYrjEK01cCTnbbTPIKXzTvVfp/kzyxCnMPAY=;
b=yWG0+S9qgcF4lDJvVzvUeu9kDWF8++xOvRZdOFHCOZOvvYq2tMk5snZaOQ4bSzA1Vr
U/IayswR66dmb7IBWjYTH4QmT6igwUgd2ti2W/YR06sH/XZWEOHIsp0gUAor65O+u4yF
ZSKlBRbAhm4skVTSz5hFwxqxjDxFkzIVHBIJDP+nbaaCks1dc30PF4W5Hixu0zh02Peo
cW9FB0BSBBbJu3565uUYAn5UCRJfaei+2JpGb/abASY93sexYBHsi/b+xLLrHY8W6JvE
YfNJp1aI9zg00DJwPGoTVJNmR9sCPidYYKg2LJWWVm2dwUG95oY9EJVfQRtf7ok94kue
svHQ==
ARC-Authentication-Results: i=1; mx.google.com;
spf=pass (google.com: domain of no-reply@trendmicro.com designates 180.90.224.77 as permitted sender) smtp.mailfrom=no-reply@trendmicro.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=trendmicro.com
Return-Path: <no-reply@trendmicro.com>
Received: from XXXX-XXXX.sdi.examplemicro.com (XXXX-XXXX.sdi.examplemicro.com. [180.90.224.77])
by mx.google.com with ESMTP id a5si3283704pgd.758.2017.08.18.02.49.42
for <terryliutrend@gmail.com>;
Fri, 18 Aug 2017 02:49:42 -0700 (PDT)
Received-SPF: pass (google.com: domain of no-reply@trendmicro.com designates 180.90.224.77 as permitted sender) client-ip=180.90.224.77;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of no-reply@trendmicro.com designates 180.90.224.77 as permitted sender) smtp.mailfrom=no-reply@trendmicro.com;
dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=trendmicro.com
Message-Id: <5996b836.057f630a.ab430.5021SMTPIN_ADDED_MISSING@mx.google.com>
Received: from AWS-PLS-MAPI1S (unknown [10.154.67.96]) by XXXX-XXXX.sdi.examplemicro.com (Postfix) with ESMTP id 2981140046D for <terryliutrend@gmail.com>; Fri, 18 Aug 2017 09:49:42 +0000 (UTC)
MIME-Version: 1.0
From: Trend Micro <no-reply@trendmicro.com>
To: terryliutrend@gmail.com
Date: 18 Aug 2017 09:49:42 +0000
Subject: Email confirmation
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64
2017年8月19日星期六 5:35 PM
留言列表