[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 |
|
---|
[13bc31d] | 7 | <!-- upstream is apparently still using CVS at sourceforge,
|
---|
| 8 | but not making tarballs. fedora have a script using CVS, but
|
---|
| 9 | debian keep a tarball -->
|
---|
| 10 | <!ENTITY mailx-download-http "http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_&mailx-version;.orig.tar.gz">
|
---|
| 11 | <!ENTITY mailx-download-ftp "ftp://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_&mailx-version;.orig.tar.gz">
|
---|
| 12 | <!ENTITY mailx-md5sum "29a6033ef1412824d02eb9d9213cb1f2">
|
---|
| 13 | <!ENTITY mailx-size "317 KB">
|
---|
| 14 | <!ENTITY mailx-buildsize "3.2 MB">
|
---|
[058bfd80] | 15 | <!ENTITY mailx-time "less than 0.1 SBU">
|
---|
[bfe245f] | 16 | ]>
|
---|
| 17 |
|
---|
[a027d7d3] | 18 | <sect1 id="mailx" xreflabel="mailx-&mailx-version;">
|
---|
[058bfd80] | 19 | <?dbhtml filename="mailx.html"?>
|
---|
[e6f1fd6] | 20 |
|
---|
[24acf2f2] | 21 | <sect1info>
|
---|
| 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
| 24 | </sect1info>
|
---|
[e6f1fd6] | 25 |
|
---|
[a027d7d3] | 26 | <title>mailx-&mailx-version;</title>
|
---|
[e6f1fd6] | 27 |
|
---|
[058bfd80] | 28 | <indexterm zone="mailx">
|
---|
| 29 | <primary sortas="a-Heirloom-mailx">Heirloom mailx</primary>
|
---|
[24acf2f2] | 30 | </indexterm>
|
---|
[e6f1fd6] | 31 |
|
---|
[24acf2f2] | 32 | <sect2 role="package">
|
---|
[058bfd80] | 33 | <title>Introduction to Heirloom mailx</title>
|
---|
[e6f1fd6] | 34 |
|
---|
[058bfd80] | 35 | <para>The <application>Heirloom mailx</application> package (formerly
|
---|
| 36 | known as the <application>Nail</application> package) contains
|
---|
| 37 | <command>mailx</command>, a command-line Mail User Agent derived from
|
---|
[8c9e2f6e] | 38 | Berkeley Mail. It is intended to provide the functionality of the POSIX
|
---|
[f314186c] | 39 | <command>mailx</command> command with additional support for MIME messages,
|
---|
[aee33b88] | 40 | IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
|
---|
[058bfd80] | 41 | scoring, and filtering. <application>Heirloom mailx</application> is
|
---|
| 42 | especially useful for writing scripts and batch processing.</para>
|
---|
[e6f1fd6] | 43 |
|
---|
[7ec42f5] | 44 | &lfs78_checked;
|
---|
[5f04edc] | 45 |
|
---|
[24acf2f2] | 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing='compact'>
|
---|
| 48 | <listitem>
|
---|
[058bfd80] | 49 | <para>Download (HTTP): <ulink url="&mailx-download-http;"/></para>
|
---|
[24acf2f2] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[058bfd80] | 52 | <para>Download (FTP): <ulink url="&mailx-download-ftp;"/></para>
|
---|
[24acf2f2] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[058bfd80] | 55 | <para>Download MD5 sum: &mailx-md5sum;</para>
|
---|
[24acf2f2] | 56 | </listitem>
|
---|
[058bfd80] | 57 | <listitem><para>Download size: &mailx-size;</para>
|
---|
[24acf2f2] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[058bfd80] | 60 | <para>Estimated disk space required: &mailx-buildsize;</para>
|
---|
[24acf2f2] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[058bfd80] | 63 | <para>Estimated build time: &mailx-time;</para>
|
---|
[24acf2f2] | 64 | </listitem>
|
---|
| 65 | </itemizedlist>
|
---|
[e6f1fd6] | 66 |
|
---|
[a1813d08] | 67 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 68 | <itemizedlist spacing='compact'>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Required patch: <ulink
|
---|
[128db10c] | 71 | url="&patch-root;/heirloom-mailx-&mailx-version;-fixes-1.patch"/>
|
---|
[13bc31d] | 72 | </para>
|
---|
[a1813d08] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[058bfd80] | 76 | <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
|
---|
[e6f1fd6] | 77 |
|
---|
[24acf2f2] | 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4a5bbd0] | 79 | <para role="optional"><xref linkend="openssl"/> or
|
---|
| 80 | <xref linkend="nss"/>,
|
---|
[7fdeb26] | 81 | <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
---|
[4a5bbd0] | 82 | authentication), and an
|
---|
[7f5c97e] | 83 | <xref linkend="server-mail"/></para>
|
---|
[e6f1fd6] | 84 |
|
---|
[061ec9d] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/mailx"/></para>
|
---|
| 87 |
|
---|
[24acf2f2] | 88 | </sect2>
|
---|
[e6f1fd6] | 89 |
|
---|
[24acf2f2] | 90 | <sect2 role="installation">
|
---|
[058bfd80] | 91 | <title>Installation of Heirloom mailx</title>
|
---|
[e6f1fd6] | 92 |
|
---|
[13bc31d] | 93 | <!-- see r12697 for explanation, and still used by fedora even though it often
|
---|
| 94 | does work with a parallel make -->
|
---|
[2e4388d] | 95 | <note>
|
---|
| 96 | <para>
|
---|
| 97 | This package does not support parallel build.
|
---|
| 98 | </para>
|
---|
| 99 | </note>
|
---|
| 100 |
|
---|
[058bfd80] | 101 | <para>Install <application>Heirloom mailx</application> by running the
|
---|
| 102 | following commands.</para>
|
---|
[e6f1fd6] | 103 |
|
---|
[13bc31d] | 104 | <screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &&
|
---|
[014d750f] | 105 | make SENDMAIL=/usr/sbin/sendmail -j1</userinput></screen>
|
---|
[e6f1fd6] | 106 |
|
---|
[aee33b88] | 107 | <para>This package does not come with a test suite.</para>
|
---|
| 108 |
|
---|
[823b1a3] | 109 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
[e6f1fd6] | 110 |
|
---|
[058bfd80] | 111 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
| 112 | ln -v -sf mailx /usr/bin/mail &&
|
---|
| 113 | ln -v -sf mailx /usr/bin/nail &&
|
---|
[13bc31d] | 114 | install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &&
|
---|
| 115 | install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
|
---|
[e6f1fd6] | 116 |
|
---|
[24acf2f2] | 117 | </sect2>
|
---|
[e6f1fd6] | 118 |
|
---|
[24acf2f2] | 119 | <sect2 role="commands">
|
---|
[e3353b3] | 120 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 121 |
|
---|
[24acf2f2] | 122 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 123 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 124 |
|
---|
[058bfd80] | 125 | <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
| 126 | install</command>: This changes the default installation path of
|
---|
[f314186c] | 127 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 128 | <command>install</command> command path of
|
---|
[24acf2f2] | 129 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 130 |
|
---|
[24acf2f2] | 131 | </sect2>
|
---|
[e6f1fd6] | 132 |
|
---|
[24acf2f2] | 133 | <sect2 role="configuration">
|
---|
[058bfd80] | 134 | <title>Configuring Heirloom mailx</title>
|
---|
[e6f1fd6] | 135 |
|
---|
[058bfd80] | 136 | <sect3 id="mailx-config">
|
---|
[e3353b3] | 137 | <title>Config Files</title>
|
---|
[e6f1fd6] | 138 |
|
---|
[058bfd80] | 139 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
| 140 | and <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 141 |
|
---|
[058bfd80] | 142 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 143 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 144 | </indexterm>
|
---|
[e6f1fd6] | 145 |
|
---|
[058bfd80] | 146 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 147 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 148 | </indexterm>
|
---|
[e6f1fd6] | 149 |
|
---|
[058bfd80] | 150 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 151 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 152 | </indexterm>
|
---|
[e6f1fd6] | 153 |
|
---|
[24acf2f2] | 154 | </sect3>
|
---|
[e6f1fd6] | 155 |
|
---|
[24acf2f2] | 156 | </sect2>
|
---|
[e6f1fd6] | 157 |
|
---|
[24acf2f2] | 158 | <sect2 role="content">
|
---|
| 159 | <title>Contents</title>
|
---|
[e6f1fd6] | 160 |
|
---|
[24acf2f2] | 161 | <segmentedlist>
|
---|
| 162 | <segtitle>Installed Programs</segtitle>
|
---|
| 163 | <segtitle>Installed Libraries</segtitle>
|
---|
| 164 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 165 |
|
---|
[24acf2f2] | 166 | <seglistitem>
|
---|
| 167 | <seg>mail, mailx and nail</seg>
|
---|
| 168 | <seg>None</seg>
|
---|
| 169 | <seg>None</seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
[e6f1fd6] | 172 |
|
---|
[24acf2f2] | 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 177 |
|
---|
[058bfd80] | 178 | <varlistentry id="mailx-prog">
|
---|
| 179 | <term><command>mailx</command></term>
|
---|
[24acf2f2] | 180 | <listitem>
|
---|
[f314186c] | 181 | <para>is a command-line mail user agent compatible with the
|
---|
[058bfd80] | 182 | <command>mailx</command> command found on commercial Unix
|
---|
| 183 | versions.</para>
|
---|
| 184 | <indexterm zone="mailx mailx-prog">
|
---|
| 185 | <primary sortas="b-mailx">mailx</primary>
|
---|
[24acf2f2] | 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
[e6f1fd6] | 189 |
|
---|
[058bfd80] | 190 | <varlistentry id="mail-mailx">
|
---|
[24acf2f2] | 191 | <term><command>mail</command></term>
|
---|
| 192 | <listitem>
|
---|
[058bfd80] | 193 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 194 | <indexterm zone="mailx mail-mailx">
|
---|
[b960e3ec] | 195 | <primary sortas="b-mail">mail</primary>
|
---|
[24acf2f2] | 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
[e6f1fd6] | 199 |
|
---|
[058bfd80] | 200 | <varlistentry id="nail-mailx">
|
---|
| 201 | <term><command>nail</command></term>
|
---|
[24acf2f2] | 202 | <listitem>
|
---|
[058bfd80] | 203 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 204 | <indexterm zone="mailx nail-mailx">
|
---|
[b960e3ec] | 205 | <primary sortas="b-nail">nail</primary>
|
---|
[24acf2f2] | 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 | </variablelist>
|
---|
[e6f1fd6] | 210 |
|
---|
[24acf2f2] | 211 | </sect2>
|
---|
[e6f1fd6] | 212 |
|
---|
[768bab5] | 213 | </sect1>
|
---|