lkundrak / rpms / sendmail

Forked from rpms/sendmail 4 years ago
Clone
cvsdist 53226c2
%define initdir /etc/rc.d/init.d
cvsdist 98c3f09
# If you want to build this on older Red Hat Linux releases, this defines
cvsdist 98c3f09
# the version number to build on. Supported should be 62 70 71 72 for
cvsdist 98c3f09
# Red Hat Linux 6.2 up to 7.2 and "100" for the current rawhide version.
cvsdist ccd56be
%define errata 90
cvsdist bab62b5
%define release 7
cvsdist 98c3f09
cvsdist 98c3f09
%if %{errata} <= 70
cvsdist 98c3f09
%define sendmailcf usr/lib/sendmail-cf
cvsdist 98c3f09
%else
cvsdist 98c3f09
%define sendmailcf usr/share/sendmail-cf
cvsdist 98c3f09
%endif
cvsdist 53226c2
cvsdist 333a3fa
%if %{errata} >= 72
cvsdist 333a3fa
%define smshell /sbin/nologin
cvsdist 333a3fa
%else
cvsdist 333a3fa
%define smshell /dev/null
cvsdist 333a3fa
%endif
cvsdist 333a3fa
cvsdist 53226c2
Summary: A widely used Mail Transport Agent (MTA).
cvsdist 53226c2
Name: sendmail
cvsdist 68b31f4
Version: 8.12.8
cvsdist 98c3f09
%if %{errata} == 100
cvsdist 98c3f09
Release: %{release}
cvsdist 98c3f09
%else
cvsdist 05fa9f4
Release: %{release}.%{errata}
cvsdist 98c3f09
%endif
cvsdist 05fa9f4
License: BSD
cvsdist 53226c2
Group: System Environment/Daemons
cvsdist 53226c2
Provides: smtpdaemon
cvsdist 53226c2
Source0: ftp://ftp.cs.berkeley.edu/ucb/sendmail/sendmail.%{version}.tar.gz
cvsdist 53226c2
Source1: sendmail.init
cvsdist 53226c2
Source3: aliases
cvsdist 53226c2
Source4: sendmail.sysconfig
cvsdist 98c3f09
Source5: sendmail.etc-mail-Makefile
cvsdist 53226c2
Source6: sendmail-redhat.mc
cvsdist 53226c2
Source7: Sendmail.conf
cvsdist 83f6af4
Source8: sendmail.pam
cvsdist 333a3fa
Source9: sendmail-8.12.5-newconfig.readme
cvsdist 333a3fa
Patch0: sendmail-8.12.2-redhat.patch
cvsdist 333a3fa
Patch1: sendmail-8.11.0-redhat.patch
cvsdist 333a3fa
Patch2: sendmail-8.11.0-redhat.patch2
cvsdist 333a3fa
Patch3: sendmail-8.12.2-makemapman.patch
cvsdist 333a3fa
Patch4: sendmail-8.12.2-smrsh-paths.patch
cvsdist 333a3fa
Patch5: sendmail-8.12.2-movefiles.patch
cvsdist 333a3fa
Patch7: sendmail-8.12.5-pid.patch
cvsdist 68b31f4
Patch9: sendmail-8.12.7-hesiod.patch
cvsdist 68b31f4
Patch10: sendmail-8.12.7-manpage.patch
cvsdist ccd56be
Patch11: sendmail-8.12.8-security.patch
cvsdist 9789a2e
Patch12: sendmail-8.12.9-sec.patch
cvsdist 53226c2
Buildroot: %{_tmppath}/%{name}-root
cvsdist 98c3f09
BuildRequires: gdbm-devel
cvsdist 98c3f09
%if %{errata} > 62
cvsdist ccd56be
# RHL7.0 only had cyrus-sasl, but an errata also provides cyrus-sasl-devel
cvsdist ccd56be
BuildRequires: openldap-devel, openssl-devel, tcp_wrappers, cyrus-sasl-devel
cvsdist 98c3f09
%endif
cvsdist ccd56be
%if %{errata} <= 73
cvsdist 98c3f09
BuildRequires: db3-devel
cvsdist 333a3fa
%endif
cvsdist ccd56be
%if %{errata} >= 80
cvsdist ccd56be
BuildRequires: db4-devel
cvsdist 98c3f09
%endif
cvsdist 103e3f3
%if %{errata} >= 73
cvsdist ccd56be
BuildRequires: hesiod-devel
cvsdist 05fa9f4
Prereq: /usr/sbin/alternatives
cvsdist 103e3f3
Provides: %{_sbindir}/sendmail %{_bindir}/mailq %{_bindir}/newaliases
cvsdist 103e3f3
Provides: %{_bindir}/rmail %{_mandir}/man1/mailq.1.gz
cvsdist 103e3f3
Provides: %{_mandir}/man1/newaliases.1.gz %{_mandir}/man5/aliases.5.gz
cvsdist 05fa9f4
Prereq: chkconfig >= 1.3
cvsdist 05fa9f4
%else
cvsdist 05fa9f4
Prereq: /sbin/chkconfig
cvsdist 333a3fa
Conflicts: postfix exim
cvsdist 333a3fa
%endif
cvsdist 68b31f4
Prereq: /usr/sbin/useradd /bin/mktemp fileutils gawk sed sh-utils
cvsdist 98c3f09
Requires: procmail
cvsdist 98c3f09
%if %{errata} > 62
cvsdist 98c3f09
Requires: bash >= 2.0
cvsdist 98c3f09
%endif
cvsdist 68b31f4
cvsdist 53226c2
%description
cvsdist 53226c2
The Sendmail program is a very widely used Mail Transport Agent (MTA).
cvsdist 53226c2
MTAs send mail from one machine to another. Sendmail is not a client
cvsdist 101e095
program, which you use to read your email. Sendmail is a
cvsdist 101e095
behind-the-scenes program which actually moves your email over
cvsdist 53226c2
networks or the Internet to where you want it to go.
cvsdist 53226c2
cvsdist 101e095
If you ever need to reconfigure Sendmail, you will also need to have
cvsdist 101e095
the sendmail.cf package installed. If you need documentation on
cvsdist 101e095
Sendmail, you can install the sendmail-doc package.
cvsdist 53226c2
cvsdist 53226c2
%package doc
cvsdist 53226c2
Summary: Documentation about the Sendmail Mail Transport Agent program.
cvsdist 53226c2
Group: Documentation
cvsdist 53226c2
cvsdist 53226c2
%description doc
cvsdist 53226c2
The sendmail-doc package contains documentation about the Sendmail
cvsdist 53226c2
Mail Transport Agent (MTA) program, including release notes, the
cvsdist 101e095
Sendmail FAQ, and a few papers written about Sendmail. The papers are
cvsdist 53226c2
provided in PostScript(TM) and troff formats.
cvsdist 53226c2
cvsdist 98c3f09
%package devel
cvsdist 98c3f09
Summary: Extra development include files and development files.
cvsdist 98c3f09
Group: System Environment/Daemons
cvsdist 98c3f09
cvsdist 98c3f09
%description devel
cvsdist 98c3f09
Include files and devel libraries for e.g. the milter addons as part
cvsdist 98c3f09
of sendmail.
cvsdist 98c3f09
cvsdist 53226c2
%package cf
cvsdist 53226c2
Summary: The files needed to reconfigure Sendmail.
cvsdist 53226c2
Group: System Environment/Daemons
cvsdist 53226c2
cvsdist 53226c2
%description cf
cvsdist 101e095
This package includes the configuration files you need to generate the
cvsdist 101e095
sendmail.cf file distributed with the sendmail package. You will need
cvsdist 101e095
the sendmail-cf package if you ever need to reconfigure and rebuild
cvsdist 101e095
your sendmail.cf file.
cvsdist 53226c2
cvsdist 53226c2
%prep
cvsdist 53226c2
%setup -q
cvsdist 333a3fa
if test %{errata} -gt 72 ; then
cvsdist 98c3f09
%patch0 -p1
cvsdist 333a3fa
elif test %{errata} -gt 62 ; then
cvsdist 98c3f09
%patch1 -p1
cvsdist 333a3fa
else
cvsdist 98c3f09
%patch2 -p1
cvsdist 333a3fa
fi
cvsdist 98c3f09
%patch3 -p1
cvsdist 98c3f09
%patch4 -p1
cvsdist 05fa9f4
%patch5 -p1
cvsdist 0927cab
%patch7 -p1
cvsdist 68b31f4
%patch9 -p1
cvsdist 68b31f4
%patch10 -p1
cvsdist ccd56be
%patch11 -p1
cvsdist 9789a2e
%patch12 -p1
cvsdist 53226c2
cvsdist 53226c2
%build
cvsdist 68b31f4
%ifarch s390
cvsdist 68b31f4
export RPM_OPT_FLAGS="-O1"
cvsdist 68b31f4
%endif
cvsdist d6f5643
cvsdist ccd56be
if test %{errata} -gt 72 ; then
cvsdist 68b31f4
sed	-e 's,%%{_libdir},%{_libdir},g' \
cvsdist 68b31f4
	-e 's,%%{_lib},%{_lib},g' redhat.config.m4.in > redhat.config.m4
