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