This is my first post in my series on email authentication. In order to understand how to authenticate the sender of an email, we need to understand how email works.

I remember back in my 4th year of university when we learned how to send “fake” email. The basic idea behind this was that we could send email to whoever we wanted to and specify any return address we wanted, even a domain that didn’t exist. So, I sent a few fake messages to friends of mine. At the time, it never occurred to me that ethically-challenged people could seriously exploit this for nefarious purposes.

In this post and the next one, I am going to summarize the information found this page from stopspam.org (ie, most of this material was not originally written by me). That’s a very good web page that provides a coherent overview of email headers. If you’re like most internet users (including myself) and rarely bother clicking links, then read on.

To begin with, let’s try to understand how email gets from point A to point B. Email travels through connections called ports. To keep track of all the different connections, the ports are numbered. Port 25 is the one that is used to transmit and receive email. When a computer attempts to transmit email, it opens a connection to port 25 and attempts to transmit using the Simple Mail Transfer Protocol, or SMTP.

This whole transaction depends on five commands which constitute the core of SMTP: HELO, MAIL FROM, RCPT TO, DATA, and QUIT.

HELO identifies the sending machine. “HELO mail.tzink.com” should be read as “Hello, I’m mail.tzink.com”. However, the sender does not necessarily have to tell the truth; in fact, nothing prevents the sender from saying “Hello, I’m bonjour.hola.guten-tag” or “Hello, I’m woozle.wozzle.gov”, or even “Hello, i.am.not.configured.properly”. However, in most circumstances, the receiver has some tools with which to discover this and find out the sending machine’s real identity.

MAIL FROM is the command that initiates the mail processing. It means “I have mail to deliver from so-and-so”. The address that is specified becomes envelope From or envelope sender and it does not need to be the same as the sender’s own address! This apparent security hole is inevitable (after all, the receiving machine doesn’t know anything about who has what username on the sending machine), but in certain circumstances it turns out to be a useful feature.

RCPT TO is the flip-side to MAIL FROM; it specifies the intended recipient of the message. One piece of mail can be sent to multiple recipients by including multiple RCPT TO commands. The specified address becomes the envelope To, which is also referred to as the envelope recipient. It is this recipient that determines who the mail will be delivered to, regardless of what the To: line in the message says.

DATA starts the actual mail entry. Everything entered after a DATA command is considered to be part of the message and there are no restrictions on its form. Lines at the beginning of the message (before the first blank line) that start with a single word and a colon are considered to be headers by most mail programs. A line consisting only of a period terminates the message.

QUIT terminates the connection.

Below is an example mail conversation between the sending domain, tzink.net, and the recipient domain, tzink-is-awesome.com. The commands in bold are the transmitting machine while the ones in normal text are the recipient machine.

220 mailhost.tzink-is-awesome.com ESMTP Sendmail 8.8.5/1.4/8.7.2/1.13; Fri, Jun 15 2007 14:38:58 -0800 (PST)
HELO mail.tzink.net
250 mailhost.tzink-is-awesome.com Hello mail.tzink.net [292.13.130.22], pleased to meet you
MAIL FROM: me@tzink.net
250 me@tzink.net… Sender ok
RCPT TO: me@tzink-is-awesome.com
250 me@tzink-is-awesome.com… Recipient ok
DATA
354 Enter mail, end with “.” on a line by itself
Received: from svengali.tzink.net (svengali.tzink.net [264.81.13.12]) by mail.tzink.net (8.8.5) id 004A21; Fri, Jun 18 2007 14:36:17 -0800 (PST)
From: Terry Zink <my.alias@tzink.net>
To: me@tzink-is-awesome.com
Date: Fri, Jun 15 2007 14:36:14 PST
Message-Id: <elmsley-flushtration-484@mail.tzink.net>
Subject: How’s it going?

So this is pretty cool, I’m sending an email message.

– tzink
.
250 FAA214578 Message accepted for delivery
QUIT
221 mailhost.tzink-is-awesome.com closing connection

Note the five important commands, HELO, MAIL FROM, RCPT TO, DATA, and QUIT. That’s the basics of what it takes to send an email.


Read More… (From Terry Zink’s Anti-spam Blog)

Microsoft Research has released source code for software tools to advance AIDS vaccine research, with the company’s spam filter playing a role in the effort. via Infoworld
Read More… (From Email Spam News)