cvsdist ccd56be
fi
cvsdist ccd56be
if test %{errata} = 73 ; then
cvsdist ccd56be
	perl -pi -e 's,-ldb-4.0,-ldb,g' redhat.config.m4
cvsdist ccd56be
fi
cvsdist d6f5643
cvsdist 0927cab
for i in libmilter libsmutil sendmail mailstats rmail praliases \
cvsdist 0927cab
	smrsh makemap ; do
cvsdist 0927cab
	pushd $i
cvsdist 0927cab
	sh Build -f ../redhat.config.m4
cvsdist 0927cab
	popd
cvsdist 0927cab
done
cvsdist 53226c2
cvsdist 53226c2
%install
cvsdist 53226c2
rm -rf $RPM_BUILD_ROOT
cvsdist 53226c2
mkdir -p $RPM_BUILD_ROOT
cvsdist 53226c2
cvsdist 53226c2
cd $RPM_BUILD_ROOT
cvsdist 0927cab
mkdir -p etc/sysconfig .%{initdir} etc/pam.d
cvsdist d6f5643
mkdir -p usr/bin usr/include/libmilter usr/%{_lib} usr/lib
cvsdist d6f5643
mkdir -p .%{_mandir}/man{1,5,8}
cvsdist 0927cab
mkdir -p usr/sbin var/log var/spool %{sendmailcf}
cvsdist 53226c2
cd -
cvsdist 53226c2
cvsdist 53226c2
OBJDIR=obj.$(uname -s).$(uname -r).$(arch)
cvsdist 333a3fa
nameuser=`id -nu`
cvsdist 333a3fa
namegroup=`id -ng`
cvsdist 0927cab
cvsdist 333a3fa
Make() {
cvsdist 333a3fa
	make $@ \
cvsdist 333a3fa
		DESTDIR=$RPM_BUILD_ROOT \
cvsdist 333a3fa
		MANROOT=%{_mandir}/man \
cvsdist 0927cab
		SBINOWN=${nameuser} SBINGRP=${namegroup} \
cvsdist 0927cab
		UBINOWN=${nameuser} UBINGRP=${namegroup} \
cvsdist 0927cab
		MANOWN=${nameuser}  MANGRP=${namegroup} \
cvsdist 0927cab
		INCOWN=${nameuser}  INCGRP=${namegroup} \
cvsdist 0927cab
		LIBOWN=${nameuser}  LIBGRP=${namegroup} \
cvsdist 0927cab
		GBINOWN=${nameuser} GBINGRP=${namegroup} \
cvsdist 0927cab
		CFOWN=${nameuser}   CFGRP=${namegroup} \
cvsdist 0927cab
		MSPQOWN=${nameuser}
cvsdist 333a3fa
}
cvsdist 333a3fa
cvsdist 333a3fa
Make install -C $OBJDIR/libmilter
cvsdist 333a3fa
Make install -C $OBJDIR/libsmutil
cvsdist 333a3fa
Make install -C $OBJDIR/sendmail
cvsdist 333a3fa
Make install -C $OBJDIR/mailstats
cvsdist 333a3fa
Make force-install -C $OBJDIR/rmail
cvsdist 0927cab
Make install -C $OBJDIR/praliases
cvsdist 333a3fa
Make install -C $OBJDIR/smrsh
cvsdist 333a3fa
Make install -C $OBJDIR/makemap
cvsdist 333a3fa
cvsdist 333a3fa
touch $RPM_BUILD_ROOT/rootfile
cvsdist 333a3fa
root=..
cvsdist 333a3fa
while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do
cvsdist 333a3fa
	root=${root}/..
cvsdist 333a3fa
done
cvsdist 333a3fa
ln -sf ${root}%{_sbindir}/makemap $RPM_BUILD_ROOT/%{_bindir}/makemap
cvsdist 83f6af4
cvsdist 333a3fa
# Install docs by hand for the sendmail-doc package.
cvsdist 98c3f09
DOC=$RPM_BUILD_ROOT%{_docdir}/sendmail
cvsdist 98c3f09
mkdir -p $DOC
cvsdist 98c3f09
cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $DOC
cvsdist 05fa9f4
cp sendmail/README   $DOC/README.sendmail
cvsdist 333a3fa
cp sendmail/SECURITY $DOC/SECURITY
cvsdist 05fa9f4
cp smrsh/README      $DOC/README.smrsh
cvsdist 05fa9f4
cp libmilter/README  $DOC/README.libmilter
cvsdist 05fa9f4
cp cf/README         $DOC/README.cf
cvsdist 333a3fa
cp %{SOURCE9}        $DOC/README.redhat
cvsdist 53226c2
cvsdist 333a3fa
# Install the cf files for the sendmail-cf package.
cvsdist 333a3fa
cp -ar cf/* $RPM_BUILD_ROOT/%{sendmailcf}
cvsdist 53226c2
cvsdist 333a3fa
install -d -m755 $RPM_BUILD_ROOT/etc/mail
cvsdist 53226c2
cvsdist 98c3f09
sed -e 's|@@PATH@@|/%{sendmailcf}|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc
cvsdist 98c3f09
%if %{errata} <= 62
cvsdist 98c3f09
perl -pi -e 's/.*confAUTH_OPTIONS.*//' $RPM_BUILD_ROOT/etc/mail/sendmail.mc
cvsdist 98c3f09
%endif
cvsdist 98c3f09
%if %{errata} <= 70
cvsdist 98c3f09
perl -pi -e 's/^DAEMON_OPTIONS/dnl DAEMON_OPTIONS/' $RPM_BUILD_ROOT/etc/mail/sendmail.mc
cvsdist 98c3f09
%endif
cvsdist 98c3f09
cvsdist 98c3f09
sed -e 's|/%{sendmailcf}|\.\.|' < $RPM_BUILD_ROOT/etc/mail/sendmail.mc > cf/cf/redhat.mc
cvsdist 98c3f09
(cd cf/cf && m4 redhat.mc > redhat.cf)
cvsdist 333a3fa
install -m 644 cf/cf/redhat.cf $RPM_BUILD_ROOT/etc/mail/sendmail.cf
cvsdist 333a3fa
install -m 644 cf/cf/submit.mc $RPM_BUILD_ROOT/etc/mail/submit.mc
cvsdist 98c3f09
cvsdist 0927cab
echo "# local-host-names - include all aliases for your machine here." \
cvsdist 0927cab
	> $RPM_BUILD_ROOT/etc/mail/local-host-names
