#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
# ident	"@(#)postinstall	1.4	03/11/07 SMI"
#

PATH=/usr/bin
CLEANUP=/tmp/CLEANUP

if [ "x$UPDATE" = xyes ]; then
	VERSION=`grep '^DZ' $PKG_INSTALL_ROOT/etc/mail/sendmail.cf | \
		sed -e s/DZ//`
	echo "\nSendmail has been upgraded to version $VERSION ." >>$CLEANUP
	echo "After you reboot, you may want to run" >>$CLEANUP
	echo "\t/usr/sbin/check-hostname" >>$CLEANUP
	echo "and" >>$CLEANUP
	echo "\t/usr/sbin/check-permissions ALL" >>$CLEANUP
	echo "These two shell-scripts will check for common" >>$CLEANUP
	echo "misconfigurations and recommend corrective" >>$CLEANUP
	echo "action, or report if things are OK.\n" >>$CLEANUP
fi

exit 0
