Solved

How SMTP server asisgns timestamps to e-mails being sent to an additional SMTP server

Posted on 2008-06-11
6
421 Views
Last Modified: 2013-12-18
Hey all,

First post here.

We are using an SMTP server to queue up e-mail blasts, we then blast them to an outside vendor's SMTP server who then sends them to the recipients. The weird thing we are seeing is the time stamps on the messages seem all out of whack. I want to know how SMTP service assigns timestamps to these e-mails. Our code should just be adding the time it is created as the "Sent" time, but by the time they get to the recipient - the time is off by anywhere from 30 minutes to an hour.

For example, I received an e-mail today and in Outlook it said, recieved @ 3:29AM, but in the header it says 4:06AM.

Any ideas?

Thanks! :)
0
Comment
Question by:SRGTAMPA
  • 3
  • 3
6 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 21768205
Is the outside vendor in the same timezone as you? Look in the headers of the email, the Received lines will show how the message started from your server, went to them and I'm sure they send it back to you. Each header will have a date and time on it, so you should be able to see the local times the message was actually sent. It's also possible the outside vendor just has the wrong time set on their mail server.
0
 
LVL 1

Author Comment

by:SRGTAMPA
ID: 21769433
jar3817:

they're not sending the mail back to us, we're simply using them as a white list to send out e-mail blasts to clients. i was thinking that they may be in a diff timezone and thats why the messages are being stamped weird. When I look at the header I do not see any times that are off; I've checked all of our system times, from every machine the messages would be going through. They are all correct.

I am starting to think it is the Ossmtp.dll we are using. It's an old third party VB controller that allows SMTP transfer.
0
 
LVL 26

Expert Comment

by:jar3817
ID: 21769529
Could be. If they're not sending any of the messages back to you, how are you able to see the headers?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 1

Author Comment

by:SRGTAMPA
ID: 21769813
jar3817:

i've noticed that any e-mails generated by that vb controller are an hour off; i can paste some headers for you. maybe you may know something i dont! :)

the code snippet is the header from the e-mail generated by the ossmtp dll, at the very end you'll see the timestamp that has -0500 rather than -0400 like it should have. i think this explains the difference in the time. any thoughts?

thanks once again for all your assistance.

Microsoft Mail Internet Headers Version 2.0

Received: from tx06.mailwise.com ([216.75.199.101]) by exchange.sterlingresearchgroup.com with Microsoft SMTPSVC(6.0.3790.3959);

	 Thu, 12 Jun 2008 03:06:16 -0400

Received: from v3e18.mailwise.com (v3e18.mailwise.com [216.75.199.116])

	by tx06.mailwise.com (Postfix) with ESMTP id 94B6D35C0A9

	for <IVRDistributionList@sterlingresearchgroup.com>; Thu, 12 Jun 2008 03:07:00 -0400 (EDT)

Received: by v3e18.mailwise.com (Postfix, from userid 1001)

	id 2C00E4F42FC; Thu, 12 Jun 2008 03:07:01 -0400 (EDT)

Received: from trk05.mailwise.com (trk05.mailwise.com [216.75.199.39])

	by v3e18.mailwise.com (Postfix) with ESMTP id D20F94F4306

	for <IVRDistributionList@sterlingresearchgroup.com>; Thu, 12 Jun 2008 03:07:00 -0400 (EDT)

Received: by trk05.mailwise.com (MailWise LLC - Intelligent Email Protection, from userid 1000)

	id 4FA6512784E; Thu, 12 Jun 2008 03:07:00 -0400 (EDT)

Received: from outboundserver.sterlingresearchgroup.com (outboundserver.sterlingresearchgroup.com [72.15.228.57])

	by trk05.mailwise.com (MailWise LLC - Intelligent Email Protection) with ESMTP id 5D33F127845

	for <IVRDistributionList@sterlingresearchgroup.com>; Thu, 12 Jun 2008 03:06:59 -0400 (EDT)

Received: from emailprod.srgcore.int ([192.69.69.19]) by outboundserver.sterlingresearchgroup.com with Microsoft SMTPSVC(6.0.3790.3959);

	 Thu, 12 Jun 2008 03:06:14 -0400

From: Data File Transfer Process <outbound@sterlingresearchgroup.com>

To: <IVRDistributionList@sterlingresearchgroup.com>

Subject: 2758: *** 6/12/2008

Date: 12 Jun 2008 03:06:14 -0500

MIME-Version: 1.0

X-Mailer: OstroSoft SMTP Component (5.0.4)

Content-Type: text/plain; charset="us-ascii"

Content-Transfer-Encoding: 7bit

Message-ID: <OUTBOUNDSERVERB526t0000e213@outboundserver.sterlingresearchgroup.com>

X-OriginalArrivalTime: 12 Jun 2008 07:06:14.0654 (UTC) FILETIME=[CD7A81E0:01C8CC5A]

X-MailWise-About: Scanned by MailWise Filter (http://www.mailwise.com)

X-MailWise-Version: 3.1.0

X-MailWise-Envelope-From: outbound@sterlingresearchgroup.com

X-MailWise-Envelope-To: IVRDistributionList@sterlingresearchgroup.com

X-MailWise-Original-Size: 1,094 bytes

X-MailWise-MsgID: 25212_1213254419.in

X-MailWise-Virus: NO Viruses were found in this e-mail

X-MailWise-Decision: PASSED

X-MailWise-Original-Size: 1,854 bytes

X-MailWise-MsgID: 23520_1213254420.in

X-Mailwise-Rule: G117784-112

Return-Path: outbound@sterlingresearchgroup.com

Open in new window

0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 21769829
Where did you get this dll file? Do you have the source? I'm wondering if it doesn't pay attention to daylight savings time.
0
 
LVL 1

Author Comment

by:SRGTAMPA
ID: 21769930
jar3817:

it's ancient, and the version we are using is ANCIENT as well.

http://www.ostrosoft.com/

i looked on the site and the readme and couldnt find any info about it not recognizing daylight savings time.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now