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 "ftp://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_&mailx-version;.orig.tar.gz">
|
---|
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 | &lfs78_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"><xref linkend="openssl"/> or
|
---|
80 | <xref linkend="nss"/>,
|
---|
81 | <xref linkend="mitkrb"/> (for IMAP GSSAPI
|
---|
82 | authentication), and an
|
---|
83 | <xref linkend="server-mail"/></para>
|
---|
84 |
|
---|
85 | <para condition="html" role="usernotes">User Notes:
|
---|
86 | <ulink url="&blfs-wiki;/mailx"/></para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
90 | <sect2 role="installation">
|
---|
91 | <title>Installation of Heirloom mailx</title>
|
---|
92 |
|
---|
93 | <!-- see r12697 for explanation, and still used by fedora even though it often
|
---|
94 | does work with a parallel make -->
|
---|
95 | <note>
|
---|
96 | <para>
|
---|
97 | This package does not support parallel build.
|
---|
98 | </para>
|
---|
99 | </note>
|
---|
100 |
|
---|
101 | <para>Install <application>Heirloom mailx</application> by running the
|
---|
102 | following commands.</para>
|
---|
103 |
|
---|
104 | <screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &&
|
---|
105 | make SENDMAIL=/usr/sbin/sendmail -j1</userinput></screen>
|
---|
106 |
|
---|
107 | <para>This package does not come with a test suite.</para>
|
---|
108 |
|
---|
109 | <para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
---|
110 |
|
---|
111 | <screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
---|
112 | ln -v -sf mailx /usr/bin/mail &&
|
---|
113 | ln -v -sf mailx /usr/bin/nail &&
|
---|
114 | install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &&
|
---|
115 | install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="commands">
|
---|
120 | <title>Command Explanations</title>
|
---|
121 |
|
---|
122 | <para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
---|
123 | default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
---|
124 |
|
---|
125 | <para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
---|
126 | install</command>: This changes the default installation path of
|
---|
127 | <filename class='directory'>/usr/local</filename> and the default
|
---|
128 | <command>install</command> command path of
|
---|
129 | <filename class='directory'>/usr/ucb</filename>.</para>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="configuration">
|
---|
134 | <title>Configuring Heirloom mailx</title>
|
---|
135 |
|
---|
136 | <sect3 id="mailx-config">
|
---|
137 | <title>Config Files</title>
|
---|
138 |
|
---|
139 | <para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
---|
140 | and <filename>~/.nailrc</filename></para>
|
---|
141 |
|
---|
142 | <indexterm zone="mailx mailx-config">
|
---|
143 | <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
---|
144 | </indexterm>
|
---|
145 |
|
---|
146 | <indexterm zone="mailx mailx-config">
|
---|
147 | <primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
---|
148 | </indexterm>
|
---|
149 |
|
---|
150 | <indexterm zone="mailx mailx-config">
|
---|
151 | <primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
---|
152 | </indexterm>
|
---|
153 |
|
---|
154 | </sect3>
|
---|
155 |
|
---|
156 | </sect2>
|
---|
157 |
|
---|
158 | <sect2 role="content">
|
---|
159 | <title>Contents</title>
|
---|
160 |
|
---|
161 | <segmentedlist>
|
---|
162 | <segtitle>Installed Programs</segtitle>
|
---|
163 | <segtitle>Installed Libraries</segtitle>
|
---|
164 | <segtitle>Installed Directories</segtitle>
|
---|
165 |
|
---|
166 | <seglistitem>
|
---|
167 | <seg>mail, mailx and nail</seg>
|
---|
168 | <seg>None</seg>
|
---|
169 | <seg>None</seg>
|
---|
170 | </seglistitem>
|
---|
171 | </segmentedlist>
|
---|
172 |
|
---|
173 | <variablelist>
|
---|
174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
175 | <?dbfo list-presentation="list"?>
|
---|
176 | <?dbhtml list-presentation="table"?>
|
---|
177 |
|
---|
178 | <varlistentry id="mailx-prog">
|
---|
179 | <term><command>mailx</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>is a command-line mail user agent compatible with the
|
---|
182 | <command>mailx</command> command found on commercial Unix
|
---|
183 | versions.</para>
|
---|
184 | <indexterm zone="mailx mailx-prog">
|
---|
185 | <primary sortas="b-mailx">mailx</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <varlistentry id="mail-mailx">
|
---|
191 | <term><command>mail</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
194 | <indexterm zone="mailx mail-mailx">
|
---|
195 | <primary sortas="b-mail">mail</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="nail-mailx">
|
---|
201 | <term><command>nail</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>is a symbolic link to <command>mailx</command>.</para>
|
---|
204 | <indexterm zone="mailx nail-mailx">
|
---|
205 | <primary sortas="b-nail">nail</primary>
|
---|
206 | </indexterm>
|
---|
207 | </listitem>
|
---|
208 | </varlistentry>
|
---|
209 | </variablelist>
|
---|
210 |
|
---|
211 | </sect2>
|
---|
212 |
|
---|
213 | </sect1>
|
---|