2004-06-12 14:27:56 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-12 14:27:56 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY nail-download-http "http://prdownloads.sourceforge.net/nail/nail-&nail-version;.tar.bz2">
|
|
|
|
<!ENTITY nail-download-ftp " ">
|
2005-08-20 02:07:41 +08:00
|
|
|
<!ENTITY nail-md5sum "54f42db31911d734fcf37a89b72d4df7">
|
|
|
|
<!ENTITY nail-size "267 KB">
|
|
|
|
<!ENTITY nail-buildsize "3.2 MB">
|
2005-07-18 22:29:31 +08:00
|
|
|
<!ENTITY nail-time "less than 0.1 SBU">
|
2004-06-12 14:27:56 +08:00
|
|
|
]>
|
|
|
|
|
2005-01-26 00:48:26 +08:00
|
|
|
<sect1 id="nail" xreflabel="Nail-&nail-version;">
|
2005-04-29 05:01:22 +08:00
|
|
|
<?dbhtml filename="nail.html"?>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2005-12-02 03:57:37 +08:00
|
|
|
<keywordset>
|
|
|
|
<keyword role="package">nail-&nail-version;.tar</keyword>
|
2005-12-09 04:28:39 +08:00
|
|
|
<keyword role="ftpdir">nail</keyword>
|
2005-12-02 03:57:37 +08:00
|
|
|
</keywordset>
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect1info>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<title>Nail-&nail-version;</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<indexterm zone="nail">
|
|
|
|
<primary sortas="a-Nail">Nail</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Nail</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-05-31 05:22:39 +08:00
|
|
|
<para>The <application>Nail</application> package contains
|
2005-07-18 22:29:31 +08:00
|
|
|
<command>nail</command>, a command-line Mail User Agent derived from
|
|
|
|
Berkeley Mail which is intended to provide the functionality of the POSIX
|
2005-05-31 05:22:39 +08:00
|
|
|
<command>mailx</command> command with additional support for MIME messages,
|
2005-07-18 22:29:31 +08:00
|
|
|
IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
|
|
|
|
scoring, and filtering. <application>Nail</application> is especially
|
|
|
|
useful for writing scripts and batch processing.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&nail-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&nail-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &nail-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem><para>Download size: &nail-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &nail-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &nail-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:10:13 +08:00
|
|
|
<bridgehead renderas="sect3">Nail Dependencies</bridgehead>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2006-02-28 05:02:33 +08:00
|
|
|
<para role="optional"><xref linkend="openssl"/> or
|
|
|
|
<xref linkend="nss"/>,
|
2005-04-29 05:01:22 +08:00
|
|
|
<xref linkend="heimdal"/> or <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
2006-02-28 05:02:33 +08:00
|
|
|
authentication), and an
|
2005-04-29 05:01:22 +08:00
|
|
|
<ulink url="../server/mail.html">MTA</ulink></para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Nail</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-05-31 05:22:39 +08:00
|
|
|
<para>Install <application>Nail</application> by running the following
|
2005-04-29 05:01:22 +08:00
|
|
|
commands.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<screen><userinput>make SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-07-18 22:29:31 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-07-27 04:39:59 +08:00
|
|
|
<para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<screen role='root'><userinput>make PREFIX=/usr install UCBINSTALL=/usr/bin/install &&
|
2005-05-01 17:37:53 +08:00
|
|
|
ln -v -sf nail /usr/bin/mail &&
|
2005-08-20 02:07:41 +08:00
|
|
|
ln -v -sf nail /usr/bin/mailx &&
|
|
|
|
install -v -m755 -d /usr/share/doc/nail-&nail-version; &&
|
|
|
|
install -v -m644 README nail.1.html /usr/share/doc/nail-&nail-version;</userinput></screen>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="commands">
|
2005-05-01 17:37:53 +08:00
|
|
|
<title>Command Explanations</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
|
|
|
default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-05-31 05:22:39 +08:00
|
|
|
<para><command>make PREFIX=/usr install UCBINSTALL=/usr/bin/install</command>:
|
|
|
|
This changes the default installation path of
|
|
|
|
<filename class='directory'>/usr/local</filename> and the default
|
|
|
|
<command>install</command> command path of
|
2005-04-29 05:01:22 +08:00
|
|
|
<filename class='directory'>/usr/ucb</filename>.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="configuration">
|
|
|
|
<title>Configuring Nail</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect3 id="nail-config">
|
2005-05-01 17:37:53 +08:00
|
|
|
<title>Config Files</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-05-31 05:22:39 +08:00
|
|
|
<para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename> and
|
2005-04-29 05:01:22 +08:00
|
|
|
<filename>~/.nailrc</filename></para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<indexterm zone="nail nail-config">
|
|
|
|
<primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<indexterm zone="nail nail-config">
|
|
|
|
<primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<indexterm zone="nail nail-config">
|
|
|
|
<primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect3>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>mail, mailx and nail</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<varlistentry id="nail-prog">
|
|
|
|
<term><command>nail</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:22:39 +08:00
|
|
|
<para>is a command-line mail user agent compatible with the
|
2005-04-29 05:01:22 +08:00
|
|
|
<command>mail</command> command found on commercial Unix versions.</para>
|
|
|
|
<indexterm zone="nail nail-prog">
|
|
|
|
<primary sortas="b-nail">nail</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<varlistentry id="mail-nail">
|
|
|
|
<term><command>mail</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a symbolic link to <command>nail</command>.</para>
|
|
|
|
<indexterm zone="nail mail-nail">
|
|
|
|
<primary sortas="g-mail">mail</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<varlistentry id="mailx-nail">
|
|
|
|
<term><command>mailx</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>is a symbolic link to <command>nail</command>.</para>
|
|
|
|
<indexterm zone="nail mailx-nail">
|
|
|
|
<primary sortas="g-mailx">mailx</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2003-09-21 08:26:59 +08:00
|
|
|
</sect1>
|