2004-06-12 14:27:56 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-06-12 14:27:56 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2014-12-28 01:14:11 +08:00
|
|
|
<!-- upstream is apparently still using CVS at sourceforge,
|
|
|
|
but not making tarballs. fedora have a script using CVS, but
|
|
|
|
debian keep a tarball -->
|
|
|
|
<!ENTITY mailx-download-http "http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_&mailx-version;.orig.tar.gz">
|
2017-11-05 06:29:15 +08:00
|
|
|
<!ENTITY mailx-download-ftp " ">
|
2014-12-28 01:14:11 +08:00
|
|
|
<!ENTITY mailx-md5sum "29a6033ef1412824d02eb9d9213cb1f2">
|
|
|
|
<!ENTITY mailx-size "317 KB">
|
|
|
|
<!ENTITY mailx-buildsize "3.2 MB">
|
2006-04-01 06:52:00 +08:00
|
|
|
<!ENTITY mailx-time "less than 0.1 SBU">
|
2004-06-12 14:27:56 +08:00
|
|
|
]>
|
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<sect1 id="mailx" xreflabel="mailx-&mailx-version;">
|
2006-04-01 06:52:00 +08:00
|
|
|
<?dbhtml filename="mailx.html"?>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2012-04-18 13:18:11 +08:00
|
|
|
<title>mailx-&mailx-version;</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<indexterm zone="mailx">
|
|
|
|
<primary sortas="a-Heirloom-mailx">Heirloom mailx</primary>
|
2005-04-29 05:01:22 +08:00
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="package">
|
2006-04-01 06:52:00 +08:00
|
|
|
<title>Introduction to Heirloom mailx</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>The <application>Heirloom mailx</application> package (formerly
|
|
|
|
known as the <application>Nail</application> package) contains
|
|
|
|
<command>mailx</command>, a command-line Mail User Agent derived from
|
2009-07-07 03:12:40 +08:00
|
|
|
Berkeley Mail. It is intended to provide the functionality of the POSIX
|
2005-05-31 05:22:39 +08:00
|
|
|
<command>mailx</command> command with additional support for MIME messages,
|
2005-07-18 22:29:31 +08:00
|
|
|
IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting,
|
2006-04-01 06:52:00 +08:00
|
|
|
scoring, and filtering. <application>Heirloom mailx</application> is
|
|
|
|
especially useful for writing scripts and batch processing.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2018-08-27 07:26:34 +08:00
|
|
|
&lfs83_checked;
|
2010-08-07 23:22:02 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Download (HTTP): <ulink url="&mailx-download-http;"/></para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Download (FTP): <ulink url="&mailx-download-ftp;"/></para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Download MD5 sum: &mailx-md5sum;</para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<listitem><para>Download size: &mailx-size;</para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Estimated disk space required: &mailx-buildsize;</para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Estimated build time: &mailx-time;</para>
|
2005-04-29 05:01:22 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2010-11-18 09:06:14 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
2014-12-28 07:32:20 +08:00
|
|
|
url="&patch-root;/heirloom-mailx-&mailx-version;-fixes-1.patch"/>
|
2014-12-28 01:14:11 +08:00
|
|
|
</para>
|
2010-11-18 09:06:14 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<bridgehead renderas="sect3">Heirloom mailx Dependencies</bridgehead>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2017-06-04 06:32:28 +08:00
|
|
|
<para role="optional"><xref linkend="openssl10"/> or
|
2006-02-28 05:02:33 +08:00
|
|
|
<xref linkend="nss"/>,
|
2012-04-06 20:13:40 +08:00
|
|
|
<xref linkend="mitkrb"/> (for IMAP GSSAPI
|
2006-02-28 05:02:33 +08:00
|
|
|
authentication), and an
|
2006-05-27 01:50:22 +08:00
|
|
|
<xref linkend="server-mail"/></para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-11 02:35:11 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/mailx"/></para>
|
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="installation">
|
2006-04-01 06:52:00 +08:00
|
|
|
<title>Installation of Heirloom mailx</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2014-12-28 01:14:11 +08:00
|
|
|
<!-- see r12697 for explanation, and still used by fedora even though it often
|
|
|
|
does work with a parallel make -->
|
2014-02-14 01:04:48 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
This package does not support parallel build.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>Install <application>Heirloom mailx</application> by running the
|
|
|
|
following commands.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2014-12-28 01:14:11 +08:00
|
|
|
<screen><userinput>patch -Np1 -i ../heirloom-mailx-&mailx-version;-fixes-1.patch &&
|
2017-08-31 10:14:49 +08:00
|
|
|
|
2017-06-04 06:32:28 +08:00
|
|
|
sed 's@<openssl@<openssl-1.0/openssl@' \
|
2017-08-31 10:14:49 +08:00
|
|
|
-i openssl.c fio.c makeconfig &&
|
|
|
|
|
|
|
|
make -j1 LDFLAGS+="-L /usr/lib/openssl-1.0/" \
|
|
|
|
SENDMAIL=/usr/sbin/sendmail</userinput></screen>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-07-18 22:29:31 +08:00
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
2005-07-27 04:39:59 +08:00
|
|
|
<para>Now, as the <systemitem class='username'>root</systemitem> user:</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<screen role='root'><userinput>make PREFIX=/usr UCBINSTALL=/usr/bin/install install &&
|
2017-08-31 10:14:49 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
ln -v -sf mailx /usr/bin/mail &&
|
|
|
|
ln -v -sf mailx /usr/bin/nail &&
|
2017-08-31 10:14:49 +08:00
|
|
|
|
|
|
|
install -v -m755 -d /usr/share/doc/heirloom-mailx-&mailx-version; &&
|
2014-12-28 01:14:11 +08:00
|
|
|
install -v -m644 README /usr/share/doc/heirloom-mailx-&mailx-version;</userinput></screen>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="commands">
|
2005-05-01 17:37:53 +08:00
|
|
|
<title>Command Explanations</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<para><command>make SENDMAIL=/usr/sbin/sendmail</command>: This changes the
|
|
|
|
default MTA path of <command>/usr/lib/sendmail</command>.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<para><command>make PREFIX=/usr UCBINSTALL=/usr/bin/install
|
|
|
|
install</command>: This changes the default installation path of
|
2005-05-31 05:22:39 +08:00
|
|
|
<filename class='directory'>/usr/local</filename> and the default
|
|
|
|
<command>install</command> command path of
|
2005-04-29 05:01:22 +08:00
|
|
|
<filename class='directory'>/usr/ucb</filename>.</para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="configuration">
|
2006-04-01 06:52:00 +08:00
|
|
|
<title>Configuring Heirloom mailx</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<sect3 id="mailx-config">
|
2005-05-01 17:37:53 +08:00
|
|
|
<title>Config Files</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<para><filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
|
|
|
|
and <filename>~/.nailrc</filename></para>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<indexterm zone="mailx mailx-config">
|
2005-04-29 05:01:22 +08:00
|
|
|
<primary sortas="e-etc-nail.rc">/etc/nail.rc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<indexterm zone="mailx mailx-config">
|
2005-04-29 05:01:22 +08:00
|
|
|
<primary sortas="e-AA.mailrc">~/.mailrc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<indexterm zone="mailx mailx-config">
|
2005-04-29 05:01:22 +08:00
|
|
|
<primary sortas="e-AA.nailrc">~/.nailrc</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect3>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<seglistitem>
|
|
|
|
<seg>mail, mailx and nail</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<varlistentry id="mailx-prog">
|
|
|
|
<term><command>mailx</command></term>
|
2005-04-29 05:01:22 +08:00
|
|
|
<listitem>
|
2005-05-31 05:22:39 +08:00
|
|
|
<para>is a command-line mail user agent compatible with the
|
2006-04-01 06:52:00 +08:00
|
|
|
<command>mailx</command> command found on commercial Unix
|
|
|
|
versions.</para>
|
|
|
|
<indexterm zone="mailx mailx-prog">
|
|
|
|
<primary sortas="b-mailx">mailx</primary>
|
2005-04-29 05:01:22 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<varlistentry id="mail-mailx">
|
2005-04-29 05:01:22 +08:00
|
|
|
<term><command>mail</command></term>
|
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>is a symbolic link to <command>mailx</command>.</para>
|
|
|
|
<indexterm zone="mailx mail-mailx">
|
2012-07-29 05:45:43 +08:00
|
|
|
<primary sortas="b-mail">mail</primary>
|
2005-04-29 05:01:22 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2006-04-01 06:52:00 +08:00
|
|
|
<varlistentry id="nail-mailx">
|
|
|
|
<term><command>nail</command></term>
|
2005-04-29 05:01:22 +08:00
|
|
|
<listitem>
|
2006-04-01 06:52:00 +08:00
|
|
|
<para>is a symbolic link to <command>mailx</command>.</para>
|
|
|
|
<indexterm zone="mailx nail-mailx">
|
2012-07-29 05:45:43 +08:00
|
|
|
<primary sortas="b-nail">nail</primary>
|
2005-04-29 05:01:22 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2005-04-29 05:01:22 +08:00
|
|
|
</sect2>
|
2005-05-31 00:20:27 +08:00
|
|
|
|
2003-09-21 08:26:59 +08:00
|
|
|
</sect1>
|