O'Reilly logo

SpamAssassin by Alistair McDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Examining Headers

Email headers have a specific format. They take the form of a series of records. Each record starts on a new line, with a word followed by a colon. The word can be hyphenated, so Return-Path: in the following example indicates the start of an email header.

Email headers can span several lines. If a line starts with a space or a tab character, it is a continuation of the previous header.

The following example shows the headers concerned with overall delivery details—who any bounce messages should be sent to, who the email was destined for, and who it was finally delivered to.

Return-Path: <stockprofile@mymail-info.net>
X-Original-To: sales@domain.com
Delivered-To: sales@domain.com

The following lines show the MTAs that the email ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required