Skip to Content
Sendmail, 3rd Edition
book

Sendmail, 3rd Edition

by Bryan Costales
December 2002
Intermediate to advanced
1232 pages
56h 38m
English
O'Reilly Media, Inc.
Content preview from Sendmail, 3rd Edition

Overall Syntax

The sendmail.cf file is line-oriented, with one configuration command per line. Each configuration command consists of a single letter[1] that must begin a line. Each letter is followed by other information as required by the purpose of the particular command.

In addition to commands, the configuration file can also have lines that begin with a # to form a comment line, or with a tab or space character to form a continuation line. A list of all legal characters that can begin a line in the configuration file is shown in Table 17-1.

Table 17-1. sendmail.cf configuration commands

Command

§

Version

Description

#

Section 17.2

All

A comment line, ignored

space

Section 17.4

All

Continue the previous line

tab

Section 17.4

All

Continue the previous line

C

Section 22.1

All

Define a class macro

D

Section 21.3

All

Define a sendmail macro

E

Section 10.2.1

V8.7 and above

Environment for agents

F

Section 22.1

All

Define a class macro from a file or a pipe

H

Section 25.1

All

Define a header

K

Section 23.2

V8.1 and above

Create a keyed map entry

L

Obsolete

Extended load average

M

Section 20.1

All

Define a mail delivery agent

O

Section 24.3

All

Define an option

P

Section 25.10

All

Define delivery priorities

Q

Section 11.4.2

V8.12 and above

Declare queue groups

R

Section 18.2

All

Define a transformation rule

S

Section 19.1

All

Declare a rule-set start

T

Section 10.8.1.1

All

Declare trusted users (ignored V8.1-V8.6) ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

sendmail, 4th Edition

sendmail, 4th Edition

Bryan Costales, Claus Assmann, George Jansen, Gregory Neil Shapiro
Postfix

Postfix

Richard Blum

Publisher Resources

ISBN: 1565928393Errata Page