What is mail header?

m
m
 
Line 20: Line 20:
 
You may ask: when I send mails I do not add any header. What is mail header? Where do they come from? How can I read headers to understand what is written there?
 
You may ask: when I send mails I do not add any header. What is mail header? Where do they come from? How can I read headers to understand what is written there?
  
Here's an example of a message header for an email sent from ''MrBrown@example.com'' to ''MrBlack@example.com''. We'll let you know how to read headers:
+
Here's an example of a message header for an email sent from ''MrBrown@myidealhost.com'' to ''MrBlack@myidealhost.com''. We'll let you know how to read headers:
  
  Delivered-To: MrBlack@example.com
+
  Delivered-To: MrBlack@myidealhost.com
 
  Received: by 10.36.81.3 with SMTP1 id e3cs239nzb;  
 
  Received: by 10.36.81.3 with SMTP1 id e3cs239nzb;  
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Return-Path:
 
  Return-Path:
  Received: from mail.example.com  
+
  Received: from mail.myidealhost.com  
  (mail.example.com [111.111.11.111])  
+
  (mail.myidealhost.com [111.111.11.111])  
  by mx.example.com with SMTP  
+
  by mx.myidealhost.com with SMTP  
 
  id h19si826631rnb.2005.03.29.15.11.46;  
 
  id h19si826631rnb.2005.03.29.15.11.46;  
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
  Message-ID: <20050329231145.62086.mail@mail.example.com>
+
  Message-ID: <20050329231145.62086.mail@mail.myidealhost.com>
  Received: from [11.11.111.111] by mail.example.com via HTTP;  
+
  Received: from [11.11.111.111] by mail.myidealhost.com via HTTP;  
  
 
  Tue, 29 Mar 2005 15:11:45 PST
 
  Tue, 29 Mar 2005 15:11:45 PST
Line 49: Line 49:
 
  To: Mr Black
 
  To: Mr Black
  
''Mr. Brown sends email through his email provider, mail.example.com''
+
''Mr. Brown sends email through his email provider, mail.myidealhost.com''
  
  Message-ID: <20050329231145.62086.mail@mail.example.com>
+
  Message-ID: <20050329231145.62086.mail@mail.myidealhost.com>
  Received: from [11.11.111.111] by mail.example.com via HTTP;  
+
  Received: from [11.11.111.111] by mail.myidealhost.com via HTTP;  
 
  Tue, 29 Mar 2005 15:11:45 PST
 
  Tue, 29 Mar 2005 15:11:45 PST
  
 
''When the message transfers from Mr. Brown's email provider to Mr. Black's example address''
 
''When the message transfers from Mr. Brown's email provider to Mr. Black's example address''
  
  Delivered-To: MrBlack@example.com
+
  Delivered-To: MrBlack@myidealhost.com
 
  Received: by 10.36.81.3 with SMTP id e3cs239nzb;
 
  Received: by 10.36.81.3 with SMTP id e3cs239nzb;
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
  Return-Path: MrBrown@example.com
+
  Return-Path: MrBrown@myidealhost.com
  Received: from mail.example.com (mail.example.com  
+
  Received: from mail.myidealhost.com (mail.myidealhost.com  
 
  ([111.111.11.111])  
 
  ([111.111.11.111])  
  by mx.example.com with SMTP id h19si826631rnb;  
+
  by mx.myidealhost.com with SMTP id h19si826631rnb;  
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
  
Line 69: Line 69:
 
Below is a description of each section of the email header:
 
Below is a description of each section of the email header:
  
  Delivered-To: MrBlack@example.com
+
  Delivered-To: MrBlack@myidealhost.com
  
 
''The email address the message will be delivered to.''
 
''The email address the message will be delivered to.''
Line 82: Line 82:
 
''The address from which the message was sent.''
 
''The address from which the message was sent.''
  
  Received: from mail.example.com
+
  Received: from mail.myidealhost.com
  (mail.example.com [111.111.11.111])
+
  (mail.myidealhost.com [111.111.11.111])
  by mx.example.com with SMTP  
+
  by mx.myidealhost.com with SMTP  
 
  id h19si826631rnb.2005.03.29.15.11.46;
 
  id h19si826631rnb.2005.03.29.15.11.46;
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
 
  Tue, 29 Mar 2005 15:11:47 -0800 (PST)
  
''The message was received from mail.example.com, by a example server on March 29, 2005 at approximately 3 pm.''
+
''The message was received from mail.myidealhost.com, by a example server on March 29, 2005 at approximately 3 pm.''
  
  Message-ID: 20050329231145.62086.mail@mail.example.com
+
  Message-ID: 20050329231145.62086.mail@mail.myidealhost.com
  
''A unique number assigned by mail.example.com to identify the message.''
+
''A unique number assigned by mail.myidealhost.com to identify the message.''
  
  Received: from [11.11.111.111] by mail.example.com via HTTP;
+
  Received: from [11.11.111.111] by mail.myidealhost.com via HTTP;
 
  Tue, 29 Mar 2005 15:11:45 PST
 
  Tue, 29 Mar 2005 15:11:45 PST
  
''Mr. Brown used an email composition program to write and send the mail message, and it was then received by the email servers of mail.example.com.''
+
''Mr. Brown used an email composition program to write and send the mail message, and it was then received by the email servers of mail.myidealhost.com.''
  
 
   Date: Tue, 29 Mar 2005 15:11:45 -0800 (PST)
 
   Date: Tue, 29 Mar 2005 15:11:45 -0800 (PST)

Latest revision as of 13:39, 26 October 2012

rss feed for my website