source: networking/mailnews/mailx.xml@ 7e24b60

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7e24b60 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 9.3 KB
RevLine 
[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
[13bc31d]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 -->
[c6b192c]10 <!ENTITY mailx-download-http "https://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_&mailx-version;.orig.tar.gz">
[8044beb]11 <!ENTITY mailx-download-ftp " ">
[13bc31d]12 <!ENTITY mailx-md5sum "29a6033ef1412824d02eb9d9213cb1f2">
13 <!ENTITY mailx-size "317 KB">
14 <!ENTITY mailx-buildsize "3.2 MB">
[058bfd80]15 <!ENTITY mailx-time "less than 0.1 SBU">
[bfe245f]16]>
17
[a027d7d3]18<sect1 id="mailx" xreflabel="mailx-&mailx-version;">
[058bfd80]19 <?dbhtml filename="mailx.html"?>
[e6f1fd6]20
21
[a027d7d3]22 <title>mailx-&mailx-version;</title>
[e6f1fd6]23
[058bfd80]24 <indexterm zone="mailx">
25 <primary sortas="a-Heirloom-mailx">Heirloom mailx</primary>
[24acf2f2]26 </indexterm>
[e6f1fd6]27
[24acf2f2]28 <sect2 role="package">
[058bfd80]29 <title>Introduction to Heirloom mailx</title>
[e6f1fd6]30
[7c56ece]31 <para>
32 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
37 messages, IMAP (including caching), POP3, SMTP, S/MIME, message
38 threading/sorting, scoring, and filtering. <application>Heirloom
39 mailx</application> is especially useful for writing scripts and batch
40 processing.
41 </para>
[e6f1fd6]42
[3032882]43 &lfs112_checked;
[5f04edc]44
[24acf2f2]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing='compact'>
47 <listitem>
[7c56ece]48 <para>
49 Download (HTTP): <ulink url="&mailx-download-http;"/>
50 </para>
[24acf2f2]51 </listitem>
52 <listitem>
[7c56ece]53 <para>
54 Download (FTP): <ulink url="&mailx-download-ftp;"/>
55 </para>
[24acf2f2]56 </listitem>
57 <listitem>
[7c56ece]58 <para>
59 Download MD5 sum: &mailx-md5sum;
60 </para>
[24acf2f2]61 </listitem>
[7c56ece]62 <listitem>
63 <para>
64 Download size: &mailx-size;
65 </para>
[24acf2f2]66 </listitem>
67 <listitem>
[7c56ece]68 <para>
69 Estimated disk space required: &mailx-buildsize;
70 </para>
[24acf2f2]71 </listitem>
72 <listitem>
[7c56ece]73 <para>
74 Estimated build time: &mailx-time;
75 </para>
[24acf2f2]76 </listitem>
77 </itemizedlist>
[e6f1fd6]78
[a1813d08]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80 <itemizedlist spacing='compact'>
81 <listitem>
[7c56ece]82 <para>
83 Required patch: <ulink
84 url="&patch-root;/heirloom-mailx-&mailx-version;-fixes-1.patch"/>
[13bc31d]85 </para>
[a1813d08]86 </listitem>
87 </itemizedlist>
88
[058bfd80]89 <bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
[e6f1fd6]90
[24acf2f2]91 <bridgehead renderas="sect4">Optional</bridgehead>
[eff6c3a8]92 <para role="optional">
93 <!-- <xref linkend="openssl10"/> or -->
94 <xref linkend="nss"/>,
95 <xref linkend="mitkrb"/> (for IMAP GSSAPI authentication), and an
96 <xref linkend="server-mail"/>
97 </para>
[e6f1fd6]98
[061ec9d]99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/mailx"/></para>
101
[24acf2f2]102 </sect2>
[e6f1fd6]103
[24acf2f2]104 <sect2 role="installation">
[058bfd80]105 <title>Installation of Heirloom mailx</title>
[e6f1fd6]106
[13bc31d]107 <!-- see r12697 for explanation, and still used by fedora even though it often
108 does work with a parallel make -->
[2e4388d]109 <note>
110 <para>
111 This package does not support parallel build.
112 </para>
113 </note>
114
[7c56ece]115 <para>
116 Install <application>Heirloom mailx</application> by running the
117 following commands.
118 </para>
[e6f1fd6]119
[13bc31d]120<screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &amp;&amp;
[2791835]121
[a4f37269]122sed 's@&lt;openssl@&lt;openssl-1.0/openssl@' \
[2791835]123 -i openssl.c fio.c makeconfig &amp;&amp;
124
[fb8f00e]125make -j1 LDFLAGS+="-L /usr/lib/openssl/" \
126 SENDMAIL=/usr/sbin/sendmail</userinput></screen>
[e6f1fd6]127
[7c56ece]128 <para>
129 This package does not come with a test suite.
130 </para>
[aee33b88]131
[7c56ece]132 <para>
133 Now, as the <systemitem class='username'>root</systemitem> user:
134 </para>
[e6f1fd6]135
[058bfd80]136<screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &amp;&amp;
[2791835]137
[058bfd80]138ln -v -sf mailx /usr/bin/mail &amp;&amp;
139ln -v -sf mailx /usr/bin/nail &amp;&amp;
[2791835]140
141install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &amp;&amp;
[13bc31d]142install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
[e6f1fd6]143
[24acf2f2]144 </sect2>
[e6f1fd6]145
[24acf2f2]146 <sect2 role="commands">
[e3353b3]147 <title>Command Explanations</title>
[e6f1fd6]148
[7c56ece]149 <para>
150 <command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
151 default MTA path of <command>/usr/lib/sendmail</command>.
152 </para>
[e6f1fd6]153
[7c56ece]154 <para>
155 <command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
156 install</command>: This changes the default installation path of
157 <filename class='directory'>/usr/local</filename> and the default
158 <command>install</command> command path of
159 <filename class='directory'>/usr/ucb</filename>.
160 </para>
[e6f1fd6]161
[24acf2f2]162 </sect2>
[e6f1fd6]163
[24acf2f2]164 <sect2 role="configuration">
[058bfd80]165 <title>Configuring Heirloom mailx</title>
[e6f1fd6]166
[058bfd80]167 <sect3 id="mailx-config">
[e3353b3]168 <title>Config Files</title>
[e6f1fd6]169
[7c56ece]170 <para>
[aa48c25f]171<!-- ~/.nailrc seems not to be supported anymore
[7c56ece]172 <filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
173 and <filename>~/.nailrc</filename>
[aa48c25f]174-->
175 <filename>/etc/nail.rc</filename> and <filename>~/.mailrc</filename>
[7c56ece]176 </para>
[e6f1fd6]177
[058bfd80]178 <indexterm zone="mailx mailx-config">
[24acf2f2]179 <primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
180 </indexterm>
[e6f1fd6]181
[058bfd80]182 <indexterm zone="mailx mailx-config">
[24acf2f2]183 <primary sortas="e-AA.mailrc">~/.mailrc</primary>
184 </indexterm>
[aa48c25f]185<!--
[058bfd80]186 <indexterm zone="mailx mailx-config">
[24acf2f2]187 <primary sortas="e-AA.nailrc">~/.nailrc</primary>
188 </indexterm>
[aa48c25f]189-->
190 </sect3>
191
192 <sect3>
193 <title>Configuration Information</title>
194
195 <para>
196 For displaying mails, <application>mailx</application>
197 uses a pager program. Since the default of <command>pg</command>
198 is not available on a LFS system, its required to
199 specify which pager is to use. By default, there is
200 <command>more</command> and the more comfortable
201 <command>less</command> installed. If the
202 variable PAGER is not set in <filename>/etc/profile</filename>
203 or <filename>~/.bash_profile</filename>, or if it
204 should be another pager just for reading mails, it can be
205 set system wide in <filename>/etc/nail.rc</filename>:
206 </para>
207
208<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
209
210 <para>or individually for the actual user in <filename>~/.mailrc</filename>:</para>
211
212<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; ~/.mailrc</userinput></screen>
213
214 <para>
215 Other interesting options to set in the config files might
216 be EDITOR and MAILDIR.
217 </para>
218
219 <para>
220 If not set in the environment for other packages, the
221 default editor can be set by:
222 </para>
223
224<screen><userinput role="nodump">echo "set EDITOR=&lt;vim|nano|...&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
225
226 <para>
227 Depending on which kind of <xref linkend="server-mail"/> is
228 installed, it might be required to set the MAILDIR variable
229 so <application>mailx</application> is able to find the mails:
230 </para>
231
232<screen><userinput role="nodump">echo "set MAILDIR=Maildir" &gt;&gt; /etc/nail.rc</userinput></screen>
[e6f1fd6]233
[24acf2f2]234 </sect3>
[e6f1fd6]235
[24acf2f2]236 </sect2>
[e6f1fd6]237
[24acf2f2]238 <sect2 role="content">
239 <title>Contents</title>
[e6f1fd6]240
[24acf2f2]241 <segmentedlist>
242 <segtitle>Installed Programs</segtitle>
243 <segtitle>Installed Libraries</segtitle>
244 <segtitle>Installed Directories</segtitle>
[e6f1fd6]245
[24acf2f2]246 <seglistitem>
247 <seg>mail, mailx and nail</seg>
248 <seg>None</seg>
249 <seg>None</seg>
250 </seglistitem>
251 </segmentedlist>
[e6f1fd6]252
[24acf2f2]253 <variablelist>
254 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
255 <?dbfo list-presentation="list"?>
256 <?dbhtml list-presentation="table"?>
[e6f1fd6]257
[058bfd80]258 <varlistentry id="mailx-prog">
259 <term><command>mailx</command></term>
[24acf2f2]260 <listitem>
[7c56ece]261 <para>
262 is a command-line mail user agent compatible with the
263 <command>mailx</command> command found on commercial Unix
[4c24eb0a]264 versions
[7c56ece]265 </para>
[058bfd80]266 <indexterm zone="mailx mailx-prog">
267 <primary sortas="b-mailx">mailx</primary>
[24acf2f2]268 </indexterm>
269 </listitem>
270 </varlistentry>
[e6f1fd6]271
[058bfd80]272 <varlistentry id="mail-mailx">
[24acf2f2]273 <term><command>mail</command></term>
274 <listitem>
[7c56ece]275 <para>
[4c24eb0a]276 is a symbolic link to <command>mailx</command>
[7c56ece]277 </para>
[058bfd80]278 <indexterm zone="mailx mail-mailx">
[b960e3ec]279 <primary sortas="b-mail">mail</primary>
[24acf2f2]280 </indexterm>
281 </listitem>
282 </varlistentry>
[e6f1fd6]283
[058bfd80]284 <varlistentry id="nail-mailx">
285 <term><command>nail</command></term>
[24acf2f2]286 <listitem>
[7c56ece]287 <para>
[4c24eb0a]288 is a symbolic link to <command>mailx</command>
[7c56ece]289 </para>
[058bfd80]290 <indexterm zone="mailx nail-mailx">
[b960e3ec]291 <primary sortas="b-nail">nail</primary>
[24acf2f2]292 </indexterm>
293 </listitem>
294 </varlistentry>
295 </variablelist>
[e6f1fd6]296
[24acf2f2]297 </sect2>
[e6f1fd6]298
[768bab5]299</sect1>
Note: See TracBrowser for help on using the repository browser.