lkundrak / rpms / sendmail

Forked from rpms/sendmail 4 years ago
Clone
cvsdist 53226c2
%define initdir /etc/rc.d/init.d
cvsdist 53226c2
cvsdist 53226c2
Summary: A widely used Mail Transport Agent (MTA).
cvsdist 53226c2
Name: sendmail
cvsdist e63041c
Version: 8.11.6
cvsdist 1f04523
Release: 2
cvsdist 53226c2
Copyright: 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 53226c2
Source5: sendmail-8.9.3-etc-mail-Makefile
cvsdist 53226c2
Source6: sendmail-redhat.mc
cvsdist 53226c2
Source7: Sendmail.conf
cvsdist 83f6af4
Source8: sendmail.pam
cvsdist 53226c2
Patch0: sendmail-8.11.0-redhat.patch
cvsdist 53226c2
Patch1: sendmail-8.10.0-makemapman.patch
cvsdist 53226c2
Patch2: sendmail-8.10.0-smrsh-paths.patch
cvsdist 53226c2
Patch3: sendmail-8.8.7-rmail.patch
cvsdist 53226c2
Patch5: sendmail-8.10.1-movefiles.patch
cvsdist 53226c2
Patch6: sendmail-8.10.1-manpath.patch
cvsdist 53226c2
Patch7: sendmail-8.11.0-m4path.patch
cvsdist 53226c2
Buildroot: %{_tmppath}/%{name}-root
cvsdist 101e095
BuildRequires: openldap-devel, cyrus-sasl-devel
cvsdist 101e095
BuildRequires: gdbm-devel, db3-devel
cvsdist 83f6af4
Prereq: /sbin/chkconfig /usr/sbin/useradd
cvsdist 83f6af4
Conflicts: postfix exim
cvsdist 83f6af4
Requires: procmail, bash >= 2.0
cvsdist 53226c2
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 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 53226c2
%patch0 -p1 -b .redhat
cvsdist 53226c2
%patch1 -p1 -b .makemapman
cvsdist 53226c2
%patch2 -p1 -b .smrsh
cvsdist 53226c2
%patch3 -p1 -b .rmail
cvsdist 53226c2
%patch5 -p1 -b .movestuff
cvsdist 53226c2
%patch6 -p0
cvsdist 53226c2
%patch7 -p1 -b .m4path
cvsdist 53226c2
cvsdist 53226c2
sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/redhat.mc
cvsdist 53226c2
cvsdist 53226c2
%build
cvsdist 1f04523
cd libmilter
cvsdist 1f04523
sh Build -f ../redhat.config.m4
cvsdist 1f04523
cd ..
cvsdist 1f04523
cvsdist 53226c2
cd sendmail
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd mailstats
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd rmail
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd makemap
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd praliases
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd smrsh
cvsdist 53226c2
sh Build -f ../redhat.config.m4
cvsdist 53226c2
cd ..
cvsdist 53226c2
cvsdist 53226c2
cd cf/cf
cvsdist 53226c2
m4 redhat.mc > redhat.cf
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 83f6af4
mkdir -p etc/sysconfig $RPM_BUILD_ROOT%{initdir} etc/pam.d
cvsdist 83f6af4
mkdir -p usr/bin usr/lib .%{_mandir}/man{1,5,8} usr/sbin var/log var/spool usr/share/sendmail-cf
cvsdist 53226c2
cd -
cvsdist 53226c2
cvsdist 53226c2
OBJDIR=obj.$(uname -s).$(uname -r).$(arch)
cvsdist 53226c2
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 install -C $OBJDIR/sendmail
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 install -C $OBJDIR/mailstats
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 install -C $OBJDIR/praliases
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 force-install -C $OBJDIR/rmail
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 install -C $OBJDIR/makemap
cvsdist 53226c2
ln -sf ../sbin/makemap $RPM_BUILD_ROOT/usr/bin/makemap
cvsdist 83f6af4
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` \
cvsdist 53226c2
 install -C $OBJDIR/smrsh
cvsdist 1f04523
make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man SBINOWN=`id -nu` UBINOWN=`id -nu` SBINGRP=`id -ng` UBINGRP=`id -ng` MANOWN=`id -nu` MANGRP=`id -ng` INCOWN=`id -nu` INCGRP=`id -ng` LIBOWN=`id -nu` LIBGRP=`id -ng` \
cvsdist 1f04523
 install -C $OBJDIR/libmilter
cvsdist 1f04523
cvsdist 53226c2
cvsdist 83f6af4
cvsdist 53226c2
# install docs by hand
cvsdist 53226c2
mkdir -p $RPM_BUILD_ROOT%{_docdir}/sendmail
cvsdist 53226c2
cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $RPM_BUILD_ROOT%{_docdir}/sendmail
cvsdist 53226c2
cp smrsh/README $RPM_BUILD_ROOT%{_docdir}/sendmail/README.smrsh
cvsdist 53226c2
cp cf/README $RPM_BUILD_ROOT%{_docdir}/sendmail/README.cf
cvsdist 53226c2
cvsdist 53226c2
# install the cf files
cvsdist 53226c2
pushd cf
cvsdist 83f6af4
cp -ar * $RPM_BUILD_ROOT/usr/share/sendmail-cf
cvsdist 83f6af4
rm -f $RPM_BUILD_ROOT/usr/share/sendmail-cf/*/*.m4path
cvsdist 53226c2
popd
cvsdist 53226c2
cvsdist 53226c2
mkdir -p $RPM_BUILD_ROOT/etc/mail
cvsdist 53226c2
cvsdist 53226c2
install -m 644 cf/cf/redhat.cf $RPM_BUILD_ROOT/etc/sendmail.cf
cvsdist 83f6af4
sed -e 's|@@PATH@@|/usr/share/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc
cvsdist 53226c2
echo "# local-host-names - include all aliases for your machine here." > $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 53226c2
ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/lib/sendmail
cvsdist 53226c2
install -d -m755 $RPM_BUILD_ROOT/var/spool/mqueue
cvsdist 53226c2
cvsdist 53226c2
# dangling symlinks
cvsdist 53226c2
for f in hoststat mailq newaliases purgestat
cvsdist 53226c2
  do
cvsdist 53226c2
    ln -sf ../sbin/sendmail $RPM_BUILD_ROOT/usr/bin/${f}
cvsdist 53226c2
  done
cvsdist 53226c2
mkdir -p $RPM_BUILD_ROOT/etc/smrsh
cvsdist 53226c2
cvsdist 53226c2
cat <<EOF > $RPM_BUILD_ROOT/etc/mail/access
cvsdist 83f6af4
# Check the /usr/share/doc/sendmail-%{version}/README.cf file for a description
cvsdist 53226c2
# of the format of this file. (search for access_db in that file)
cvsdist 83f6af4
# The /usr/share/doc/sendmail-%{version}/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 53226c2
for map in virtusertable access domaintable mailertable
cvsdist 53226c2
  do
cvsdist 53226c2
    touch $RPM_BUILD_ROOT/etc/mail/${map}
cvsdist 53226c2
    chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}
cvsdist 53226c2
    $RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/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 53226c2
  done
cvsdist 53226c2
install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases
cvsdist 53226c2
$RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/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 53226c2
strip $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases,sendmail}
cvsdist 53226c2
strip $RPM_BUILD_ROOT/usr/bin/rmail
cvsdist 53226c2
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 53226c2
cvsdist 1f04523
install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/libmilter
cvsdist 1f04523
install -m 644  $OBJDIR/libmilter/libmilter.a $RPM_BUILD_ROOT%{_libdir}/libmilter
cvsdist 1f04523
cvsdist 53226c2
%clean
cvsdist 53226c2
rm -rf $RPM_BUILD_ROOT
cvsdist 53226c2
cvsdist 53226c2
%pre
cvsdist 53226c2
/usr/sbin/useradd -u 47 -d /var/spool/mqueue -r -s /dev/null mailnull >/dev/null 2>&1 || :
cvsdist 53226c2
cvsdist 53226c2
%postun
cvsdist 53226c2
if [ "$1" -ge "1" ]; then
cvsdist 53226c2
    %{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 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
/sbin/chkconfig --add sendmail
cvsdist 53226c2
cvsdist 53226c2
%preun
cvsdist 53226c2
if [ $1 = 0 ]; then
cvsdist 53226c2
   %{initdir}/sendmail stop >/dev/null 2>&1
cvsdist 53226c2
   /sbin/chkconfig --del sendmail
cvsdist 53226c2
fi
cvsdist 53226c2
cvsdist 53226c2
%triggerpostun -- sendmail < 8.10.0
cvsdist 53226c2
/sbin/chkconfig --add sendmail
cvsdist 53226c2
cvsdist 53226c2
%files
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 53226c2
/usr/sbin/mailstats
cvsdist 53226c2
/usr/sbin/praliases
cvsdist 53226c2
/usr/bin/hoststat
cvsdist 53226c2
/usr/bin/purgestat
cvsdist 53226c2
/usr/bin/rmail
cvsdist 53226c2
/usr/bin/makemap
cvsdist 53226c2
/usr/sbin/makemap
cvsdist 53226c2
/usr/sbin/sendmail
cvsdist 53226c2
/usr/bin/newaliases
cvsdist 53226c2
/usr/bin/mailq
cvsdist 53226c2
/usr/sbin/smrsh
cvsdist 53226c2
/usr/lib/sendmail
cvsdist 1f04523
/usr/lib/libmilter/libmilter.a
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 53226c2
%{_mandir}/man5/aliases.5*
cvsdist 53226c2
%{_mandir}/man1/newaliases.1*
cvsdist 53226c2
%{_mandir}/man1/mailq.1*
cvsdist 53226c2
cvsdist e63041c
%config(noreplace)		/etc/mail/statistics
cvsdist 101e095
%config(noreplace)		/etc/sendmail.cf
cvsdist 83f6af4
%attr(0644,root,root) %config(noreplace)	/etc/mail/sendmail.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 53226c2
%attr(0755,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 53226c2
%config %{_libdir}/sasl/Sendmail.conf
cvsdist 83f6af4
/etc/pam.d/smtp
cvsdist 53226c2
cvsdist 53226c2
%files cf
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 83f6af4
/usr/share/sendmail-cf
cvsdist 53226c2
cvsdist 53226c2
%files doc
cvsdist 53226c2
%defattr(-,root,root)
cvsdist 53226c2
%{_docdir}/sendmail
cvsdist 53226c2
cvsdist 53226c2
%changelog
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.