[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">
|
---|
[8044beb] | 11 | <!ENTITY mailx-download-ftp " ">
|
---|
[13bc31d] | 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 |
|
---|
[7c56ece] | 35 | <para>
|
---|
| 36 | The <application>Heirloom mailx</application> package (formerly
|
---|
| 37 | known as the <application>Nail</application> package) contains
|
---|
| 38 | <command>mailx</command>, a command-line Mail User Agent derived from
|
---|
| 39 | Berkeley Mail. It is intended to provide the functionality of the POSIX
|
---|
| 40 | <command>mailx</command> command with additional support for MIME
|
---|
| 41 | messages, IMAP (including caching), POP3, SMTP, S/MIME, message
|
---|
| 42 | threading/sorting, scoring, and filtering. <application>Heirloom
|
---|
| 43 | mailx</application> is especially useful for writing scripts and batch
|
---|
| 44 | processing.
|
---|
| 45 | </para>
|
---|
[e6f1fd6] | 46 |
|
---|
[9f16293] | 47 | &lfs101_checked;
|
---|
[5f04edc] | 48 |
|
---|
[24acf2f2] | 49 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 50 | <itemizedlist spacing='compact'>
|
---|
| 51 | <listitem>
|
---|
[7c56ece] | 52 | <para>
|
---|
| 53 | Download (HTTP): <ulink url="&mailx-download-http;"/>
|
---|
| 54 | </para>
|
---|
[24acf2f2] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[7c56ece] | 57 | <para>
|
---|
| 58 | Download (FTP): <ulink url="&mailx-download-ftp;"/>
|
---|
| 59 | </para>
|
---|
[24acf2f2] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[7c56ece] | 62 | <para>
|
---|
| 63 | Download MD5 sum: &mailx-md5sum;
|
---|
| 64 | </para>
|
---|
[24acf2f2] | 65 | </listitem>
|
---|
[7c56ece] | 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Download size: &mailx-size;
|
---|
| 69 | </para>
|
---|
[24acf2f2] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[7c56ece] | 72 | <para>
|
---|
| 73 | Estimated disk space required: &mailx-buildsize;
|
---|
| 74 | </para>
|
---|
[24acf2f2] | 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
[7c56ece] | 77 | <para>
|
---|
| 78 | Estimated build time: &mailx-time;
|
---|
| 79 | </para>
|
---|
[24acf2f2] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
[e6f1fd6] | 82 |
|
---|
[a1813d08] | 83 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 84 | <itemizedlist spacing='compact'>
|
---|
| 85 | <listitem>
|
---|
[7c56ece] | 86 | <para>
|
---|
| 87 | Required patch: <ulink
|
---|
| 88 | url="&patch-root;/heirloom-mailx-&mailx-version;-fixes-1.patch"/>
|
---|
[13bc31d] | 89 | </para>
|
---|
[a1813d08] | 90 | </listitem>
|
---|
| 91 | </itemizedlist>
|
---|
| 92 |
|
---|
[058bfd80] | 93 | <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
|
---|
[e6f1fd6] | 94 |
|
---|
[24acf2f2] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[eff6c3a8] | 96 | <para role="optional">
|
---|
| 97 | <!-- <xref linkend="openssl10"/> or -->
|
---|
| 98 | <xref linkend="nss"/>,
|
---|
| 99 | <xref linkend="mitkrb"/> (for IMAP GSSAPI authentication), and an
|
---|
| 100 | <xref linkend="server-mail"/>
|
---|
| 101 | </para>
|
---|
[e6f1fd6] | 102 |
|
---|
[061ec9d] | 103 | <para condition="html" role="usernotes">User Notes:
|
---|
| 104 | <ulink url="&blfs-wiki;/mailx"/></para>
|
---|
| 105 |
|
---|
[24acf2f2] | 106 | </sect2>
|
---|
[e6f1fd6] | 107 |
|
---|
[24acf2f2] | 108 | <sect2 role="installation">
|
---|
[058bfd80] | 109 | <title>Installation of Heirloom mailx</title>
|
---|
[e6f1fd6] | 110 |
|
---|
[13bc31d] | 111 | <!-- see r12697 for explanation, and still used by fedora even though it often
|
---|
| 112 | does work with a parallel make -->
|
---|
[2e4388d] | 113 | <note>
|
---|
| 114 | <para>
|
---|
| 115 | This package does not support parallel build.
|
---|
| 116 | </para>
|
---|
| 117 | </note>
|
---|
| 118 |
|
---|
[7c56ece] | 119 | <para>
|
---|
| 120 | Install <application>Heirloom mailx</application> by running the
|
---|
| 121 | following commands.
|
---|
| 122 | </para>
|
---|
[e6f1fd6] | 123 |
|
---|
[13bc31d] | 124 | <screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &&
|
---|
[2791835] | 125 |
|
---|
[a4f37269] | 126 | sed 's@<openssl@<openssl-1.0/openssl@' \
|
---|
[2791835] | 127 | -i openssl.c fio.c makeconfig &&
|
---|
| 128 |
|
---|
| 129 | make -j1 LDFLAGS+="-L /usr/lib/openssl-1.0/" \
|
---|
| 130 | SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
---|
[e6f1fd6] | 131 |
|
---|
[7c56ece] | 132 | <para>
|
---|
| 133 | This package does not come with a test suite.
|
---|
| 134 | </para>
|
---|
[aee33b88] | 135 |
|
---|
[7c56ece] | 136 | <para>
|
---|
| 137 | Now, as the <systemitem class='username'>root</systemitem> user:
|
---|
| 138 | </para>
|
---|
[e6f1fd6] | 139 |
|
---|
[058bfd80] | 140 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
[2791835] | 141 |
|
---|
[058bfd80] | 142 | ln -v -sf mailx /usr/bin/mail &&
|
---|
| 143 | ln -v -sf mailx /usr/bin/nail &&
|
---|
[2791835] | 144 |
|
---|
| 145 | install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &&
|
---|
[13bc31d] | 146 | install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
|
---|
[e6f1fd6] | 147 |
|
---|
[24acf2f2] | 148 | </sect2>
|
---|
[e6f1fd6] | 149 |
|
---|
[24acf2f2] | 150 | <sect2 role="commands">
|
---|
[e3353b3] | 151 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 152 |
|
---|
[7c56ece] | 153 | <para>
|
---|
| 154 | <command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 155 | default MTA path of <command>/usr/lib/sendmail</command>.
|
---|
| 156 | </para>
|
---|
[e6f1fd6] | 157 |
|
---|
[7c56ece] | 158 | <para>
|
---|
| 159 | <command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
| 160 | install</command>: This changes the default installation path of
|
---|
| 161 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 162 | <command>install</command> command path of
|
---|
| 163 | <filename class='directory'>/usr/ucb</filename>.
|
---|
| 164 | </para>
|
---|
[e6f1fd6] | 165 |
|
---|
[24acf2f2] | 166 | </sect2>
|
---|
[e6f1fd6] | 167 |
|
---|
[24acf2f2] | 168 | <sect2 role="configuration">
|
---|
[058bfd80] | 169 | <title>Configuring Heirloom mailx</title>
|
---|
[e6f1fd6] | 170 |
|
---|
[058bfd80] | 171 | <sect3 id="mailx-config">
|
---|
[e3353b3] | 172 | <title>Config Files</title>
|
---|
[e6f1fd6] | 173 |
|
---|
[7c56ece] | 174 | <para>
|
---|
| 175 | <filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
| 176 | and <filename>~/.nailrc</filename>
|
---|
| 177 | </para>
|
---|
[e6f1fd6] | 178 |
|
---|
[058bfd80] | 179 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 180 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 181 | </indexterm>
|
---|
[e6f1fd6] | 182 |
|
---|
[058bfd80] | 183 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 184 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 185 | </indexterm>
|
---|
[e6f1fd6] | 186 |
|
---|
[058bfd80] | 187 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 188 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 189 | </indexterm>
|
---|
[e6f1fd6] | 190 |
|
---|
[24acf2f2] | 191 | </sect3>
|
---|
[e6f1fd6] | 192 |
|
---|
[24acf2f2] | 193 | </sect2>
|
---|
[e6f1fd6] | 194 |
|
---|
[24acf2f2] | 195 | <sect2 role="content">
|
---|
| 196 | <title>Contents</title>
|
---|
[e6f1fd6] | 197 |
|
---|
[24acf2f2] | 198 | <segmentedlist>
|
---|
| 199 | <segtitle>Installed Programs</segtitle>
|
---|
| 200 | <segtitle>Installed Libraries</segtitle>
|
---|
| 201 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 202 |
|
---|
[24acf2f2] | 203 | <seglistitem>
|
---|
| 204 | <seg>mail, mailx and nail</seg>
|
---|
| 205 | <seg>None</seg>
|
---|
| 206 | <seg>None</seg>
|
---|
| 207 | </seglistitem>
|
---|
| 208 | </segmentedlist>
|
---|
[e6f1fd6] | 209 |
|
---|
[24acf2f2] | 210 | <variablelist>
|
---|
| 211 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 212 | <?dbfo list-presentation="list"?>
|
---|
| 213 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 214 |
|
---|
[058bfd80] | 215 | <varlistentry id="mailx-prog">
|
---|
| 216 | <term><command>mailx</command></term>
|
---|
[24acf2f2] | 217 | <listitem>
|
---|
[7c56ece] | 218 | <para>
|
---|
| 219 | is a command-line mail user agent compatible with the
|
---|
| 220 | <command>mailx</command> command found on commercial Unix
|
---|
[4c24eb0a] | 221 | versions
|
---|
[7c56ece] | 222 | </para>
|
---|
[058bfd80] | 223 | <indexterm zone="mailx mailx-prog">
|
---|
| 224 | <primary sortas="b-mailx">mailx</primary>
|
---|
[24acf2f2] | 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
[e6f1fd6] | 228 |
|
---|
[058bfd80] | 229 | <varlistentry id="mail-mailx">
|
---|
[24acf2f2] | 230 | <term><command>mail</command></term>
|
---|
| 231 | <listitem>
|
---|
[7c56ece] | 232 | <para>
|
---|
[4c24eb0a] | 233 | is a symbolic link to <command>mailx</command>
|
---|
[7c56ece] | 234 | </para>
|
---|
[058bfd80] | 235 | <indexterm zone="mailx mail-mailx">
|
---|
[b960e3ec] | 236 | <primary sortas="b-mail">mail</primary>
|
---|
[24acf2f2] | 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
[e6f1fd6] | 240 |
|
---|
[058bfd80] | 241 | <varlistentry id="nail-mailx">
|
---|
| 242 | <term><command>nail</command></term>
|
---|
[24acf2f2] | 243 | <listitem>
|
---|
[7c56ece] | 244 | <para>
|
---|
[4c24eb0a] | 245 | is a symbolic link to <command>mailx</command>
|
---|
[7c56ece] | 246 | </para>
|
---|
[058bfd80] | 247 | <indexterm zone="mailx nail-mailx">
|
---|
[b960e3ec] | 248 | <primary sortas="b-nail">nail</primary>
|
---|
[24acf2f2] | 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 | </variablelist>
|
---|
[e6f1fd6] | 253 |
|
---|
[24acf2f2] | 254 | </sect2>
|
---|
[e6f1fd6] | 255 |
|
---|
[768bab5] | 256 | </sect1>
|
---|