[bfe245f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[bfe245f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY nail-download-http "http://prdownloads.sourceforge.net/nail/nail-&nail-version;.tar.bz2">
|
---|
| 8 | <!ENTITY nail-download-ftp " ">
|
---|
[aee33b88] | 9 | <!ENTITY nail-md5sum "e127cdbba1220a45f6f1f463ac4b4fd1">
|
---|
| 10 | <!ENTITY nail-size "266 KB">
|
---|
| 11 | <!ENTITY nail-buildsize "3.0 MB">
|
---|
| 12 | <!ENTITY nail-time "less than 0.1 SBU">
|
---|
[bfe245f] | 13 | ]>
|
---|
| 14 |
|
---|
[5db3785e] | 15 | <sect1 id="nail" xreflabel="Nail-&nail-version;">
|
---|
[24acf2f2] | 16 | <?dbhtml filename="nail.html"?>
|
---|
[e6f1fd6] | 17 |
|
---|
[24acf2f2] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[e6f1fd6] | 22 |
|
---|
[24acf2f2] | 23 | <title>Nail-&nail-version;</title>
|
---|
[e6f1fd6] | 24 |
|
---|
[24acf2f2] | 25 | <indexterm zone="nail">
|
---|
| 26 | <primary sortas="a-Nail">Nail</primary>
|
---|
| 27 | </indexterm>
|
---|
[e6f1fd6] | 28 |
|
---|
[24acf2f2] | 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Nail</title>
|
---|
[e6f1fd6] | 31 |
|
---|
[f314186c] | 32 | <para>The <application>Nail</application> package contains
|
---|
[aee33b88] | 33 | <command>nail</command>, a command-line Mail User Agent derived from
|
---|
| 34 | Berkeley Mail which is intended to provide the functionality of the POSIX
|
---|
[f314186c] | 35 | <command>mailx</command> command with additional support for MIME messages,
|
---|
[aee33b88] | 36 | IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
|
---|
| 37 | scoring, and filtering. <application>Nail</application> is especially
|
---|
| 38 | useful for writing scripts and batch processing.</para>
|
---|
[e6f1fd6] | 39 |
|
---|
[24acf2f2] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing='compact'>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&nail-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&nail-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &nail-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem><para>Download size: &nail-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &nail-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &nail-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[e6f1fd6] | 60 |
|
---|
[e85f28af] | 61 | <bridgehead renderas="sect3">Nail Dependencies</bridgehead>
|
---|
[e6f1fd6] | 62 |
|
---|
[24acf2f2] | 63 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[f314186c] | 64 | <para><xref linkend="openssl"/> or Mozilla NSS (from
|
---|
| 65 | <xref linkend="mozilla"/> or
|
---|
| 66 | <xref linkend="firefox"/> or
|
---|
| 67 | <xref linkend="thunderbird"/>),
|
---|
[24acf2f2] | 68 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
---|
[f314186c] | 69 | authentication) and
|
---|
[24acf2f2] | 70 | <ulink url="../server/mail.html">MTA</ulink></para>
|
---|
[e6f1fd6] | 71 |
|
---|
[24acf2f2] | 72 | </sect2>
|
---|
[e6f1fd6] | 73 |
|
---|
[24acf2f2] | 74 | <sect2 role="installation">
|
---|
| 75 | <title>Installation of Nail</title>
|
---|
[e6f1fd6] | 76 |
|
---|
[f314186c] | 77 | <para>Install <application>Nail</application> by running the following
|
---|
[24acf2f2] | 78 | commands.</para>
|
---|
[e6f1fd6] | 79 |
|
---|
[24acf2f2] | 80 | <screen><userinput>make SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
---|
[e6f1fd6] | 81 |
|
---|
[aee33b88] | 82 | <para>This package does not come with a test suite.</para>
|
---|
| 83 |
|
---|
[24acf2f2] | 84 | <para>Now, as the root user:</para>
|
---|
[e6f1fd6] | 85 |
|
---|
[24acf2f2] | 86 | <screen role='root'><userinput>make PREFIX=/usr install UCBINSTALL=/usr/bin/install &&
|
---|
[e3353b3] | 87 | ln -v -sf nail /usr/bin/mail &&
|
---|
| 88 | ln -v -sf nail /usr/bin/mailx</userinput></screen>
|
---|
[e6f1fd6] | 89 |
|
---|
[24acf2f2] | 90 | </sect2>
|
---|
[e6f1fd6] | 91 |
|
---|
[24acf2f2] | 92 | <sect2 role="commands">
|
---|
[e3353b3] | 93 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 94 |
|
---|
[24acf2f2] | 95 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 96 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 97 |
|
---|
[f314186c] | 98 | <para><command>make PREFIX=/usr install UCBINSTALL=/usr/bin/install</command>:
|
---|
| 99 | This changes the default installation path of
|
---|
| 100 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 101 | <command>install</command> command path of
|
---|
[24acf2f2] | 102 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 103 |
|
---|
[24acf2f2] | 104 | </sect2>
|
---|
[e6f1fd6] | 105 |
|
---|
[24acf2f2] | 106 | <sect2 role="configuration">
|
---|
| 107 | <title>Configuring Nail</title>
|
---|
[e6f1fd6] | 108 |
|
---|
[24acf2f2] | 109 | <sect3 id="nail-config">
|
---|
[e3353b3] | 110 | <title>Config Files</title>
|
---|
[e6f1fd6] | 111 |
|
---|
[f314186c] | 112 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename> and
|
---|
[24acf2f2] | 113 | <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 114 |
|
---|
[24acf2f2] | 115 | <indexterm zone="nail nail-config">
|
---|
| 116 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 117 | </indexterm>
|
---|
[e6f1fd6] | 118 |
|
---|
[24acf2f2] | 119 | <indexterm zone="nail nail-config">
|
---|
| 120 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 121 | </indexterm>
|
---|
[e6f1fd6] | 122 |
|
---|
[24acf2f2] | 123 | <indexterm zone="nail nail-config">
|
---|
| 124 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 125 | </indexterm>
|
---|
[e6f1fd6] | 126 |
|
---|
[24acf2f2] | 127 | </sect3>
|
---|
[e6f1fd6] | 128 |
|
---|
[24acf2f2] | 129 | </sect2>
|
---|
[e6f1fd6] | 130 |
|
---|
[24acf2f2] | 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
[e6f1fd6] | 133 |
|
---|
[24acf2f2] | 134 | <segmentedlist>
|
---|
| 135 | <segtitle>Installed Programs</segtitle>
|
---|
| 136 | <segtitle>Installed Libraries</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 138 |
|
---|
[24acf2f2] | 139 | <seglistitem>
|
---|
| 140 | <seg>mail, mailx and nail</seg>
|
---|
| 141 | <seg>None</seg>
|
---|
| 142 | <seg>None</seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
[e6f1fd6] | 145 |
|
---|
[24acf2f2] | 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 150 |
|
---|
[24acf2f2] | 151 | <varlistentry id="nail-prog">
|
---|
| 152 | <term><command>nail</command></term>
|
---|
| 153 | <listitem>
|
---|
[f314186c] | 154 | <para>is a command-line mail user agent compatible with the
|
---|
[24acf2f2] | 155 | <command>mail</command> command found on commercial Unix versions.</para>
|
---|
| 156 | <indexterm zone="nail nail-prog">
|
---|
| 157 | <primary sortas="b-nail">nail</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
[e6f1fd6] | 161 |
|
---|
[24acf2f2] | 162 | <varlistentry id="mail-nail">
|
---|
| 163 | <term><command>mail</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>is a symbolic link to <command>nail</command>.</para>
|
---|
| 166 | <indexterm zone="nail mail-nail">
|
---|
| 167 | <primary sortas="g-mail">mail</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
[e6f1fd6] | 171 |
|
---|
[24acf2f2] | 172 | <varlistentry id="mailx-nail">
|
---|
| 173 | <term><command>mailx</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>is a symbolic link to <command>nail</command>.</para>
|
---|
| 176 | <indexterm zone="nail mailx-nail">
|
---|
| 177 | <primary sortas="g-mailx">mailx</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 | </variablelist>
|
---|
[e6f1fd6] | 182 |
|
---|
[24acf2f2] | 183 | </sect2>
|
---|
[e6f1fd6] | 184 |
|
---|
[768bab5] | 185 | </sect1>
|
---|