[bfe245f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[bfe245f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[058bfd80] | 7 | <!ENTITY mailx-download-http "http://prdownloads.sourceforge.net/heirloom/mailx-&mailx-version;.tar.bz2">
|
---|
| 8 | <!ENTITY mailx-download-ftp " ">
|
---|
| 9 | <!ENTITY mailx-md5sum "67e8236a73f8a2d85c45cf8a2bdf7af1">
|
---|
| 10 | <!ENTITY mailx-size "268 KB">
|
---|
| 11 | <!ENTITY mailx-buildsize "3.2 MB">
|
---|
| 12 | <!ENTITY mailx-time "less than 0.1 SBU">
|
---|
[bfe245f] | 13 | ]>
|
---|
| 14 |
|
---|
[058bfd80] | 15 | <sect1 id="mailx" xreflabel="Heirloom mailx-&mailx-version;">
|
---|
| 16 | <?dbhtml filename="mailx.html"?>
|
---|
[e6f1fd6] | 17 |
|
---|
[24acf2f2] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[4dbbf634] | 21 | <keywordset>
|
---|
[058bfd80] | 22 | <keyword role="package">mailx-&mailx-version;.tar</keyword>
|
---|
| 23 | <keyword role="ftpdir">mailx</keyword>
|
---|
[4dbbf634] | 24 | </keywordset>
|
---|
[24acf2f2] | 25 | </sect1info>
|
---|
[e6f1fd6] | 26 |
|
---|
[058bfd80] | 27 | <title>Heirloom mailx-&mailx-version;</title>
|
---|
[e6f1fd6] | 28 |
|
---|
[058bfd80] | 29 | <indexterm zone="mailx">
|
---|
| 30 | <primary sortas="a-Heirloom-mailx">Heirloom mailx</primary>
|
---|
[24acf2f2] | 31 | </indexterm>
|
---|
[e6f1fd6] | 32 |
|
---|
[24acf2f2] | 33 | <sect2 role="package">
|
---|
[058bfd80] | 34 | <title>Introduction to Heirloom mailx</title>
|
---|
[e6f1fd6] | 35 |
|
---|
[058bfd80] | 36 | <para>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
|
---|
[aee33b88] | 39 | Berkeley Mail which is intended to provide the functionality of the POSIX
|
---|
[f314186c] | 40 | <command>mailx</command> command with additional support for MIME messages,
|
---|
[aee33b88] | 41 | IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
|
---|
[058bfd80] | 42 | scoring, and filtering. <application>Heirloom mailx</application> is
|
---|
| 43 | especially useful for writing scripts and batch processing.</para>
|
---|
[e6f1fd6] | 44 |
|
---|
[24acf2f2] | 45 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 46 | <itemizedlist spacing='compact'>
|
---|
| 47 | <listitem>
|
---|
[058bfd80] | 48 | <para>Download (HTTP): <ulink url="&mailx-download-http;"/></para>
|
---|
[24acf2f2] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[058bfd80] | 51 | <para>Download (FTP): <ulink url="&mailx-download-ftp;"/></para>
|
---|
[24acf2f2] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[058bfd80] | 54 | <para>Download MD5 sum: &mailx-md5sum;</para>
|
---|
[24acf2f2] | 55 | </listitem>
|
---|
[058bfd80] | 56 | <listitem><para>Download size: &mailx-size;</para>
|
---|
[24acf2f2] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[058bfd80] | 59 | <para>Estimated disk space required: &mailx-buildsize;</para>
|
---|
[24acf2f2] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[058bfd80] | 62 | <para>Estimated build time: &mailx-time;</para>
|
---|
[24acf2f2] | 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
[e6f1fd6] | 65 |
|
---|
[058bfd80] | 66 | <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
|
---|
[e6f1fd6] | 67 |
|
---|
[24acf2f2] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4a5bbd0] | 69 | <para role="optional"><xref linkend="openssl"/> or
|
---|
| 70 | <xref linkend="nss"/>,
|
---|
[24acf2f2] | 71 | <xref linkend="heimdal"/> or <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
---|
[4a5bbd0] | 72 | authentication), and an
|
---|
[24acf2f2] | 73 | <ulink url="../server/mail.html">MTA</ulink></para>
|
---|
[e6f1fd6] | 74 |
|
---|
[061ec9d] | 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/mailx"/></para>
|
---|
| 77 |
|
---|
[24acf2f2] | 78 | </sect2>
|
---|
[e6f1fd6] | 79 |
|
---|
[24acf2f2] | 80 | <sect2 role="installation">
|
---|
[058bfd80] | 81 | <title>Installation of Heirloom mailx</title>
|
---|
[e6f1fd6] | 82 |
|
---|
[058bfd80] | 83 | <para>Install <application>Heirloom mailx</application> by running the
|
---|
| 84 | following commands.</para>
|
---|
[e6f1fd6] | 85 |
|
---|
[24acf2f2] | 86 | <screen><userinput>make SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
---|
[e6f1fd6] | 87 |
|
---|
[aee33b88] | 88 | <para>This package does not come with a test suite.</para>
|
---|
| 89 |
|
---|
[823b1a3] | 90 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
[e6f1fd6] | 91 |
|
---|
[058bfd80] | 92 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
| 93 | ln -v -sf mailx /usr/bin/mail &&
|
---|
| 94 | ln -v -sf mailx /usr/bin/nail &&
|
---|
| 95 | install -v -m755 -d /usr/share/doc/mailx-&mailx-version; &&
|
---|
| 96 | install -v -m644 README mailx.1.html /usr/share/doc/mailx-&mailx-version;</userinput></screen>
|
---|
[e6f1fd6] | 97 |
|
---|
[24acf2f2] | 98 | </sect2>
|
---|
[e6f1fd6] | 99 |
|
---|
[24acf2f2] | 100 | <sect2 role="commands">
|
---|
[e3353b3] | 101 | <title>Command Explanations</title>
|
---|
[e6f1fd6] | 102 |
|
---|
[24acf2f2] | 103 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
| 104 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
[e6f1fd6] | 105 |
|
---|
[058bfd80] | 106 | <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
| 107 | install</command>: This changes the default installation path of
|
---|
[f314186c] | 108 | <filename class='directory'>/usr/local</filename> and the default
|
---|
| 109 | <command>install</command> command path of
|
---|
[24acf2f2] | 110 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
[e6f1fd6] | 111 |
|
---|
[24acf2f2] | 112 | </sect2>
|
---|
[e6f1fd6] | 113 |
|
---|
[24acf2f2] | 114 | <sect2 role="configuration">
|
---|
[058bfd80] | 115 | <title>Configuring Heirloom mailx</title>
|
---|
[e6f1fd6] | 116 |
|
---|
[058bfd80] | 117 | <sect3 id="mailx-config">
|
---|
[e3353b3] | 118 | <title>Config Files</title>
|
---|
[e6f1fd6] | 119 |
|
---|
[058bfd80] | 120 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
| 121 | and <filename>~/.nailrc</filename></para>
|
---|
[e6f1fd6] | 122 |
|
---|
[058bfd80] | 123 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 124 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
| 125 | </indexterm>
|
---|
[e6f1fd6] | 126 |
|
---|
[058bfd80] | 127 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 128 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
| 129 | </indexterm>
|
---|
[e6f1fd6] | 130 |
|
---|
[058bfd80] | 131 | <indexterm zone="mailx mailx-config">
|
---|
[24acf2f2] | 132 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
| 133 | </indexterm>
|
---|
[e6f1fd6] | 134 |
|
---|
[24acf2f2] | 135 | </sect3>
|
---|
[e6f1fd6] | 136 |
|
---|
[24acf2f2] | 137 | </sect2>
|
---|
[e6f1fd6] | 138 |
|
---|
[24acf2f2] | 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
[e6f1fd6] | 141 |
|
---|
[24acf2f2] | 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
[e6f1fd6] | 146 |
|
---|
[24acf2f2] | 147 | <seglistitem>
|
---|
| 148 | <seg>mail, mailx and nail</seg>
|
---|
| 149 | <seg>None</seg>
|
---|
| 150 | <seg>None</seg>
|
---|
| 151 | </seglistitem>
|
---|
| 152 | </segmentedlist>
|
---|
[e6f1fd6] | 153 |
|
---|
[24acf2f2] | 154 | <variablelist>
|
---|
| 155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 156 | <?dbfo list-presentation="list"?>
|
---|
| 157 | <?dbhtml list-presentation="table"?>
|
---|
[e6f1fd6] | 158 |
|
---|
[058bfd80] | 159 | <varlistentry id="mailx-prog">
|
---|
| 160 | <term><command>mailx</command></term>
|
---|
[24acf2f2] | 161 | <listitem>
|
---|
[f314186c] | 162 | <para>is a command-line mail user agent compatible with the
|
---|
[058bfd80] | 163 | <command>mailx</command> command found on commercial Unix
|
---|
| 164 | versions.</para>
|
---|
| 165 | <indexterm zone="mailx mailx-prog">
|
---|
| 166 | <primary sortas="b-mailx">mailx</primary>
|
---|
[24acf2f2] | 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
[e6f1fd6] | 170 |
|
---|
[058bfd80] | 171 | <varlistentry id="mail-mailx">
|
---|
[24acf2f2] | 172 | <term><command>mail</command></term>
|
---|
| 173 | <listitem>
|
---|
[058bfd80] | 174 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 175 | <indexterm zone="mailx mail-mailx">
|
---|
[24acf2f2] | 176 | <primary sortas="g-mail">mail</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
[e6f1fd6] | 180 |
|
---|
[058bfd80] | 181 | <varlistentry id="nail-mailx">
|
---|
| 182 | <term><command>nail</command></term>
|
---|
[24acf2f2] | 183 | <listitem>
|
---|
[058bfd80] | 184 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
| 185 | <indexterm zone="mailx nail-mailx">
|
---|
| 186 | <primary sortas="g-nail">nail</primary>
|
---|
[24acf2f2] | 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 | </variablelist>
|
---|
[e6f1fd6] | 191 |
|
---|
[24acf2f2] | 192 | </sect2>
|
---|
[e6f1fd6] | 193 |
|
---|
[768bab5] | 194 | </sect1>
|
---|