The Heirloom mailx package (formerly known as the Nail package) contains mailx, a command-line Mail User Agent derived from Berkeley Mail. It is intended to provide the functionality of the POSIX mailx command with additional support for MIME messages, IMAP (including caching), POP3, SMTP, S/MIME, message threading/sorting, scoring, and filtering. Heirloom mailx is especially useful for writing scripts and batch processing.
This package is known to build and work properly using an LFS-7.5 platform.
Download (HTTP): http://downloads.sourceforge.net/heirloom/mailx-12.4.tar.bz2
Download MD5 sum: 0c93759e34200eb56a0e7c464680a54a
Download size: 265 KB
Estimated disk space required: 3.6 MB
Estimated build time: less than 0.1 SBU
Required patch: http://www.linuxfromscratch.org/patches/blfs/7.5/mailx-12.4-openssl_1.0.0_build_fix-1.patch (if you intend to link this package against openssl)
OpenSSL-1.0.1f or NSS-3.15.4, MIT Kerberos V5-1.12.1 (for IMAP GSSAPI authentication), and an MTA
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mailx
This package does not support parallel build.
Install Heirloom mailx by running the following commands.
patch -Np1 -i ../mailx-12.4-openssl_1.0.0_build_fix-1.patch && make SENDMAIL=/usr/sbin/sendmail -j1
This package does not come with a test suite.
Now, as the root
user:
make PREFIX=/usr UCBINSTALL=/usr/bin/install install && ln -v -sf mailx /usr/bin/mail && ln -v -sf mailx /usr/bin/nail && install -v -m755 -d /usr/share/doc/mailx-12.4 && install -v -m644 README mailx.1.html /usr/share/doc/mailx-12.4
make SENDMAIL=/usr/sbin/sendmail: This changes the default MTA path of /usr/lib/sendmail.
make PREFIX=/usr
UCBINSTALL=/usr/bin/install install: This changes
the default installation path of /usr/local
and the default install command path of
/usr/ucb
.
Last updated on 2014-02-25 04:04:57 -0800