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