I sent a mail from my machine relayed through a public mail server to my gmail account using smtp on telnet.

now when i select show original on for that mail in my gmail account.

I see several headers just before the body of my mail.


Are these headers being added by gmail or my mail server. How do I find out.

Is this because of the process described in Section 3.8.1 of this rfc.

Update: Can you give an example of the scenario given in this section of the rfc. I am assuming that when my mail server sends a mail to a gmail account, the gmail server is a gateway as defined in the rfc as it is going into a different environment. Am i wrong?

  • Gmail servers are not the gateway (although I do not know how Google is handling this service, so this is pure speculation). If you send email to/from Gmail, then Gmail is the recipient/originating server. "Your" mail server is using a third party scanning/filtering service, that --among other things, I guess-- will add and/or rewrite the headers. That being said, I am really not getting what you are asking on your 'update.' – user1797 Mar 18 '10 at 13:41
  • i want to see a practical example of mails passing through gateways. How do i do that? – Rohit Banga Mar 18 '10 at 13:45
  • gateways are explained here rfc-editor.org/rfc/rfc2821.txt – Rohit Banga Mar 18 '10 at 13:46

Public mail server? What is that? Those headers come from Trend ScanMail. No relation to Gmail, or Google.

| improve this answer | |
  • sorry for the wrong terminology. – Rohit Banga Mar 18 '10 at 13:19
  • Not a problem, I just wasn't too sure about what you mean. – user1797 Mar 18 '10 at 13:23
  • see the update please – Rohit Banga Mar 18 '10 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.