source: networking/mailnews/mailx.xml@ acf7e2c

basic
Last change on this file since acf7e2c was acf7e2c, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Updates to Basic BLFS Chapter 3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/basic@20519 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.4 KB
Line 
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 <!-- 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">
11 <!ENTITY mailx-download-ftp " ">
12 <!ENTITY mailx-md5sum "29a6033ef1412824d02eb9d9213cb1f2">
13 <!ENTITY mailx-size "317 KB">
14 <!ENTITY mailx-buildsize "3.2 MB">
15 <!ENTITY mailx-time "less than 0.1 SBU">
16]>
17
18<sect1 id="mailx" xreflabel="mailx-&mailx-version;">
19 <?dbhtml filename="mailx.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>mailx-&mailx-version;</title>
27
28 <indexterm zone="mailx">
29 <primary sortas="a-Heirloom-mailx">Heirloom mailx</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Heirloom mailx</title>
34
35 <para>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 messages,
40 IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
41 scoring, and filtering. <application>Heirloom mailx</application> is
42 especially useful for writing scripts and batch processing.</para>
43
44 &lfs83_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing='compact'>
48 <listitem>
49 <para>Download (HTTP): <ulink url="&mailx-download-http;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download (FTP): <ulink url="&mailx-download-ftp;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download MD5 sum: &mailx-md5sum;</para>
56 </listitem>
57 <listitem><para>Download size: &mailx-size;</para>
58 </listitem>
59 <listitem>
60 <para>Estimated disk space required: &mailx-buildsize;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated build time: &mailx-time;</para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
68 <itemizedlist spacing='compact'>
69 <listitem>
70 <para>Required patch: <ulink
71 url="&patch-root;/heirloom-mailx-&mailx-version;-fixes-1.patch"/>
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <ulink url="&blfs-book;postlfs/openssl10.html">openssl-1.0.x</ulink> or
81 <ulink role="runtime" url="&blfs-book;postlfs/nss.html">nss</ulink>,
82 <ulink url="&blfs-book;postlfs/mitkrb.html">MIT Kerberos</ulink>
83 (for IMAP GSSAPI authentication), and
84 <xref linkend="postfix"/> (or an equivalent package that provides a
85 <command>sendmail</command> command)
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/mailx"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of Heirloom mailx</title>
95
96 <!-- see r12697 for explanation, and still used by fedora even though it often
97 does work with a parallel make -->
98 <note>
99 <para>
100 This package does not support parallel build.
101 </para>
102 </note>
103
104 <para>Install <application>Heirloom mailx</application> by running the
105 following commands.</para>
106
107<screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &amp;&amp;
108
109sed 's@&lt;openssl@&lt;openssl-1.0/openssl@' \
110 -i openssl.c fio.c makeconfig &amp;&amp;
111
112make -j1 LDFLAGS+="-L /usr/lib/openssl-1.0/" \
113 SENDMAIL=/usr/sbin/sendmail</userinput></screen>
114
115 <para>This package does not come with a test suite.</para>
116
117 <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
118
119<screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &amp;&amp;
120
121ln -v -sf mailx /usr/bin/mail &amp;&amp;
122ln -v -sf mailx /usr/bin/nail &amp;&amp;
123
124install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &amp;&amp;
125install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
126
127 </sect2>
128
129 <sect2 role="commands">
130 <title>Command Explanations</title>
131
132 <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
133 default MTA path of <command>/usr/lib/sendmail</command>.</para>
134
135 <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
136 install</command>: This changes the default installation path of
137 <filename class='directory'>/usr/local</filename> and the default
138 <command>install</command> command path of
139 <filename class='directory'>/usr/ucb</filename>.</para>
140
141 </sect2>
142
143 <sect2 role="configuration">
144 <title>Configuring Heirloom mailx</title>
145
146 <sect3 id="mailx-config">
147 <title>Config Files</title>
148
149 <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
150 and <filename>~/.nailrc</filename></para>
151
152 <indexterm zone="mailx mailx-config">
153 <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
154 </indexterm>
155
156 <indexterm zone="mailx mailx-config">
157 <primary sortas="e-AA.mailrc">~/.mailrc</primary>
158 </indexterm>
159
160 <indexterm zone="mailx mailx-config">
161 <primary sortas="e-AA.nailrc">~/.nailrc</primary>
162 </indexterm>
163
164 </sect3>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Programs</segtitle>
173 <segtitle>Installed Libraries</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>mail, mailx and nail</seg>
178 <seg>None</seg>
179 <seg>None</seg>
180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="mailx-prog">
189 <term><command>mailx</command></term>
190 <listitem>
191 <para>is a command-line mail user agent compatible with the
192 <command>mailx</command> command found on commercial Unix
193 versions.</para>
194 <indexterm zone="mailx mailx-prog">
195 <primary sortas="b-mailx">mailx</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="mail-mailx">
201 <term><command>mail</command></term>
202 <listitem>
203 <para>is a symbolic link to <command>mailx</command>.</para>
204 <indexterm zone="mailx mail-mailx">
205 <primary sortas="b-mail">mail</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="nail-mailx">
211 <term><command>nail</command></term>
212 <listitem>
213 <para>is a symbolic link to <command>mailx</command>.</para>
214 <indexterm zone="mailx nail-mailx">
215 <primary sortas="b-nail">nail</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219 </variablelist>
220
221 </sect2>
222
223</sect1>
Note: See TracBrowser for help on using the repository browser.