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