[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 |
|
---|
[57ddf485] | 44 | &lfs80_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>
|
---|
[a4f37269] | 79 | <para role="optional"><xref linkend="openssl10"/> or
|
---|
[4a5bbd0] | 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 &&
|
---|
[a4f37269] | 105 | sed 's@<openssl@<openssl-1.0/openssl@' \
|
---|
| 106 | -i openssl.c fio.c makeconfig &&
|
---|
| 107 | make LDFLAGS+="/usr/lib/openssl-1.0/" \
|
---|
| 108 | SENDMAIL=/usr/sbin/sendmail -j1</userinput></screen>
|
---|
[e6f1fd6] | 109 |
|
---|
[aee33b88] | 110 | <para>This package does not come with a test suite.</para>
|
---|
| 111 |
|
---|
[823b1a3] | 112 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
[e6f1fd6] | 113 |
|
---|
[058bfd80] | 114 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
| 115 | ln -v -sf mailx /usr/bin/mail &&
|
---|
| 116 | ln -v -sf mailx /usr/bin/nail &&
|
---|
[13bc31d] | 117 | install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &&
|
---|
| 118 | install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
|
---|
[e6f1fd6] | 119 |
|
---|
[24acf2f2] | 120 | </sect2>
|
---|
[e6f1fd6] | 121 |
|
---|
[24acf2f2] | 122 | <sect2 role="commands">
|
---|
[e3353b3] | 123 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 124 |
|
---|
[24acf2f2] | 125 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 126 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 127 |
|
---|
[058bfd80] | 128 | <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
| 129 | install</command>: This changes the default installation path of
|
---|
[f314186c] | 130 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 131 | <command>install</command> command path of
|
---|
[24acf2f2] | 132 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 133 |
|
---|
[24acf2f2] | 134 | </sect2>
|
---|
[e6f1fd6] | 135 |
|
---|
[24acf2f2] | 136 | <sect2 role="configuration">
|
---|
[058bfd80] | 137 | <title>Configuring Heirloom mailx</title>
|
---|
[e6f1fd6] | 138 |
|
---|
[058bfd80] | 139 | <sect3 id="mailx-config">
|
---|
[e3353b3] | 140 | <title>Config Files</title>
|
---|
[e6f1fd6] | 141 |
|
---|
[058bfd80] | 142 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
| 143 | and <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 144 |
|
---|
[058bfd80] | 145 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 146 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 147 | </indexterm>
|
---|
[e6f1fd6] | 148 |
|
---|
[058bfd80] | 149 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 150 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 151 | </indexterm>
|
---|
[e6f1fd6] | 152 |
|
---|
[058bfd80] | 153 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 154 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 155 | </indexterm>
|
---|
[e6f1fd6] | 156 |
|
---|
[24acf2f2] | 157 | </sect3>
|
---|
[e6f1fd6] | 158 |
|
---|
[24acf2f2] | 159 | </sect2>
|
---|
[e6f1fd6] | 160 |
|
---|
[24acf2f2] | 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
[e6f1fd6] | 163 |
|
---|
[24acf2f2] | 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Programs</segtitle>
|
---|
| 166 | <segtitle>Installed Libraries</segtitle>
|
---|
| 167 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 168 |
|
---|
[24acf2f2] | 169 | <seglistitem>
|
---|
| 170 | <seg>mail, mailx and nail</seg>
|
---|
| 171 | <seg>None</seg>
|
---|
| 172 | <seg>None</seg>
|
---|
| 173 | </seglistitem>
|
---|
| 174 | </segmentedlist>
|
---|
[e6f1fd6] | 175 |
|
---|
[24acf2f2] | 176 | <variablelist>
|
---|
| 177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 178 | <?dbfo list-presentation="list"?>
|
---|
| 179 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 180 |
|
---|
[058bfd80] | 181 | <varlistentry id="mailx-prog">
|
---|
| 182 | <term><command>mailx</command></term>
|
---|
[24acf2f2] | 183 | <listitem>
|
---|
[f314186c] | 184 | <para>is a command-line mail user agent compatible with the
|
---|
[058bfd80] | 185 | <command>mailx</command> command found on commercial Unix
|
---|
| 186 | versions.</para>
|
---|
| 187 | <indexterm zone="mailx mailx-prog">
|
---|
| 188 | <primary sortas="b-mailx">mailx</primary>
|
---|
[24acf2f2] | 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
[e6f1fd6] | 192 |
|
---|
[058bfd80] | 193 | <varlistentry id="mail-mailx">
|
---|
[24acf2f2] | 194 | <term><command>mail</command></term>
|
---|
| 195 | <listitem>
|
---|
[058bfd80] | 196 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 197 | <indexterm zone="mailx mail-mailx">
|
---|
[b960e3ec] | 198 | <primary sortas="b-mail">mail</primary>
|
---|
[24acf2f2] | 199 | </indexterm>
|
---|
| 200 | </listitem>
|
---|
| 201 | </varlistentry>
|
---|
[e6f1fd6] | 202 |
|
---|
[058bfd80] | 203 | <varlistentry id="nail-mailx">
|
---|
| 204 | <term><command>nail</command></term>
|
---|
[24acf2f2] | 205 | <listitem>
|
---|
[058bfd80] | 206 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 207 | <indexterm zone="mailx nail-mailx">
|
---|
[b960e3ec] | 208 | <primary sortas="b-nail">nail</primary>
|
---|
[24acf2f2] | 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 | </variablelist>
|
---|
[e6f1fd6] | 213 |
|
---|
[24acf2f2] | 214 | </sect2>
|
---|
[e6f1fd6] | 215 |
|
---|
[768bab5] | 216 | </sect1>
|
---|