I have an IIS6 SMTP set up to relay e-mail for applications on my intranet that does not support TLS to a Google Apps e-mail account per this tutorial.
For the most part it is working great, but when I send an e-mail through the relay the following information is added to the bottom of the message:
From: firstname.lastname@example.org Return-Path: email@example.com Message-ID: <randomString@bpdsrvr2> X-OriginalArrivalTime: 30 May 2011 23:50:51.0503 (UTC) FILETIME=[683D3FF0:01CC1F24] Date: 30 May 2011 19:50:51 -0400
At what point is this information being added? Is it being done by IIS or Gmail? Is there any way I can get rid of this information?
This relay is intended for senting out text messages and having all of this extra information makes it unusable.
EDIT: I have determined that the problem originated from IIS. I tried using another SMTP relayer (instead of IIS) and the headers did not print in the message body. I still have no idea why IIS would be doing this.