[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 " ">
|
---|
[227d8159] | 9 | <!ENTITY nail-md5sum "54f42db31911d734fcf37a89b72d4df7">
|
---|
| 10 | <!ENTITY nail-size "267 KB">
|
---|
| 11 | <!ENTITY nail-buildsize "3.2 MB">
|
---|
[aee33b88] | 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
|
---|
[227d8159] | 69 | authentication) and an
|
---|
[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 |
|
---|
[823b1a3] | 84 | <para>Now, as the <systemitem class='username'>root</systemitem> 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 &&
|
---|
[227d8159] | 88 | ln -v -sf nail /usr/bin/mailx &&
|
---|
| 89 | install -v -m755 -d /usr/share/doc/nail-&nail-version; &&
|
---|
| 90 | install -v -m644 README nail.1.html /usr/share/doc/nail-&nail-version;</userinput></screen>
|
---|
[e6f1fd6] | 91 |
|
---|
[24acf2f2] | 92 | </sect2>
|
---|
[e6f1fd6] | 93 |
|
---|
[24acf2f2] | 94 | <sect2 role="commands">
|
---|
[e3353b3] | 95 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 96 |
|
---|
[24acf2f2] | 97 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 98 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 99 |
|
---|
[f314186c] | 100 | <para><command>make PREFIX=/usr install UCBINSTALL=/usr/bin/install</command>:
|
---|
| 101 | This changes the default installation path of
|
---|
| 102 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 103 | <command>install</command> command path of
|
---|
[24acf2f2] | 104 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 105 |
|
---|
[24acf2f2] | 106 | </sect2>
|
---|
[e6f1fd6] | 107 |
|
---|
[24acf2f2] | 108 | <sect2 role="configuration">
|
---|
| 109 | <title>Configuring Nail</title>
|
---|
[e6f1fd6] | 110 |
|
---|
[24acf2f2] | 111 | <sect3 id="nail-config">
|
---|
[e3353b3] | 112 | <title>Config Files</title>
|
---|
[e6f1fd6] | 113 |
|
---|
[f314186c] | 114 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename> and
|
---|
[24acf2f2] | 115 | <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 116 |
|
---|
[24acf2f2] | 117 | <indexterm zone="nail nail-config">
|
---|
| 118 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 119 | </indexterm>
|
---|
[e6f1fd6] | 120 |
|
---|
[24acf2f2] | 121 | <indexterm zone="nail nail-config">
|
---|
| 122 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 123 | </indexterm>
|
---|
[e6f1fd6] | 124 |
|
---|
[24acf2f2] | 125 | <indexterm zone="nail nail-config">
|
---|
| 126 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 127 | </indexterm>
|
---|
[e6f1fd6] | 128 |
|
---|
[24acf2f2] | 129 | </sect3>
|
---|
[e6f1fd6] | 130 |
|
---|
[24acf2f2] | 131 | </sect2>
|
---|
[e6f1fd6] | 132 |
|
---|
[24acf2f2] | 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
[e6f1fd6] | 135 |
|
---|
[24acf2f2] | 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 140 |
|
---|
[24acf2f2] | 141 | <seglistitem>
|
---|
| 142 | <seg>mail, mailx and nail</seg>
|
---|
| 143 | <seg>None</seg>
|
---|
| 144 | <seg>None</seg>
|
---|
| 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
[e6f1fd6] | 147 |
|
---|
[24acf2f2] | 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 152 |
|
---|
[24acf2f2] | 153 | <varlistentry id="nail-prog">
|
---|
| 154 | <term><command>nail</command></term>
|
---|
| 155 | <listitem>
|
---|
[f314186c] | 156 | <para>is a command-line mail user agent compatible with the
|
---|
[24acf2f2] | 157 | <command>mail</command> command found on commercial Unix versions.</para>
|
---|
| 158 | <indexterm zone="nail nail-prog">
|
---|
| 159 | <primary sortas="b-nail">nail</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
[e6f1fd6] | 163 |
|
---|
[24acf2f2] | 164 | <varlistentry id="mail-nail">
|
---|
| 165 | <term><command>mail</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>is a symbolic link to <command>nail</command>.</para>
|
---|
| 168 | <indexterm zone="nail mail-nail">
|
---|
| 169 | <primary sortas="g-mail">mail</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
[e6f1fd6] | 173 |
|
---|
[24acf2f2] | 174 | <varlistentry id="mailx-nail">
|
---|
| 175 | <term><command>mailx</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>is a symbolic link to <command>nail</command>.</para>
|
---|
| 178 | <indexterm zone="nail mailx-nail">
|
---|
| 179 | <primary sortas="g-mailx">mailx</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 | </variablelist>
|
---|
[e6f1fd6] | 184 |
|
---|
[24acf2f2] | 185 | </sect2>
|
---|
[e6f1fd6] | 186 |
|
---|
[768bab5] | 187 | </sect1>
|
---|