ERROR: Slooooow dooooown... this page load was delayed.


nail - Replacement for BSD mailx ChangeLog

HOWTO


# nail 11.25
# ==========
# nail became Heirloom mailx
# mailx development stopped
# S-nail development started
# S-nail may next be renamed S-mailx

# Slackware 8.0, 8.1: mailx 8.1.1 (BSD mailx)
# Slackware 9.0: nail 10.4
# Slackware 9.1: nail 10.5
# Slackware 10.0: nail 10.7
# Slackware 10.1: nail 11.20
# Slackware 10.2: nail 11.24
# Slackware 11.0, 12.0: mailx 12.1
# Slackware 12.1, 12.2: mailx 12.3
# Slackware 13.0, 13.1, 13.37: mailx 12.4
# Slackware 14.0, 14.1, 14.2: mailx 12.5
# Slackware 15.0: s-nail 14.9.23

# This nail HOWTO is not expected to have any further updates
# nail will not compile with OpenSSL 3.0.x, use S-nail/S-mailx instead

# Prerequisites:
# csh (optional; Slackware includes a 'tcsh' package)
# util-linux's pg and more
# vi: vim or elvis
# sendmail
# libiconv

# Get the tarball
cd
test -f installed/nail-11.25.tar.bz2 && mv installed/nail-11.25.tar.bz2 .
test ! -f nail-11.25.tar.bz2 &&
wget https://download.sf.net/nail/nail-11.25.tar.bz2

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "nail-*" -exec rm -r {} \;
tar xjvf ~/nail-11.25.tar.bz2
cd nail-11.25
test $UID = 0 && chown -R root:root .

# Build it
make PREFIX=/usr MANDIR=/usr/man MAILSPOOL=/var/spool/mail \
UCBINSTALL=/usr/bin/install

# Become root to install it
su

# Remove the mailx and nail packages, if there are any
test -x /sbin/removepkg && /sbin/removepkg mailx nail

# Back up your nailrc
test -f /etc/nail.rc &&
( mkdir -p -m 0700 ~/backup ; cp /etc/nail.rc ~/backup/ )

# If you don't already have a symlink /usr/lib/sendmail, create one
test ! -x /usr/lib/sendmail && test -x /usr/sbin/sendmail &&
ln -sf /usr/sbin/sendmail /usr/lib/sendmail

# Install nail
make install PREFIX=/usr MANDIR=/usr/man MAILSPOOL=/var/spool/mail \
UCBINSTALL=/usr/bin/install

# Create typical symbolic links to historical names and the man page
ln -sf /usr/bin/nail /bin/Mail
ln -sf /usr/bin/nail /bin/mail
ln -sf /usr/bin/nail /bin/mailx
ln -sf /usr/man/man1/nail.1 /usr/man/man1/mail.1

# If you upgraded from an older version of nail, you may want to view (and
# merge) the differences between your old /etc/nail.rc and the one that comes
# with nail:
# diff -u /etc/nail.rc nail.rc | less
#
# and if you didn't customize your /etc/nail.rc, you might as well just copy
# the sample over your old one:
# cp nail.rc /etc/

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/nail-*.tar.*
mv nail-11.25.tar.bz2 installed/


# If you ever want to uninstall nail, this should do it:
cd
su
rm -f /etc/nail.rc /usr/bin/nail /usr/man/man1/nail.1
# Look for broken symlinks in /usr/bin and /bin
exit
find ~/src -maxdepth 1 -type d -name "nail-*" -exec rm -r {} \;
rm -f ~/installed/nail-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2023-10-01 5:06pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]