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