cvsdist 83f6af4
( echo "# trusted-users - users that can send mail as others without a warning"
cvsdist 83f6af4
echo "# apache, mailman, majordomo, uucp, are good candidates" ) \
cvsdist 83f6af4
	> $RPM_BUILD_ROOT/etc/mail/trusted-users
cvsdist 83f6af4
cvsdist 53226c2
cvsdist d6f5643
#root=..
cvsdist d6f5643
#while [ ! -r $RPM_BUILD_ROOT/%{_libdir}/${root}/rootfile ] ; do
cvsdist d6f5643
#	root=${root}/..
cvsdist d6f5643
#done
cvsdist 333a3fa
#ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT/%{_libdir}/sendmail
cvsdist d6f5643
ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
cvsdist 333a3fa
install -d -m775 $RPM_BUILD_ROOT/var/spool/mqueue
cvsdist 333a3fa
install -d -m755 $RPM_BUILD_ROOT/var/spool/clientmqueue
cvsdist 53226c2
cvsdist 53226c2
# dangling symlinks
cvsdist 333a3fa
root=..
cvsdist 333a3fa
while [ ! -r $RPM_BUILD_ROOT/%{_bindir}/${root}/rootfile ] ; do
cvsdist 333a3fa
	root=${root}/..
cvsdist 333a3fa
done
cvsdist 0927cab
for f in hoststat mailq newaliases purgestat ; do
cvsdist 333a3fa
    ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/${f}
cvsdist 0927cab
done
cvsdist 333a3fa
install -d -m755 $RPM_BUILD_ROOT/etc/smrsh
cvsdist 53226c2
cvsdist 53226c2
cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access
cvsdist 98c3f09
# Check the /usr/share/doc/sendmail/README.cf file for a description
cvsdist 53226c2
# of the format of this file. (search for access_db in that file)
cvsdist 98c3f09
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
cvsdist 53226c2
# package.
cvsdist 53226c2
#
cvsdist 53226c2
# by default we allow relaying from localhost...
cvsdist 53226c2
localhost.localdomain		RELAY
cvsdist 53226c2
localhost			RELAY
cvsdist 53226c2
127.0.0.1			RELAY
cvsdist 53226c2
cvsdist 53226c2
EOF
cvsdist 0927cab
for map in virtusertable access domaintable mailertable ; do
cvsdist 53226c2
    touch $RPM_BUILD_ROOT/etc/mail/${map}
cvsdist 53226c2
    chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}
cvsdist 333a3fa
    $RPM_BUILD_ROOT%{_bindir}/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/mail/${map}.db < $RPM_BUILD_ROOT/etc/mail/${map}
cvsdist 53226c2
    chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db
cvsdist 0927cab
done
cvsdist 53226c2
install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases
cvsdist 333a3fa
$RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3}
cvsdist 53226c2
cvsdist 53226c2
install -m644 %SOURCE4 $RPM_BUILD_ROOT/etc/sysconfig/sendmail
cvsdist 53226c2
install -m755 %SOURCE1 $RPM_BUILD_ROOT%{initdir}/sendmail
cvsdist 53226c2
cvsdist 53226c2
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/mail/Makefile
cvsdist 53226c2
cvsdist 53226c2
chmod u+w $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases}
cvsdist 53226c2
chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail
cvsdist 53226c2
cvsdist 98c3f09
%if %{errata} > 62
cvsdist 53226c2
install -m755 -d $RPM_BUILD_ROOT%{_libdir}/sasl
cvsdist 53226c2
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf
cvsdist 83f6af4
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp
cvsdist 98c3f09
%endif
cvsdist 53226c2
cvsdist 04a6582
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}
cvsdist 04a6582
install -m 644  $OBJDIR/libmilter/libmilter.a $RPM_BUILD_ROOT%{_libdir}
cvsdist 04a6582
install -m 644  $OBJDIR/libsmutil/libsmutil.a $RPM_BUILD_ROOT%{_libdir}
cvsdist 333a3fa
install -m 644  $OBJDIR/libsm/libsm.a         $RPM_BUILD_ROOT%{_libdir}
cvsdist 1f04523
cvsdist bab62b5
# get proper debug-symbol stripping done
cvsdist bab62b5
chmod 755  $RPM_BUILD_ROOT%{_sbindir}/sendmail
cvsdist bab62b5
cvsdist 333a3fa
%if %{errata} > 72
cvsdist 05fa9f4
mv $RPM_BUILD_ROOT%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_sbindir}/sendmail.sendmail
cvsdist 05fa9f4
for i in mailq newaliases rmail; do
cvsdist 05fa9f4
	mv $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_bindir}/$i.sendmail
cvsdist 05fa9f4
done
cvsdist 05fa9f4
mv $RPM_BUILD_ROOT%{_mandir}/man1/mailq.1 $RPM_BUILD_ROOT%{_mandir}/man1/mailq.sendmail.1
cvsdist 05fa9f4
mv $RPM_BUILD_ROOT%{_mandir}/man1/newaliases.1 $RPM_BUILD_ROOT%{_mandir}/man1/newaliases.sendmail.1
cvsdist 05fa9f4
mv $RPM_BUILD_ROOT%{_mandir}/man5/aliases.5 $RPM_BUILD_ROOT%{_mandir}/man5/aliases.sendmail.5
cvsdist 05fa9f4
%endif
cvsdist 05fa9f4
cvsdist 68b31f4
%if "%{_libdir}" == "/usr/lib64"
cvsdist 68b31f4
rm -fr $RPM_BUILD_ROOT/usr/lib/libmilter.a
cvsdist 68b31f4
%endif
cvsdist 68b31f4
cvsdist d6f5643
rm -rf $RPM_BUILD_ROOT/rootfile
cvsdist d6f5643
cvsdist 53226c2
%clean
cvsdist 53226c2
rm -rf $RPM_BUILD_ROOT
cvsdist 53226c2
cvsdist 53226c2
%pre
cvsdist 333a3fa
/usr/sbin/useradd -u 47 -d /var/spool/mqueue -r -s %{smshell} mailnull >/dev/null 2>&1
cvsdist 333a3fa
/usr/sbin/useradd -u 51 -d /var/spool/mqueue -r -s %{smshell} smmsp >/dev/null 2>&1
cvsdist 333a3fa
exit 0
cvsdist 53226c2
cvsdist 53226c2
%postun
cvsdist 53226c2
if [ "$1" -ge "1" ]; then
cvsdist 333a3fa
	%{initdir}/sendmail condrestart >/dev/null 2>&1
cvsdist 53226c2
fi
cvsdist 101e095
exit 0
cvsdist 53226c2
cvsdist 53226c2
%post
cvsdist 53226c2
#
cvsdist 53226c2
# Convert old format to new
cvsdist 53226c2
#
cvsdist 53226c2
if [ -f /etc/mail/deny ] ; then
cvsdist 53226c2
    cat /etc/mail/deny | \
cvsdist 53226c2
	awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \
cvsdist 53226c2
		  {print $1" REJECT"}' >> /etc/mail/access
cvsdist 53226c2
    cp /etc/mail/deny /etc/mail/deny.rpmorig
cvsdist 53226c2
fi
cvsdist 53226c2
for oldfile in relay_allow ip_allow name_allow ; do
cvsdist 53226c2
    if [ -f /etc/mail/$oldfile ] ; then
cvsdist 53226c2
	cat /etc/mail/$oldfile | \
cvsdist 53226c2
		awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \
cvsdist 83f6af4
	     { print \$1\" RELAY\" }" >> /etc/mail/access
cvsdist 53226c2
	cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig
cvsdist 53226c2
     fi
cvsdist 53226c2
done
cvsdist 53226c2
cvsdist 333a3fa
#
cvsdist 333a3fa
# Remove deprecated config flags which are probably harmless to remove
cvsdist 333a3fa
#
cvsdist 333a3fa
cf=`/bin/mktemp /etc/mail/sendmail.cf.XXXXXX`
cvsdist 333a3fa
if [ "$cf" != "" ] ; then
cvsdist 333a3fa
	sed 's/^O AutoRebuildAliases$/#&/g' /etc/mail/sendmail.cf > ${cf} && \
cvsdist 333a3fa
	cat ${cf} > /etc/mail/sendmail.cf
cvsdist 333a3fa
	rm ${cf}
cvsdist 333a3fa
fi
cvsdist 05fa9f4
cvsdist 333a3fa
/sbin/chkconfig --add sendmail
cvsdist 333a3fa
%if %{errata} > 72
cvsdist 05fa9f4
#
cvsdist 05fa9f4
# Set up the alternatives files for MTAs.
cvsdist 05fa9f4
#
cvsdist 05fa9f4
/usr/sbin/alternatives --install %{_sbindir}/sendmail mta %{_sbindir}/sendmail.sendmail 90 \
cvsdist 05fa9f4
	--slave %{_bindir}/mailq mta-mailq %{_bindir}/mailq.sendmail \
cvsdist 05fa9f4
	--slave %{_bindir}/newaliases mta-newaliases %{_bindir}/newaliases.sendmail \
cvsdist 05fa9f4
	--slave %{_bindir}/rmail mta-rmail %{_bindir}/rmail.sendmail \
cvsdist 05fa9f4
	--slave %{_mandir}/man1/mailq.1.gz mta-mailqman %{_mandir}/man1/mailq.sendmail.1.gz \
cvsdist 05fa9f4
	--slave %{_mandir}/man1/newaliases.1.gz mta-newaliasesman %{_mandir}/man1/newaliases.sendmail.1.gz \
cvsdist 05fa9f4
	--slave %{_mandir}/man5/aliases.5.gz mta-aliasesman %{_mandir}/man5/aliases.sendmail.5.gz \
cvsdist 05fa9f4
	--initscript sendmail
cvsdist 05fa9f4
%endif
cvsdist 05fa9f4
cvsdist 05fa9f4
cvsdist 53226c2
#
cvsdist 53226c2
# Oops, these files moved
cvsdist 53226c2
#
cvsdist 53226c2
if [ -f /etc/sendmail.cw ] ; then
cvsdist 53226c2
    cat /etc/sendmail.cw  | \
cvsdist 53226c2
      awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \
cvsdist 53226c2
           { print $1 }' >> /etc/mail/local-host-names
cvsdist 53226c2
    cp /etc/sendmail.cw /etc/sendmail.cw.rpmorig
cvsdist 53226c2
fi
cvsdist 53226c2
#
cvsdist 53226c2
# Rebuild maps (next reboot will rebuild also)
cvsdist 53226c2
#
cvsdist 53226c2
{ /usr/bin/newaliases
cvsdist 53226c2
  for map in virtusertable access domaintable mailertable
cvsdist 53226c2
  do
cvsdist 53226c2
    if [ -f /etc/mail/${map} ] ; then
cvsdist 53226c2
      /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map}
cvsdist 53226c2
      sleep 1
cvsdist 53226c2
    fi
cvsdist 53226c2
  done
cvsdist 53226c2
} > /dev/null 2>&1
cvsdist 53226c2
cvsdist 53226c2
cvsdist 53226c2
%preun
cvsdist 53226c2
if [ $1 = 0 ]; then
cvsdist 333a3fa
	%{initdir}/sendmail stop >/dev/null 2>&1
cvsdist 333a3fa
	/sbin/chkconfig --del sendmail
cvsdist 103e3f3
%if %{errata} >= 73
cvsdist 333a3fa
	/usr/sbin/alternatives --remove mta %{_sbindir}/sendmail.sendmail