Internet mail is one of the main sources that perpetrators of Identity Theft are using to gain access to your personal information. via Blogger Party
Read More… (From Email Spam News)

So, you’ve decided to fine-tune your PC by using a performance optimizer.But there are hundreds of products available on the market and to find a solution that fits your need can be daunting.In this week’s article, I will explain what performance optimizers are and how they work while suggesting what you should look for when […]
Read More… (From Technology News for your Daily Use)

What can you do to avoid computer slow down? - Part OneLast week I promised you an article about avoiding computer slowdowns.The topic is so close to the hearts of most computer owners that I want to write about it over two articles instead of one!In this first part I will give you an overview […]
Read More… (From Technology News for your Daily Use)

On May 24 the SoftInform company announced the release of the new version of its information search system SearchInform 1.0.20. SearchInform is a modern and unique instrument of searching and processing information contained in text files of any formats, databases and information systems. Search solution by SoftInform is developed on the basis of a patented […]
Read More… (From Technology News for your Daily Use)

15  Jun
Offshore testing

ON EACH OF HIS FREQUENT TRIPS TO INDIA, American entrepreneur Leon Steinberg sets aside time to have a pair ofshoes made. He insists the workmanship can’t be matched in the United States, nor can the price. “These arethe most comfortable shoes I’ve ever worn,” he said of a pair of leather loafers he had on […]
Read More… (From Technology News for your Daily Use)

15  Jun
The Hidden Tiger:

What can you do to avoid computer slow down? - Part TwoEven the most experienced computer users find it extremely difficult to control all resource and system settings of their computer.How do they do it? The answer is simpler than one might think and anyone can bring out the tiger that is hidden in your […]
Read More… (From Technology News for your Daily Use)

In the old days, everything used to be scarce. Options were limited to whatever comes our way. But these days, as we live in a time of abundant supply–with all the upsizing, freebies and mass discounts–consumers keep on looking for reviews and experts’ opinions to determine which product is better suited to serve their needs.However […]
Read More… (From Technology News for your Daily Use)

The processing power stored in the CPU of a PC is extremely important when running games, movie players, compression products and graphics software.However, when analysing overall system performance, CPU speed comes second to having sufficient physical memory (RAM) to run these complex applications.While many of today’s computers have enough RAM to store a small library, […]
Read More… (From Technology News for your Daily Use)

Segmentation as a word, means to classify the objects that are exists in an image, it has many theories and methodologies, assume that we would like to recognize objects in an image, there are too many pixels to handle each individually, instead, we should like some form of compact, summary representation.Although, superficially these different methods […]
Read More… (From Technology News for your Daily Use)

When it comes to reporting Internet scams most of us either don’t have a clue who to contact or just ignore them in our email. But according to an FBI report in December 2004, nearly ten million people last year didn’t ignore them and fell for the latest Internet scams. The money those victims lost […]
Read More… (From Technology News for your Daily Use)

I was reminded of my own mortality today. I guess you can say I had a near death experience, though the death I experienced was not my own.No, I was never in any danger, nor was my life ever threatened. In fact, I was sitting in the air conditioned comfort of my home office sipping […]
Read More… (From Technology News for your Daily Use)

Microsoft Business Solutions Great Plains, former Great Plains Software eEnterprise, Dynamics and Dynamics C/S+ is very popular ERP and since 1994 has been successfully implemented for mid-size and mid-size to large companies in the USA, Canada, UK, Australia, New Zealand, South Africa and Middle East. During the economic recession time 2001-2004 the majority of businesses […]
Read More… (From Technology News for your Daily Use)

There are a couple of key things to look at when starting a hosting company. Basically there are four major factors to look at provided you have the servers, and technical abilities.1. Site design is the first thing a prospective customer sees!! I have seen some horrible designs for hosting companies. If you think putting […]
Read More… (From Technology News for your Daily Use)

Now we have accepted that VoIP is no longer just a phone service, it has become feature rich as it merges with computer configurations. The VoIP’s existence has changed considerably over the last few years, coupled with the availability of broadband connection to the Internet, plus leaps in multimedia technology in which virtual operations with […]
Read More… (From Technology News for your Daily Use)

Remember nice and prosperous Clinton era? When you implemented innovative those old days accounting application - Great Plains Dynamics. And did a lot of customizations to fit your business requirements precisely. You still remember the names of consultants and programmers who did the job and probably the name of the company - Great Plains reseller […]
Read More… (From Technology News for your Daily Use)

« Previous Entries