[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">
|
---|
[a1813d08] | 11 | <!ENTITY mailx-buildsize "3.6 MB">
|
---|
[058bfd80] | 12 | <!ENTITY mailx-time "less than 0.1 SBU">
|
---|
[bfe245f] | 13 | ]>
|
---|
| 14 |
|
---|
[a027d7d3] | 15 | <sect1 id="mailx" xreflabel="mailx-&mailx-version;">
|
---|
[058bfd80] | 16 | <?dbhtml filename="mailx.html"?>
|
---|
[e6f1fd6] | 17 |
|
---|
[24acf2f2] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[e6f1fd6] | 22 |
|
---|
[a027d7d3] | 23 | <title>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 |
|
---|
[b6b9708] | 41 | &lfs74_checked;
|
---|
[5f04edc] | 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 |
|
---|
[a1813d08] | 64 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Required patch: <ulink
|
---|
| 68 | url="&patch-root;/mailx-&mailx-version;-openssl_1.0.0_build_fix-1.patch"/>
|
---|
| 69 | (if you intend to link this package against
|
---|
| 70 | <application>openssl</application>)</para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[058bfd80] | 74 | <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
|
---|
[e6f1fd6] | 75 |
|
---|
[24acf2f2] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4a5bbd0] | 77 | <para role="optional"><xref linkend="openssl"/> or
|
---|
| 78 | <xref linkend="nss"/>,
|
---|
[7fdeb26] | 79 | <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
---|
[4a5bbd0] | 80 | authentication), and an
|
---|
[7f5c97e] | 81 | <xref linkend="server-mail"/></para>
|
---|
[e6f1fd6] | 82 |
|
---|
[061ec9d] | 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/mailx"/></para>
|
---|
| 85 |
|
---|
[24acf2f2] | 86 | </sect2>
|
---|
[e6f1fd6] | 87 |
|
---|
[24acf2f2] | 88 | <sect2 role="installation">
|
---|
[058bfd80] | 89 | <title>Installation of Heirloom mailx</title>
|
---|
[e6f1fd6] | 90 |
|
---|
[058bfd80] | 91 | <para>Install <application>Heirloom mailx</application> by running the
|
---|
| 92 | following commands.</para>
|
---|
[e6f1fd6] | 93 |
|
---|
[61a8dd8] | 94 | <screen><userinput>patch -Np1 -i ../mailx-&mailx-version;-openssl_1.0.0_build_fix-1.patch &&
|
---|
[a1813d08] | 95 | make SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
---|
[e6f1fd6] | 96 |
|
---|
[aee33b88] | 97 | <para>This package does not come with a test suite.</para>
|
---|
| 98 |
|
---|
[823b1a3] | 99 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
[e6f1fd6] | 100 |
|
---|
[058bfd80] | 101 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
| 102 | ln -v -sf mailx /usr/bin/mail &&
|
---|
| 103 | ln -v -sf mailx /usr/bin/nail &&
|
---|
| 104 | install -v -m755 -d /usr/share/doc/mailx-&mailx-version; &&
|
---|
| 105 | install -v -m644 README mailx.1.html /usr/share/doc/mailx-&mailx-version;</userinput></screen>
|
---|
[e6f1fd6] | 106 |
|
---|
[24acf2f2] | 107 | </sect2>
|
---|
[e6f1fd6] | 108 |
|
---|
[24acf2f2] | 109 | <sect2 role="commands">
|
---|
[e3353b3] | 110 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 111 |
|
---|
[24acf2f2] | 112 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 113 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 114 |
|
---|
[058bfd80] | 115 | <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
| 116 | install</command>: This changes the default installation path of
|
---|
[f314186c] | 117 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 118 | <command>install</command> command path of
|
---|
[24acf2f2] | 119 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 120 |
|
---|
[24acf2f2] | 121 | </sect2>
|
---|
[e6f1fd6] | 122 |
|
---|
[24acf2f2] | 123 | <sect2 role="configuration">
|
---|
[058bfd80] | 124 | <title>Configuring Heirloom mailx</title>
|
---|
[e6f1fd6] | 125 |
|
---|
[058bfd80] | 126 | <sect3 id="mailx-config">
|
---|
[e3353b3] | 127 | <title>Config Files</title>
|
---|
[e6f1fd6] | 128 |
|
---|
[058bfd80] | 129 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
| 130 | and <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 131 |
|
---|
[058bfd80] | 132 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 133 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 134 | </indexterm>
|
---|
[e6f1fd6] | 135 |
|
---|
[058bfd80] | 136 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 137 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 138 | </indexterm>
|
---|
[e6f1fd6] | 139 |
|
---|
[058bfd80] | 140 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 141 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 142 | </indexterm>
|
---|
[e6f1fd6] | 143 |
|
---|
[24acf2f2] | 144 | </sect3>
|
---|
[e6f1fd6] | 145 |
|
---|
[24acf2f2] | 146 | </sect2>
|
---|
[e6f1fd6] | 147 |
|
---|
[24acf2f2] | 148 | <sect2 role="content">
|
---|
| 149 | <title>Contents</title>
|
---|
[e6f1fd6] | 150 |
|
---|
[24acf2f2] | 151 | <segmentedlist>
|
---|
| 152 | <segtitle>Installed Programs</segtitle>
|
---|
| 153 | <segtitle>Installed Libraries</segtitle>
|
---|
| 154 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 155 |
|
---|
[24acf2f2] | 156 | <seglistitem>
|
---|
| 157 | <seg>mail, mailx and nail</seg>
|
---|
| 158 | <seg>None</seg>
|
---|
| 159 | <seg>None</seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
[e6f1fd6] | 162 |
|
---|
[24acf2f2] | 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 167 |
|
---|
[058bfd80] | 168 | <varlistentry id="mailx-prog">
|
---|
| 169 | <term><command>mailx</command></term>
|
---|
[24acf2f2] | 170 | <listitem>
|
---|
[f314186c] | 171 | <para>is a command-line mail user agent compatible with the
|
---|
[058bfd80] | 172 | <command>mailx</command> command found on commercial Unix
|
---|
| 173 | versions.</para>
|
---|
| 174 | <indexterm zone="mailx mailx-prog">
|
---|
| 175 | <primary sortas="b-mailx">mailx</primary>
|
---|
[24acf2f2] | 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
[e6f1fd6] | 179 |
|
---|
[058bfd80] | 180 | <varlistentry id="mail-mailx">
|
---|
[24acf2f2] | 181 | <term><command>mail</command></term>
|
---|
| 182 | <listitem>
|
---|
[058bfd80] | 183 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 184 | <indexterm zone="mailx mail-mailx">
|
---|
[b960e3ec] | 185 | <primary sortas="b-mail">mail</primary>
|
---|
[24acf2f2] | 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
[e6f1fd6] | 189 |
|
---|
[058bfd80] | 190 | <varlistentry id="nail-mailx">
|
---|
| 191 | <term><command>nail</command></term>
|
---|
[24acf2f2] | 192 | <listitem>
|
---|
[058bfd80] | 193 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 194 | <indexterm zone="mailx nail-mailx">
|
---|
[b960e3ec] | 195 | <primary sortas="b-nail">nail</primary>
|
---|
[24acf2f2] | 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 | </variablelist>
|
---|
[e6f1fd6] | 200 |
|
---|
[24acf2f2] | 201 | </sect2>
|
---|
[e6f1fd6] | 202 |
|
---|
[768bab5] | 203 | </sect1>
|
---|