cvsdist 05fa9f4
%endif
cvsdist 53226c2
fi
cvsdist 05fa9f4
exit 0
cvsdist 53226c2
cvsdist 53226c2
%triggerpostun -- sendmail < 8.10.0
cvsdist 53226c2
/sbin/chkconfig --add sendmail
cvsdist 53226c2
cvsdist 103e3f3
%if %{errata} >= 73
cvsdist 05fa9f4
%triggerpostun -- sendmail < 8.11.6-11
cvsdist 05fa9f4
/usr/sbin/alternatives --auto mta
cvsdist 05fa9f4
%endif
cvsdist 05fa9f4
cvsdist 53226c2
%files
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 53226c2
/usr/bin/hoststat
cvsdist 53226c2
/usr/bin/makemap
cvsdist 0927cab
/usr/bin/purgestat
cvsdist 0927cab
/usr/sbin/mailstats
cvsdist 53226c2
/usr/sbin/makemap
cvsdist 0927cab
/usr/sbin/praliases
cvsdist 333a3fa
%if %{errata} > 72
cvsdist 333a3fa
%attr(2755,root,smmsp)/usr/sbin/sendmail.sendmail
cvsdist 05fa9f4
/usr/bin/rmail.sendmail
cvsdist 05fa9f4
/usr/bin/newaliases.sendmail
cvsdist 05fa9f4
/usr/bin/mailq.sendmail
cvsdist 05fa9f4
%else
cvsdist 333a3fa
%attr(2755,root,smmsp)/usr/sbin/sendmail
cvsdist 05fa9f4
/usr/bin/rmail
cvsdist 53226c2
/usr/bin/newaliases
cvsdist 53226c2
/usr/bin/mailq
cvsdist 05fa9f4
%endif
cvsdist 53226c2
/usr/sbin/smrsh
cvsdist 53226c2
/usr/lib/sendmail
cvsdist 53226c2
cvsdist 53226c2
%{_mandir}/man8/rmail.8*
cvsdist 53226c2
%{_mandir}/man8/praliases.8*
cvsdist 53226c2
%{_mandir}/man8/mailstats.8*
cvsdist 53226c2
%{_mandir}/man8/makemap.8*
cvsdist 53226c2
%{_mandir}/man8/sendmail.8*
cvsdist 83f6af4
%{_mandir}/man8/smrsh.8*
cvsdist 333a3fa
%if %{errata} > 72
cvsdist 05fa9f4
%{_mandir}/man5/aliases.sendmail.5*
cvsdist 05fa9f4
%{_mandir}/man1/newaliases.sendmail.1*
cvsdist 05fa9f4
%{_mandir}/man1/mailq.sendmail.1*
cvsdist 05fa9f4
%else
cvsdist 53226c2
%{_mandir}/man5/aliases.5*
cvsdist 53226c2
%{_mandir}/man1/newaliases.1*
cvsdist 53226c2
%{_mandir}/man1/mailq.1*
cvsdist 05fa9f4
%endif
cvsdist 53226c2
cvsdist e63041c
%config(noreplace)		/etc/mail/statistics
cvsdist 333a3fa
%config(noreplace)		/etc/mail/sendmail.cf
cvsdist 333a3fa
%config(noreplace)		/etc/mail/submit.cf
cvsdist 83f6af4
%attr(0644,root,root) %config(noreplace)	/etc/mail/sendmail.mc
cvsdist 333a3fa
%attr(0644,root,root) %config(noreplace)	/etc/mail/submit.mc
cvsdist 53226c2
%config(noreplace)		/etc/mail/local-host-names
cvsdist 53226c2
%config(noreplace)		/etc/aliases
cvsdist 83f6af4
%attr(0644,root,root) %ghost	/etc/aliases.db
cvsdist 333a3fa
%attr(0770,smmsp,smmsp) %dir	/var/spool/clientmqueue
cvsdist 333a3fa
%attr(0700,root,mail) %dir	/var/spool/mqueue
cvsdist 53226c2
%dir /etc/smrsh
cvsdist 53226c2
%dir /etc/mail
cvsdist 53226c2
cvsdist 53226c2
%config /etc/mail/Makefile
cvsdist 53226c2
%attr(0644,root,root) %ghost			/etc/mail/virtusertable.db
cvsdist 53226c2
%attr(0644,root,root) %config(noreplace)	/etc/mail/virtusertable
cvsdist 53226c2
cvsdist 53226c2
%attr(0644,root,root) %ghost			/etc/mail/access.db
cvsdist 53226c2
%attr(0644,root,root) %config(noreplace)	/etc/mail/access
cvsdist 53226c2
cvsdist 53226c2
%attr(0644,root,root) %ghost			/etc/mail/domaintable.db
cvsdist 53226c2
%attr(0644,root,root) %config(noreplace)	/etc/mail/domaintable
cvsdist 53226c2
cvsdist 53226c2
%attr(0644,root,root) %ghost			/etc/mail/mailertable.db
cvsdist 53226c2
%attr(0644,root,root) %config(noreplace)	/etc/mail/mailertable
cvsdist 53226c2
cvsdist 53226c2
%attr(0644,root,root) %config(noreplace)	/etc/mail/helpfile
cvsdist 83f6af4
%attr(0644,root,root) %config(noreplace)	/etc/mail/trusted-users
cvsdist 53226c2
cvsdist 83f6af4
%config(noreplace) /etc/sysconfig/sendmail
cvsdist 53226c2
cvsdist 53226c2
%config %{initdir}/sendmail
cvsdist 53226c2
cvsdist 98c3f09
%if %{errata} > 62
cvsdist 53226c2
%config %{_libdir}/sasl/Sendmail.conf
cvsdist 83f6af4
/etc/pam.d/smtp
cvsdist 98c3f09
%endif
cvsdist 53226c2
cvsdist 53226c2
%files cf
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 98c3f09
/%{sendmailcf}
cvsdist 98c3f09
cvsdist 98c3f09
%files devel
cvsdist 98c3f09
%defattr(-,root,root)
cvsdist 05fa9f4
%{_includedir}/libmilter/*.h
cvsdist 05fa9f4
%{_libdir}/libmilter.a
cvsdist 05fa9f4
%{_libdir}/libsmutil.a
cvsdist 333a3fa
%{_libdir}/libsm.a
cvsdist 53226c2
cvsdist 53226c2
%files doc
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 53226c2
%{_docdir}/sendmail
cvsdist 53226c2
cvsdist 53226c2
%changelog
cvsdist 9789a2e
* Tue Aug 26 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 9789a2e
- add security patch
cvsdist 9789a2e
cvsdist ccd56be
* Wed Mar 26 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist ccd56be
- call make with the target "all" #86005
cvsdist ccd56be
- add start/stop/restart as Makefile targets
cvsdist ccd56be
- add another security patch
cvsdist ccd56be
cvsdist ccd56be
* Wed Mar 05 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist ccd56be
- add correct db4-devel requirements for newer releases
cvsdist ccd56be
- completely re-do many ifdef code in the spec-file
cvsdist ccd56be
- fix some issues building for older RHL releases
cvsdist ccd56be
cvsdist a8c67fe
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a8c67fe
- rebuilt
cvsdist a8c67fe
cvsdist a8c67fe
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a8c67fe
- rebuilt
cvsdist a8c67fe
cvsdist 68b31f4
* Mon Feb 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- update to 8.12.8
cvsdist 68b31f4
cvsdist 68b31f4
* Tue Feb 11 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- rebuilt
cvsdist 68b31f4
cvsdist 68b31f4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 68b31f4
- rebuilt
cvsdist 68b31f4
cvsdist 68b31f4
* Wed Jan 22 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- add a confTRUSTED_USER line into sendmail.mc, submit.mc is already ok
cvsdist 68b31f4
- add patch from sendmail.org for cf/m4/proto.m4
cvsdist 68b31f4
cvsdist 68b31f4
* Mon Jan 13 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- do not reject all numeric login names if hesiod support is
cvsdist 68b31f4
  compiled in.   #80060
cvsdist 68b31f4
- remove reference to non-existing man-pages #74552
cvsdist 68b31f4
cvsdist 68b31f4
* Sun Jan 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- sendmail-8.12.7-etrn.patch from Jos Vos <jos@xos.nl>
cvsdist 68b31f4
- submit.mc: enable "use_ct_file" by default  #80519
cvsdist 68b31f4
- add _FFR_MILTER_ROOT_UNSAFE  #78223
cvsdist 68b31f4
cvsdist 68b31f4
* Sat Jan 11 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- update to 8.12.7
cvsdist 68b31f4
- hack to make lib64 version work
cvsdist 68b31f4
- downgrade s390 optims to make it compile
cvsdist 68b31f4
cvsdist 68b31f4
* Mon Jan  6 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 68b31f4
- add openssl-devel as a build-time requirement
cvsdist 68b31f4
- preprocess the config file to add the right version of %%{_lib}
cvsdist 68b31f4
- add kerberos -I and -L flags to build configuration, needed for newer
cvsdist 68b31f4
  versions of libssl
cvsdist 68b31f4
cvsdist 68b31f4
* Wed Dec 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- always have a queue run interval for sm-msp-queue   #81424
cvsdist 68b31f4
- Jos Vos suggests adding another variable for sm-client queue-run
cvsdist 68b31f4
cvsdist 68b31f4
* Mon Dec 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- add the following changes from Adrian Havill <havill@redhat.com>
cvsdist 68b31f4
  to our default sendmail.mc file:
cvsdist 68b31f4
	- added commented-out-by-default common AUTH/SSL examples
cvsdist 68b31f4
	- updated m4 example and rpm reference
cvsdist 68b31f4
	- added more comment documentation
cvsdist 68b31f4
	- add commented out confAUTO_REBUILD example
cvsdist 68b31f4
	- improve description about MASQUERADE_AS
cvsdist 68b31f4
cvsdist 68b31f4
* Mon Nov 18 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 68b31f4
- add to submit.mc: define(`_MTA_HOST_', `[127.0.0.1]')
cvsdist 68b31f4
  to deliver directly to localhost IP instead of going through DNS
cvsdist 68b31f4
- submit.mc: exchange msp and use_ct_file to better enable it
cvsdist 68b31f4
- do not undefine UUCP_RELAY and BITNET_RELAY
cvsdist 68b31f4
- sendmail.mc: use LOCAL_DOMAIN instead of "Cw" directly
cvsdist 68b31f4
- sendmail.mc: add commented out MASQUERADE_AS example
cvsdist 68b31f4
- re-enable DAEMON variable for now
cvsdist 68b31f4
cvsdist d6f5643
* Tue Nov 12 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist d6f5643
- remove absolute path names from the PAM configuration, allowing it to be
cvsdist d6f5643
  used by any arch on a multilib system
cvsdist d6f5643
cvsdist d6f5643
* Sun Nov 03 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d6f5643
- fix mailman alias  #75129
cvsdist d6f5643
cvsdist d6f5643
* Sat Nov 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d6f5643
- update to 8.12.6
cvsdist d6f5643
cvsdist d6f5643
* Fri Oct 04 2002 Phil Knirsch <pknirsch@redhat.com> 8.12.5-7.2
cvsdist d6f5643
- Drop optflags to default to build correctly on s390(x).
cvsdist d6f5643
cvsdist d6f5643
* Thu Sep 12 2002 Than Ngo <than@redhat.com> 8.12.5-7.1
cvsdist d6f5643
- Added fix to build on x86_64
cvsdist d6f5643
cvsdist 0927cab
* Thu Aug 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 0927cab
- clean up some specfile cruft
cvsdist 0927cab
- add more pseudo accounts to /etc/aliases
cvsdist 02cf87e
cvsdist ad97987
* Thu Jul 25 2002 Phil Knirsch <pknirsch@redhat.com>
cvsdist ad97987
- Only generate new cf files if the /usr/share/sendmail-cf/m4/cf.m4 exists.
cvsdist ad97987
cvsdist 333a3fa
* Wed Jul 24 2002 Phil Knirsch <pknirsch@redhat.com>
cvsdist 333a3fa
- Changed the behaviour in /etc/mail/Makefile to generate the sendmail.cf and
cvsdist 333a3fa
  submit.cf from the mc files if they changed.
cvsdist 333a3fa
- Added a small README.redhat that descibed the new mc file behaviour and the
cvsdist 333a3fa
  split into sendmail.cf and submit.cf.
cvsdist 333a3fa
cvsdist 333a3fa
* Wed Jul 24 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- suggestions form Stephane Lentz:
cvsdist 333a3fa
	- add correct include statement into submit.mc (like sendmail.mc)
cvsdist 333a3fa
	- add commented out further suggestions into submit.mc
cvsdist 333a3fa
	- disable ident lookups
cvsdist 333a3fa
cvsdist 333a3fa
* Thu Jul 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- fix initscript for the second daemon and pidfile location #67910
cvsdist 333a3fa
cvsdist 333a3fa
* Mon Jul 01 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- update to 8.12.5
cvsdist 333a3fa
cvsdist 333a3fa
* Thu Jun 27 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- add further queue runs, slight spec-file cleanups
cvsdist 333a3fa
cvsdist 333a3fa
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 333a3fa
- automated rebuild
cvsdist 333a3fa
cvsdist 333a3fa
* Tue Jun 11 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- update to 8.12.4, adjust smrsh patch
cvsdist 333a3fa
cvsdist 333a3fa
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 333a3fa
- automated rebuild
cvsdist 333a3fa
cvsdist 333a3fa
* Sat Apr 13 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- update to 8.12.3
cvsdist 333a3fa
cvsdist 333a3fa
* Tue Mar 26 2002 Tim Powers <timp@redhat.com>
cvsdist 333a3fa
- rebuilt
cvsdist 333a3fa
cvsdist 333a3fa
* Mon Mar 25 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- fix alternatives --remove  #61737
cvsdist 333a3fa
- add sendmail/SECURITY as docu #61870, #61545
cvsdist 333a3fa
cvsdist 333a3fa
* Wed Mar 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- add libsm.a    #61270
cvsdist 333a3fa
- change from /etc/sendmail.cf to /etc/mail/sendmail.cf
cvsdist 333a3fa
- add milter patch
cvsdist 333a3fa
cvsdist 333a3fa
* Wed Mar 13 2002 Bill Nottingham <notting@redhat.com>
cvsdist 333a3fa
- ignore DAEMON=no; that configuration no longer functions
cvsdist 333a3fa
cvsdist 333a3fa
* Wed Mar 13 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- make sure more version information is in the cf file #54418
cvsdist 333a3fa
- do not use "-b" flag when patching in spec file
cvsdist 333a3fa
- require newer chkconfig version #61035
cvsdist 333a3fa
- fix preun script #60880
cvsdist 333a3fa
- add TMPF to access file creation #60956
cvsdist 333a3fa
cvsdist 333a3fa
* Sat Mar 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 333a3fa
- mv include files to /usr/include/libmilter/ #60795
cvsdist 333a3fa
- do not use "-f" option to virtusertable #60196
cvsdist 333a3fa
- ad an example smarthost entry to config file #58298
cvsdist 333a3fa
cvsdist 333a3fa
* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 8.12.2-5
cvsdist 333a3fa
- use alternatives --initscript support
cvsdist 333a3fa
- run chkconfig --add before alternatives
cvsdist 333a3fa
cvsdist 333a3fa
* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 8.12.2-3
cvsdist 333a3fa
- run alternatives --remove in %preun
cvsdist 333a3fa
- add some prereqs
cvsdist 333a3fa
cvsdist 333a3fa
* Mon Feb 25 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-2
cvsdist 333a3fa
- fix smmsp useradd invocation in %%pre
cvsdist 333a3fa
- switch back to db3 for storing db files
cvsdist 333a3fa
cvsdist 333a3fa
* Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> 8.12.2-1
cvsdist 333a3fa
- update to 8.12.2 (adds STARTTLS support without need for sfio)
cvsdist 333a3fa
- don't forcibly strip binaries; let the build root handle it
cvsdist 333a3fa
- add creation of the smmsp account (51/51) in %%pre
cvsdist 333a3fa
- enable hesiod map support
cvsdist 333a3fa
- modify default config to use an MSP
cvsdist 333a3fa
- comment out 'O AutoRebuildAliases' in %%post, otherwise sendmail will
cvsdist 333a3fa
  fail to restart on upgrades
cvsdist 05fa9f4
cvsdist 05fa9f4
* Wed Feb 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 05fa9f4
- add proper ifdefs around new alternative stuff to also be able
cvsdist 05fa9f4
  to build this for older releases
cvsdist 05fa9f4
cvsdist 05fa9f4
* Fri Feb  1 2002 Bill Nottingham <notting@redhat.com> 8.11.6-12
cvsdist 05fa9f4
- %triggerpostun on older versions to make sure alternatives work on
cvsdist 05fa9f4
  upgrades
cvsdist 05fa9f4
cvsdist 05fa9f4
* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com> 8.11.6-11
cvsdist 05fa9f4
- clean up alternatives somewhat, provide /usr/sbin/sendmail & friends
cvsdist 05fa9f4
cvsdist 05fa9f4
* Thu Jan 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 8.11.6-10
cvsdist 05fa9f4
- Use alternatives
cvsdist 90ef36d
cvsdist 98c3f09
* Tue Jan 22 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 98c3f09
- fix quotation in spec-file
cvsdist 98c3f09
cvsdist 98c3f09
* Thu Jan 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 98c3f09
- integrate ugly logic to compile this src.rpm also on older Red Hat
cvsdist 98c3f09
  Linux releases
cvsdist 98c3f09
- clean up spec file and patches a bit
cvsdist 98c3f09
- add db4 support
cvsdist 98c3f09
cvsdist 98c3f09
* Wed Jan 09 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 98c3f09
- fix another path to correct docu
cvsdist 98c3f09
- include sendmail/README in the docu
cvsdist 98c3f09
- compile with -D_FFR_WORKAROUND_BROKEN_NAMESERVERS, but do not
cvsdist 98c3f09
  enable this at runtime
cvsdist 98c3f09
- devel subpackage files owned by root now
cvsdist 98c3f09
cvsdist 98c3f09
* Fri Dec 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 98c3f09
- change "-q" to "-s" as option to make #57216
cvsdist 98c3f09
- move milter lib into separate "devel" sub-package
cvsdist 98c3f09
- add include files to devel sub-package #56064
cvsdist 98c3f09
- fix pointer in access file to docu #54351
cvsdist 98c3f09
cvsdist 98c3f09
* Mon Sep 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 98c3f09
- add libmilter docu
cvsdist 98c3f09
- add support for userdb to /etc/mail/Makefile
cvsdist 98c3f09
- use "btree" database files if a userdb is used
cvsdist 98c3f09
- buildrequires tcp_wrappers
cvsdist 98c3f09
cvsdist 04a6582
* Fri Aug 31 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 04a6582
- fix libmilter support
cvsdist 04a6582
- fix init script to use /etc/mail/Makefile #52932
cvsdist 04a6582
cvsdist 1f04523
* Sat Aug 25 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 1f04523
- add libmilter library
cvsdist 1f04523
cvsdist e63041c
* Thu Aug 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist e63041c
- update to 8.11.6
cvsdist e63041c
- correctly use /etc/mail/statistics
cvsdist e63041c
cvsdist 849c77a
* Thu Aug 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 849c77a
- change init script back to older conventions #51297
cvsdist 849c77a
- remove DoS patch, not needed anymore #51247
cvsdist 849c77a
cvsdist 101e095
* Mon Aug 06 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- add option '-t' to procmail for local mail delivery
cvsdist 101e095
cvsdist 101e095
* Tue Jul 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- point to the map files in sendmail.cf as pointed out by
cvsdist 101e095
  David Beveridge <David@beveridge.com>
cvsdist 101e095
cvsdist 101e095
* Mon Jul 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- add build requires #49695
cvsdist 101e095
- do not call "userdel"
cvsdist 101e095
cvsdist 101e095
* Tue Jul 10 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- change sendmail.cf to "noreplace"
cvsdist 101e095
cvsdist 101e095
* Thu Jun 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- update to 8.11.4
cvsdist 101e095
cvsdist 101e095
* Wed May 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 101e095
- update to 8.11.3
cvsdist 101e095
- add "localhost.localdomain" to the list of hostnames accepted
cvsdist 101e095
  for local delivery "Cw" in /etc/mail/sendmail.mc
cvsdist 101e095
- add patches from Pekka Savola <pekkas@netcore.fi>
cvsdist 101e095
	- Enable IPv6 at compile time, patch for glibc 2.2 from PLD
cvsdist 101e095
	- Add a commented-out IPv6 daemon .mc line to sendmail.mc
cvsdist 101e095
	- buildrequire: openldap-devel, cyrus-sasl-devel
cvsdist 101e095
cvsdist 83f6af4
* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 83f6af4
- rebuild in new environment
cvsdist 83f6af4
cvsdist 83f6af4
* Tue Feb 27 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc
cvsdist 83f6af4
cvsdist 83f6af4
* Wed Feb 21 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- add changes from Christopher McCrory <chrismcc@pricegrabber.com>:
cvsdist 83f6af4
	- prepare /etc/mail/Makefile for more maps not shipped with this rpm
cvsdist 83f6af4
	- changed sendmail.mc to include some more commented out options,
cvsdist 83f6af4
	  so that people are directly pointed at important options
cvsdist 83f6af4
	- add /etc/pam.d/smtp for AUTH
cvsdist 83f6af4
	- add FEATURE(use_ct_file) and /etc/mail/trusted-users
cvsdist 83f6af4
cvsdist 83f6af4
* Fri Feb 16 2001 Tim Powers <timp@redhat.com>
cvsdist 83f6af4
- don't obsolete postfix and exim, only conflict (for RHN purposes)
cvsdist 83f6af4
cvsdist 83f6af4
* Thu Feb 15 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 83f6af4
- obsolete and conflict with exim and postfix
cvsdist 83f6af4
cvsdist 83f6af4
* Wed Feb 14 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- fix devision by zero bug in #20395
cvsdist 83f6af4
- mv /usr/lib/sendmail-cf /usr/share/sendmail-cf
cvsdist 83f6af4
cvsdist 83f6af4
* Wed Feb  7 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 83f6af4
- i18n tweaks to initscript
cvsdist 83f6af4
cvsdist 83f6af4
* Wed Feb 07 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- aliases.db should be owned by group root
cvsdist 83f6af4
cvsdist 83f6af4
* Wed Jan 24 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- prepare for startup-script translation
cvsdist 83f6af4
cvsdist 83f6af4
* Tue Jan 23 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- enable daemon mode again, but only listen to the loopback device
cvsdist 83f6af4
  instead of all devices.
cvsdist 83f6af4
- do not include check.tar with old anti-spam rules 
cvsdist 83f6af4
cvsdist 83f6af4
* Fri Jan 12 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- fix configuration of /etc/aliases
cvsdist 83f6af4
cvsdist 83f6af4
* Mon Jan 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- fix interoperation problems with communigate pro
cvsdist 83f6af4
- disable msa
cvsdist 83f6af4
cvsdist 83f6af4
* Thu Jan 04 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- update to (security release) 8.11.2
cvsdist 83f6af4
- build also on RHL 6.x #16061
cvsdist 83f6af4
- include smrsh man-page #17901
cvsdist 83f6af4
- use the "-f" flag for makemap to preserve case for virtusertable
cvsdist 83f6af4
  and userdb in /etc/mail/Makefile - suggested by Harald Hoyer
cvsdist 83f6af4
- fix /usr/doc -> usr/share/doc in docu #20611
cvsdist 83f6af4
- wrong path in sendmail.mc #20691
cvsdist 83f6af4
- tcp-wrapper support wasn't enabled correctly #21642
cvsdist 83f6af4
- do not expose user "root" when masquerading like in older releases #21643
cvsdist 83f6af4
- disable the VRFY and EXPN smtp commands #21801
cvsdist 83f6af4
- disable queue-runs for normal users (restrictqrun privacy flag)
cvsdist 83f6af4
- fix typo in sendmail.mc #21880, #22682
cvsdist 83f6af4
- disable daemon mode to see what needs fixing
cvsdist 83f6af4
cvsdist 83f6af4
* Mon Oct 02 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 83f6af4
- update to 8.11.1
cvsdist 83f6af4
cvsdist 83f6af4
* Fri Sep 08 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 83f6af4
- rebuild in new environment
cvsdist 83f6af4
cvsdist 53226c2
* Tue Aug 22 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 53226c2
- apply fixes for LDAP maps being closed too soon
cvsdist 53226c2
cvsdist 53226c2
* Mon Aug 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 53226c2
- provide /usr/lib/sasl/Sendmail.conf so that people know we can use it (#16064)
cvsdist 53226c2
cvsdist 53226c2
* Mon Aug  7 2000 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 53226c2
- enable listening on the smtp port again
cvsdist 53226c2
cvsdist 53226c2
* Fri Aug  4 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 53226c2
- fix "missing find_m4.sh" problem by defining M4=/usr/bin/m4 (#14767)
cvsdist 53226c2
cvsdist 53226c2
* Mon Jul 31 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 53226c2
- okay, enable LDAP support again
cvsdist 53226c2
- enable SMTP auth support via Cyrus SASL
cvsdist 53226c2
cvsdist 53226c2
* Tue Jul 25 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 53226c2
- disable the LDAP support until we can remove the sendmail->OpenLDAP->perl dep
cvsdist 53226c2
- fix prereq
cvsdist 53226c2
cvsdist 53226c2
* Tue Jul 25 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- update to sendmail 8.11.0
cvsdist 53226c2
- add LDAP support
cvsdist 53226c2
cvsdist 53226c2
* Thu Jul 20 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- move initscript back
cvsdist 53226c2
cvsdist 53226c2
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 53226c2
- automatic rebuild
cvsdist 53226c2
cvsdist 53226c2
* Sun Jul  9 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- require procmail
cvsdist 53226c2
- add further aliases
cvsdist 53226c2
cvsdist 53226c2
* Sat Jul  8 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- prereq init.d
cvsdist 53226c2
- fix typo
cvsdist 53226c2
cvsdist 53226c2
* Tue Jul  4 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- ignore error from useradd
cvsdist 53226c2
cvsdist 53226c2
* Fri Jun 30 2000 Than Ngo <than@redhat.de>
cvsdist 53226c2
- FHS fixes
cvsdist 53226c2
- /etc/rc.d/init.d -> /etc/init.d
cvsdist 53226c2
- fix initscript
cvsdist 53226c2
cvsdist 53226c2
* Fri Jun 23 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- change to /usr/share/man
cvsdist 53226c2
cvsdist 53226c2
* Wed Jun 21 2000 Preston Brown <pbrown@redhat.com>
cvsdist 53226c2
- turn off daemon behaviour by default
cvsdist 53226c2
cvsdist 53226c2
* Mon Jun 18 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- rebuild, fix dependencies
cvsdist 53226c2
cvsdist 53226c2
* Sat Jun 10 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- prereq /usr/sbin/useradd
cvsdist 53226c2
cvsdist 53226c2
* Fri May 19 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- enable MAP_REGEX
cvsdist 53226c2
- enable tcp_wrapper support
cvsdist 53226c2
cvsdist 53226c2
* Thu May 18 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- fix etc/mail/aliases -> /etc/aliases in sendmail-redhat.mc
cvsdist 53226c2
cvsdist 53226c2
* Wed May  3 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- update to 8.10.1
cvsdist 53226c2
- fix build without sendmail installed
cvsdist 53226c2
- add 'mailnull' user
cvsdist 53226c2
cvsdist 53226c2
* Wed Mar 15 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- update to 8.10.0
cvsdist 53226c2
- remove compatiblity chkconfig links
cvsdist 53226c2
- add a mailnull user for sendmail to use
cvsdist 53226c2
cvsdist 53226c2
* Thu Feb 17 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- break the hard link for makemap and create it as a symlnk (#8223)
cvsdist 53226c2
cvsdist 53226c2
* Thu Feb 17 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist 53226c2
- Fix location of mailertable (Bug #6035)
cvsdist 53226c2
cvsdist 53226c2
* Sat Feb  5 2000 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- fixes for non-root builds (#8178)
cvsdist 53226c2
cvsdist 53226c2
* Wed Feb  2 2000 Florian La Roche <Florian.LaRoche@redhat.com>
cvsdist 53226c2
- change perms on /etc/sysconfig/sendmail from 0755 to 0644
cvsdist 53226c2
- allow compressed man-pages
cvsdist 53226c2
cvsdist 53226c2
* Thu Dec 02 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- add patch to prevent the DoS when rebuilding aliases
cvsdist 53226c2
cvsdist 53226c2
* Wed Sep  1 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- install man pages, not groff output (#3746).
cvsdist 53226c2
- use dnl not '#' in m4 comment (#3749).
cvsdist 53226c2
- add FEATURE(mailtertable) to the config -- example file needs this (#4649).
cvsdist 53226c2
- use db2 not db1.
cvsdist 53226c2
cvsdist 53226c2
* Tue Aug 31 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- add 127.0.0.1 to /etc/mail/access to avoid IDENT: relay problem (#3178).
cvsdist 53226c2
cvsdist 53226c2
* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- chkconfig --del in preun, not postun (#3982)
cvsdist 53226c2
cvsdist 53226c2
* Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
cvsdist 53226c2
- initscript munging
cvsdist 53226c2
cvsdist 53226c2
* Fri Jul 02 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- fixed typo bug in comment in the default .mc file (#2812)
cvsdist 53226c2
cvsdist 53226c2
* Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- fox the awk scripts in the postinstall
cvsdist 53226c2
- enable FEATURE(accept_unresolvable_domains) by default to make laptop
cvsdist 53226c2
  users happy.
cvsdist 53226c2
cvsdist 53226c2
* Sun Apr 18 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- make the redhat.mc be a separate source files. Sanitize patches that used
cvsdist 53226c2
  to touch it.
cvsdist 53226c2
- install redhat.mc as /etc/sendmail.mc so that people can easily modify
cvsdist 53226c2
  their sendmail.cf configurations.
cvsdist 53226c2
cvsdist 53226c2
* Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- fixed virtusertable patch
cvsdist 53226c2
- make smrsh look into /etc/smrsh
cvsdist 53226c2
cvsdist 53226c2
* Mon Mar 29 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- remove noreplace attr from sednmail.cf.
cvsdist 53226c2
cvsdist 53226c2
* Thu Mar 25 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- provide a more sane /etc/mail/access default config file
cvsdist 53226c2
- use makemap to initializa the empty databases, not touch
cvsdist 53226c2
- added a small, but helpful /etc/mail/Makefile
cvsdist 53226c2
cvsdist 53226c2
* Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- correxct dangling symlinks.
cvsdist 53226c2
- check for map file existence in %post.
cvsdist 53226c2
cvsdist 53226c2
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 53226c2
- auto rebuild in the new build environment (release 3)
cvsdist 53226c2
cvsdist 53226c2
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- improved 8.9.3 config from Mike McHenry <mmchen@minn.net>
cvsdist 53226c2
cvsdist 53226c2
* Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- version 8.9.3
cvsdist 53226c2
cvsdist 53226c2
* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- build for 6.0
cvsdist 53226c2
- use the libdb1 stuff correctly
cvsdist 53226c2
cvsdist 53226c2
* Mon Sep 21 1998 Michael K. Johnson <johnsonm@redhat.com>
cvsdist 53226c2
- Allow empty QUEUE in /etc/sysconfig/sendmail for those who
cvsdist 53226c2
  want to run sendmail in daemon mode without processing the
cvsdist 53226c2
  queue regularly.
cvsdist 53226c2
cvsdist 53226c2
* Thu Sep 17 1998 Michael K. Johnson <johnsonm@redhat.com>
cvsdist 53226c2
- /etc/sysconfig/sendmail
cvsdist 53226c2
cvsdist 53226c2
* Fri Aug 28 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 53226c2
- recompile statically linked binary for 5.2/sparc
cvsdist 53226c2
cvsdist 53226c2
* Tue May 05 1998 Prospector System <bugs@redhat.com>
cvsdist 53226c2
- translations modified for de, fr, tr
cvsdist 53226c2
cvsdist 53226c2
* Sat May 02 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- enhanced initscripts
cvsdist 53226c2
cvsdist 53226c2
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 53226c2
- added a rmail patch
cvsdist 53226c2
cvsdist 53226c2
* Wed Oct 29 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- argh!  Fixed some of the db1 handling that had to be added for glibc 2.1
cvsdist 53226c2
cvsdist 53226c2
* Fri Oct 24 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- added support for db1 on SPARC
cvsdist 53226c2
cvsdist 53226c2
* Thu Oct 16 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- added chkconfig support
cvsdist 53226c2
- various spec file cleanups
cvsdist 53226c2
- changed group to Networking/Daemons (from Daemons).  Sure, it runs on
cvsdist 53226c2
  non networked systems, but who really *needs* it then?
cvsdist 53226c2
cvsdist 53226c2
* Wed Oct 08 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- made /etc/mail/deny.db a ghost
cvsdist 53226c2
- removed preun that used to remove deny.db (ghost handles that now)
cvsdist 53226c2
- NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly
cvsdist 53226c2
  4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems.  You
cvsdist 53226c2
  may need to do a makemap in /etc/mail and a newaliases after upgrading
cvsdist 53226c2
  from those packages.  Upgrading from 4.2 or prior should be fine.
cvsdist 53226c2
cvsdist 53226c2
* Mon Oct 06 1997 Erik Troan <ewt@redhat.com>
cvsdist 53226c2
- made aliases.db a ghost
cvsdist 53226c2
cvsdist 53226c2
* Tue Sep 23 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- fixed preuninstall script to handle aliases.db on upgrades properly
cvsdist 53226c2
cvsdist 53226c2
* Mon Sep 15 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- fixed post-install output and changed /var/spool/mqueue to 755
cvsdist 53226c2
cvsdist 53226c2
* Thu Sep 11 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- fixed /usr/lib/sendmail-cf paths
cvsdist 53226c2
cvsdist 53226c2
* Tue Sep 09 1997 Donnie Barnes <djb@redhat.com>
cvsdist 53226c2
- updated to 8.8.7
cvsdist 53226c2
- added some spam filtration
cvsdist 53226c2
- combined some makefile patches
cvsdist 53226c2
- added BuildRoot support
cvsdist 53226c2
cvsdist 53226c2
* Wed Sep 03 1997 Erik Troan <ewt@redhat.com>
cvsdist 53226c2
- marked initscript symlinks as missingok
cvsdist 53226c2
- run newalises after creating /var/spool/mqueue
cvsdist 53226c2
cvsdist 53226c2
* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
cvsdist 53226c2
- built against glibc, udated release to -6 (skipped -5!)
cvsdist 53226c2
cvsdist 53226c2
* Tue Apr 01 1997 Erik Troan <ewt@redhat.com>
cvsdist 53226c2
- Added -nsl on the Alpha (for glibc to provide NIS functions).
cvsdist 53226c2
cvsdist 53226c2
* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>
cvsdist 53226c2
- Added nis support.