206 lines
3.6 KiB
HTML
206 lines
3.6 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Introduction to sendmail</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux Network Administrators Guide"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Sendmail"
|
|
HREF="x-087-2-sendmail.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Sendmail"
|
|
HREF="x-087-2-sendmail.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Installing sendmail"
|
|
HREF="x14607.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Linux Network Administrators Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x-087-2-sendmail.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 18. Sendmail</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x14607.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN14586"
|
|
>18.1. Introduction to sendmail</A
|
|
></H1
|
|
><P
|
|
>It's been said that you aren't a <I
|
|
CLASS="EMPHASIS"
|
|
>real</I
|
|
> Unix system
|
|
administrator until you've edited a <TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> file.
|
|
It's also been said that you're crazy if you've attempted to do so twice.</P
|
|
><P
|
|
><B
|
|
CLASS="COMMAND"
|
|
>sendmail</B
|
|
> is an incredibly powerful mail
|
|
program. It's also incredibly difficult to learn and understand. Any
|
|
program whose definitive reference (<B
|
|
CLASS="COMMAND"
|
|
>sendmail</B
|
|
>, by
|
|
Bryan Costales and Eric Allman, published by O'Reilly) is 1,050 pages long scares most people
|
|
off. Information on the <B
|
|
CLASS="COMMAND"
|
|
>sendmail</B
|
|
> reference is
|
|
contained in the bibliography at the end of this book.</P
|
|
><P
|
|
> Fortunately, new versions of sendmail are different. You no longer need to
|
|
directly edit the cryptic <TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> file; the
|
|
new version provides a configuration utility that will create the
|
|
<TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> file for you based on much simpler macro
|
|
files. You do not need to understand the
|
|
complex syntax of the <TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> file; the macro files
|
|
don't require you to. Instead, you need only list items, such as the name of
|
|
features you wish to include in your configuration, and specify some of the
|
|
parameters that determine how that feature operates. A traditional
|
|
Unix utility called <B
|
|
CLASS="COMMAND"
|
|
>m4</B
|
|
> then takes your
|
|
macro configuration data and mixes it with the data it reads from template
|
|
files containing the actual <TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> syntax, to
|
|
produce your <TT
|
|
CLASS="FILENAME"
|
|
>sendmail.cf</TT
|
|
> file.</P
|
|
><P
|
|
>In this chapter we introduce <B
|
|
CLASS="COMMAND"
|
|
>sendmail</B
|
|
> and describe
|
|
how to install, configure and test it, using the Virtual Brewery as an
|
|
example. If the information presented here helps make the task of
|
|
configuring <B
|
|
CLASS="COMMAND"
|
|
>sendmail</B
|
|
> less daunting for you, we hope
|
|
you'll gain the confidence to tackle more complex configurations on
|
|
your own.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x-087-2-sendmail.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x14607.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Sendmail</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x-087-2-sendmail.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Installing sendmail</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |