Re: E-mail related question.
From: N. Miller (nsm_at_blackhole.aosake.net)
Date: 04/20/04
- Next message: N. Miller: "Re: Blocking e-mails with no sender"
- Previous message: Michael: "Re: Blocking e-mails with no sender"
- In reply to: Me: "E-mail related question."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 16:49:53 -0700
In article <148101c4266c$41fb7ae0$a301280a@phx.gbl>, mexxpers@yahoo.com
says...
> Every now and then I get e-mails that have no
> sendername,are about 500kb large and when I open them
> there's not a word in them.
> How is this possible and where do these e-mails come
> from,since there's no sendername not even an adress to see
> where they came from?
> Explanation would be appreciated!
In SMTP, there are only a few requirements to move a message. There has to
be a HELO from the sending client. This can be anything the sender wants it
to be. There has to be a MAIL FROM: <email address>. This can be anything
that the sender wants it to be; but this is not the same as the From: <email
address>. There has to be a RCPT TO: <email address>. This can be anything
the sender wants it to be; but you won't get the email unless it is your
email address. This is not the same as the To: <email address>.
Pretty much that is it. Date:, Subject:, To:, Cc:, From:, even the message
body itself, are all optional, and need not be present. You can even test
this by using Telnet to send a message from your computer to your ISP's MX,
if you know how to do it.
How to know where the message comes from? All messages delivered by SMTP
service will have headers which detail the routing. Here is an example of an
email sent by Telnet to my own local MTA:
> 004: Return-path: <somebody@wild.invalid>
> 002: Received: from forged.domain (64.161.30.125) by aosake.net (Mercury/32 v4.01a) ID MG00007E;
> 002: 20 Apr 2004 16:07:01 -0700
That is it. Of course, I had to add <somebody@wild.invalid> to an exception
list to avoid the "555 Message rejected: site policy requires all mail to
have a 'Subject' field." message my MTA normally responds to messages with
no "Subject". The sequence is correct, the sequence number match to the SMTP
commands, which are shown below. In accordance with my overly simple
description of the SMTP process, "HELO" = "forged.domain", and "MAIL FROM" =
"somebody@wild.invalid". The "RCPT TO" can be inferred from the receiving
account. Email is not delivered to accounts except when there is a valid
"RCPT TO" in the envelope. If you get an email to <anybody@example.com>,
then there was a "RCPT TO: <anybody@example.com>" in the received message.
Some ISPs, but not all, will include the envelope to address. Yahoo! records
this as "X-Apparently-To: <somebody@yahoo.invalid>".
As for the source, there is only one valid identifier of the source of the
message: the IP address. Both of the lines above were created by the local
MTA. The MTA recorded the IP address of the connecting computer, and the
local time; everything else is what the sender claimed. A little work with
Sam Spade will reveal the source; sort of. If you look it up, you will see
that it is one of the Pacbell PPPoX pools of customer IP addresses.
Presumably the Pacbell administrator could match the time in that message
with their logs of which customer was connected to the Internet when that
message was sent.
If you wanted to complain, a message to the abuse department of the ISP
responsible for the IP address would be in line. Include the full headers
with the complaint. If there is a virus, do not include the full message. I
usually include the MIME headers, and just the first three, or so, lines of
the base64 encoded viral code. Otherwise, just delete the message.
I should point out that if you are receiving email through your ISP's POP3
servers, there could be two, or more "Received:" lines. Email to my Juno
accounts has two such lines for internal hand offs, plus a third to detail
the remote connection. You need to look at a piece of good email to sort out
the routing lines your server adds locally.
-- Norman ~Win dain a lotica, En vai tu ri, Si lo ta ~Fin dein a loluca, En dragu a sei lain ~Vi fa-ru les shutai am, En riga-lint
- Next message: N. Miller: "Re: Blocking e-mails with no sender"
- Previous message: Michael: "Re: Blocking e-mails with no sender"
- In reply to: Me: "E-mail related question."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|