Email without times...
 
Notifications
Clear all

Email without timestamp

9 Posts
5 Users
0 Reactions
950 Views
(@thepm)
Reputable Member
Joined: 17 years ago
Posts: 254
Topic starter  

I'm working on a case here where several email don't have any "Date" field in the header. Those emails all seem to be spam.

I would like to know how would one be able to send email without date field? I though the timestamp was applied automatically by the mail server.

Thanks.


   
Quote
(@twjolson)
Honorable Member
Joined: 17 years ago
Posts: 417
 

Can you post an example?


   
ReplyQuote
harryparsonage
(@harryparsonage)
Estimable Member
Joined: 20 years ago
Posts: 184
 

Do you mean a date in the standard header - To,From, Date, Subject

or do you mean the full internet header?

The former is not difficult as the date is not required to send an email.

If the latter then it would be interesting to see the full header.

H


   
ReplyQuote
MDCR
 MDCR
(@mdcr)
Reputable Member
Joined: 15 years ago
Posts: 376
 

I would like to know how would one be able to send email without date field? I though the timestamp was applied automatically by the mail server.

telnet smtp.adress.com 25
> ehlo 127.0.0.1
> rcpt to victim@adress.com
> from someone@somewhere.com
> data

Buy viagra!

.

Thats how.

SMTP does not force you to enter any SMTP headers except for FROM and RCPT TO, all others are optional. And you can put any information you want, smtp is not secure in any way.


   
ReplyQuote
harryparsonage
(@harryparsonage)
Estimable Member
Joined: 20 years ago
Posts: 184
 

telnet smtp.adress.com 25
> ehlo 127.0.0.1
> rcpt to victim@adress.com
> from someone@somewhere.com
> data

Buy viagra!

.

Thats how.

SMTP does not force you to enter any SMTP headers except for FROM and RCPT TO, all others are optional. And you can put any information you want, smtp is not secure in any way.

I'm far from an expert in this area but I don't think FROM is an SMTP command it is MAIL and the MAIL FROM is required before the RCPT TO

H


   
ReplyQuote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

H, that is just a telnet script, it is not the actual telnet session commands.

Back to the OP, is the e-mail you are examining received or sent? If it is received it has to have date info from the servers. If it is part of a sent script it could look like the clientless example given by MDCR.

From RFC822

Date fields

The value of a Date field is tokenizable. It is a timestamp, as defined below. For example
Date 23 Dec 1995 192543 -0000
It indicates the moment that the sender authorized delivery of the message, for example by pressing a Send button. This may be much later than the message's last modification time; it may be much earlier than the message's first trip through a transport protocol such as SMTP.
822 requires that every message include a Date field. This poses a problem for computers that don't know the time (in UTC, not just local time).


   
ReplyQuote
(@thepm)
Reputable Member
Joined: 17 years ago
Posts: 254
Topic starter  

It's received mail located in the INBOX folder.

I'll try and post screenshots tomorrow.


   
ReplyQuote
harryparsonage
(@harryparsonage)
Estimable Member
Joined: 20 years ago
Posts: 184
 

H, that is just a telnet script, it is not the actual telnet session commands.

Ah, OK thanks, I'm not familiar with "telnet script" (or any scripting as a matter of fact!). I have just used telnet at the command line a long time ago before there was webmail to deal with my email whilst away from home.

So if I wanted to try out some scripting that's a piece of working code that I could use to send an email then?

H


   
ReplyQuote
(@bithead)
Noble Member
Joined: 20 years ago
Posts: 1206
 

So if I wanted to try out some scripting that's a piece of working code that I could use to send an email then?

H

That is a piece of the script that is the message. Are you going to use PuTTY or something else?

For example if you have W2K3 or W2K8 and install the SMTP service there is a Pickup folder under \Inetpub\Mailroot, if you drop that "code" in a text file and put it in that folder it will send that mail.

With PuTTY you would utilize Plink from a command window.. Something along the lines of plink -telnet YourSMTP.com -P 25 -m yourlocalscript

If you like PowerShell there is a sample script HERE.


   
ReplyQuote
Share: