%define initdir /etc/rc.d/init.d %define alternatives 1 %define sendmaildir %{_prefix}/lib Summary: A widely used Mail Transport Agent (MTA) Name: sendmail Version: 8.14.0 Release: %mkrel 1 License: BSD Group: System/Servers Provides: mail-server sendmail-command Conflicts: vacation postfix URL: http://www.sendmail.org Source0: ftp://ftp.sendmail.org/pub/sendmail/%{name}.%{version}.tar.bz2 Source1: sendmail.init Source3: aliases Source4: sendmail.sysconfig Source5: sendmail-etc-mail-Makefile Source6: sendmail-mandrake.mc Source7: Sendmail.conf Source8: sendmail.pam Source9: sendmail-real-time.mc Source10: README.mdk Source11: sendmail-submit.mc Source13: sendmail-certs.sh Patch1: sendmail-8.10.0-makemapman.patch Patch3: sendmail-8.8.7-rmail.patch Patch4: sendmail-8.10.0-aliasesDoS.patch Patch5: sendmail-8.12.10-movefiles.patch Patch9: sendmail-8.14.0-mdk.patch Patch11: sendmail-8.12.5-main_finis.patch Patch50: sendmail-8.11.1-up-limit.patch Buildroot: %{_tmppath}/%{name}-%{version}-buildroot Requires(pre): rpm-helper Requires(pre): /usr/sbin/update-alternatives Requires: procmail Requires: bash >= 2.0 Requires: cyrus-sasl Requires: openssl Requires: setup BuildRequires: db4-devel BuildRequires: cyrus-sasl BuildRequires: groff-for-man BuildRequires: libgdbm-devel BuildRequires: openssl-devel BuildRequires: libsasl-devel BuildRequires: tcp_wrappers-devel BuildRequires: libldap-devel BuildRequires: openssl %description The Sendmail program is a very widely used Mail Transport Agent (MTA). MTAs send mail from one machine to another. Sendmail is not a client program, which you use to read your e-mail. Sendmail is a behind-the-scenes program which actually moves your e-mail over networks or the Internet to where you want it to go. If you ever need to reconfigure Sendmail, you'll also need to have the sendmail.cf package installed. If you need documentation on Sendmail, you can install the sendmail-doc package. %package doc Summary: Documentation about the Sendmail Mail Transport Agent program Group: System/Servers %description doc The sendmail-doc package contains documentation about the Sendmail Mail Transport Agent (MTA) program, including release notes, the Sendmail FAQ and a few papers written about Sendmail. The papers are provided in PostScript(TM) and troff formats. Install the sendmail-doc package if you need documentation about Sendmail. %package cf Summary: The files needed to reconfigure Sendmail Group: System/Servers Requires: make, m4 %description cf This package includes the configuration files which you'd need to generate the sendmail.cf file distributed with the sendmail package. You'll need the sendmail-cf package if you ever need to reconfigure and rebuild your sendmail.cf file. For example, the default sendmail.cf file is not configured for UUCP. If someday you needed to send and receive mail over UUCP, you'd need to install the sendmail-cf package to help you reconfigure Sendmail. Install the sendmail-cf package if you need to reconfigure your sendmail.cf file. %package devel Summary: Sendmail static libraries and headers file Group: Development/Other %description devel This package includes the static libraries and header files %prep %setup -q %patch1 -p1 -b .makemapman %patch3 -p1 -b .rmail %patch4 -p1 -b .aliases %patch5 -p1 -b .movefiles %patch9 -p1 -b .mdk %patch11 -p1 ## %patch50 -p1 -b .up-limit ## # XXX REVERTING sed -e 's|@@PATH@@|\.\.|' < %{SOURCE6} > cf/cf/mandrake.mc sed -e 's|@@PATH@@|\.\.|' < %{SOURCE9} > cf/cf/real-time.mc cp -f %{SOURCE11} cf/cf/submit.mc # (sb) smrsh path fixes in docs perl -pi -e 's|\/usr\/libexec|\/usr\/sbin|g' smrsh/README perl -pi -e 's|\/usr\/adm\/sm.bin|\/etc\/smrsh|g' smrsh/README perl -pi -e 's|\/usr\/lib\/sendmail|\/usr\/sbin\/sendmail|g' smrsh/README echo 'Paths modified for Mandriva Linux mailto:sbenedict@mandriva.com' >> smrsh/README perl -pi -e 's|\/usr\/adm\/sm.bin|\/etc\/smrsh|g' smrsh/smrsh.8 perl -pi -e 's|sm.bin|\/etc\/smrsh|g' smrsh/smrsh.8 head -n -17 smrsh/smrsh.8 > smrsh/smrsh.8.mdk cat << EOF >> smrsh/smrsh.8.mdk .SH FILES /etc/smrsh \- directory for restricted programs .SH SEE ALSO sendmail(8) EOF mv smrsh/smrsh.8.mdk smrsh/smrsh.8 # (sb) m4 path perl -pi -e 's|\`sh \$BUILDTOOLS\/bin\/find_m4.sh\`|\/usr\/bin\/m4|g' cf/cf/Build %build %serverbuild export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -DNETINET6" export confLIBDIR=%{_libdir} %make %install rm -rf %buildroot mkdir -p %buildroot/{%_sysconfdir/sysconfig,%{initdir},%_sysconfdir/pam.d} mkdir -p %buildroot/{%_bindir,%_libdir,%{sendmaildir},%{_mandir}/man{1,5,8},%_sbindir} mkdir -p %buildroot/{var/log,var/spool,%_datadir/sendmail-cf,%_includedir/libmilter} mkdir -p %buildroot/%_docdir/sendmail OBJDIR=obj.$(uname -s).$(uname -r).$(arch) # fix default id and gid during install steps nameuser=`id -nu` namegroup=`id -ng` export confLIBDIR=%{_libdir} export ID="SBINOWN=${nameuser} SBINGRP=${namegroup} UBINOWN=${nameuser} UBINGRP=${namegroup} MANOWN=${nameuser} MANGRP=${namegroup} MSPQOWN=${nameuser} GBINGRP=${namegroup} GBINOWN=${nameuser} GBINGRP=${namegroup} MSPQOWN=${nameuser} MBINOWN=${nameuser} MBINGRP=${namegroup} LIBOWN=${nameuser} LIBGRP=${namegroup} CFOWN=${nameuser} CFGRP=${namegroup} INCOWN=${nameuser} INCGRP=${namegroup} CFMODE=0644" # (sb) fix example perl script interpreter paths sed -i 's|/usr/local/bin/perl|/usr/bin/perl|' contrib/*.pl %makeinstall DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man CF=mandrake $ID %make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man $ID force-install -C $OBJDIR/rmail %make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man $ID force-install -C $OBJDIR/mail.local %make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man $ID install -C $OBJDIR/smrsh ln -sf ../sbin/makemap $RPM_BUILD_ROOT/usr/bin/makemap # install docs by hand - do it in builddir instead of RPM_BUILD_ROOT rm -fr sendmail-docs mkdir -p sendmail-docs%{_docdir}/sendmail cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc sendmail-docs%{_docdir}/sendmail cp smrsh/README sendmail-docs%{_docdir}/sendmail/README.smrsh cp sendmail/README sendmail-docs%{_docdir}/sendmail/README.sendmail cp sendmail/SECURITY sendmail-docs%{_docdir}/sendmail/SECURITY.sendmail cp sendmail/TUNING sendmail-docs%{_docdir}/sendmail/TUNING.sendmail cp mail.local/README sendmail-docs%{_docdir}/sendmail/README.mail.local cp cf/README sendmail-docs%{_docdir}/sendmail/README.cf cp cf/cf/README sendmail-docs%{_docdir}/sendmail/README.install-cf cp %{SOURCE10} sendmail-docs%{_docdir}/sendmail/ cp libmilter/README sendmail-docs%{_docdir}/sendmail/README.libmilter cp -ar libmilter/docs/ sendmail-docs%{_docdir}/sendmail/libmilter # install the cf files make DESTDIR=$RPM_BUILD_ROOT MANROOT=%{_mandir}/man $ID CF=mandrake install-cf -C cf/cf pushd cf cp -ar * $RPM_BUILD_ROOT/usr/share/sendmail-cf install -m 644 %{SOURCE9} $RPM_BUILD_ROOT/usr/share/sendmail-cf/cf rm -f $RPM_BUILD_ROOT/usr/share/sendmail-cf/*/*.m4path make -C cf mandrake.cf popd mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/mail sed -e 's|@@PATH@@|/usr/share/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/%_sysconfdir/mail/sendmail.mc echo "# local-host-names - include all aliases for your machine here." > $RPM_BUILD_ROOT/%_sysconfdir/mail/local-host-names ( echo "# trusted-users - users that can send mail as others without a warning" echo "# apache, mailman, majordomo, uucp, are good candidates" ) \ > $RPM_BUILD_ROOT/%_sysconfdir/mail/trusted-users install -d -m755 %buildroot/var/spool/mqueue install -d -m755 %buildroot/var/spool/clientmqueue # dangling symlinks ln -sf ../sbin/sendmail.sendmail %buildroot/%{sendmaildir}/sendmail for f in hoststat mailq newaliases purgestat do ln -sf ../sbin/sendmail.sendmail %buildroot/%_bindir/${f} done mkdir -p %buildroot/%_sysconfdir/smrsh cat <<EOF > $RPM_BUILD_ROOT/%_sysconfdir/mail/access # Check the /usr/share/doc/sendmail-%{version}/README.cf file for a description # of the format of this file. (search for access_db in that file) # The /usr/share/doc/sendmail-%{version}/README.cf is part of the sendmail-doc # package. # # by default we allow relaying from localhost... localhost.localdomain RELAY localhost RELAY 127.0.0.1 RELAY EOF for map in virtusertable access domaintable mailertable do touch $RPM_BUILD_ROOT/%_sysconfdir/mail/${map} chmod 0644 $RPM_BUILD_ROOT/%_sysconfdir/mail/${map} $RPM_BUILD_ROOT/usr/sbin/makemap -C $RPM_BUILD_ROOT/%_sysconfdir/mail/sendmail.cf hash $RPM_BUILD_ROOT/%_sysconfdir/mail/${map}.db < $RPM_BUILD_ROOT/%_sysconfdir/mail/${map} chmod 0644 $RPM_BUILD_ROOT/%_sysconfdir/mail/${map}.db done install -m644 %{SOURCE3} $RPM_BUILD_ROOT/%_sysconfdir/aliases $RPM_BUILD_ROOT/usr/sbin/makemap -C $RPM_BUILD_ROOT/%_sysconfdir/mail/sendmail.cf hash $RPM_BUILD_ROOT/%_sysconfdir/aliases.db < %{SOURCE3} install -m644 %SOURCE4 $RPM_BUILD_ROOT/%_sysconfdir/sysconfig/sendmail install -m755 %SOURCE1 $RPM_BUILD_ROOT%{initdir}/sendmail install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/%_sysconfdir/mail/Makefile chmod u+w $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases} chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail install -m755 -d $RPM_BUILD_ROOT%{_libdir}/sasl2 install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl2/Sendmail.conf install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/%_sysconfdir/pam.d/smtp # add certs directory for STARTTLS mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/ssl/%{name} # create placeholder certs pushd $RPM_BUILD_ROOT/%_sysconfdir/ssl/%{name} sh %{SOURCE13} popd %if %{alternatives} mv $RPM_BUILD_ROOT%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_sbindir}/sendmail.sendmail mv $RPM_BUILD_ROOT/%{sendmaildir}/sendmail $RPM_BUILD_ROOT/%{sendmaildir}/sendmail.sendmail %endif # (sb) logrotate install -d $RPM_BUILD_ROOT%_sysconfdir/logrotate.d cat << EOF > $RPM_BUILD_ROOT%_sysconfdir/logrotate.d/statistics /var/log/statistics { missingok compress postrotate service sendmail reload endscript } EOF # make strip able to touch these chmod 755 %{buildroot}%{_bindir}/* %{buildroot}%{_sbindir}/* %clean rm -fr $RPM_BUILD_ROOT %pre %_pre_useradd mailnull /var/spool/mqueue /dev/null %_pre_useradd smmsp /var/spool/mqueue /dev/null %postun if [ "$1" -ge "1" ]; then ${initdir}/sendmail condrestart > /dev/null 2>&1 fi exit 0 %_postun_userdel mailnull %_postun_userdel smmsp %post # # Convert old format to new # if [ -f %_sysconfdir/mail/deny ] ; then cat %_sysconfdir/mail/deny | \ awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \ {print $1" REJECT"}' >> %_sysconfdir/mail/access cp %_sysconfdir/mail/deny %_sysconfdir/mail/deny.rpmorig fi for oldfile in relay_allow ip_allow name_allow ; do if [ -f %_sysconfdir/mail/$oldfile ] ; then cat %_sysconfdir/mail/$oldfile | \ awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \ { print \$1\" RELAY\" }" >> %_sysconfdir/mail/access cp %_sysconfdir/mail/$oldfile %_sysconfdir/mail/$oldfile.rpmorig fi done %if %{alternatives} # # Set up the alternatives files for MTAs. # /usr/sbin/update-alternatives --install %{_sbindir}/sendmail sendmail-command %{_sbindir}/sendmail.sendmail 10 \ --slave %{sendmaildir}/sendmail sendmail-command-in_libdir %{_sbindir}/sendmail.sendmail \ #--initscript sendmail %endif # # Oops, these files moved # if [ -f %_sysconfdir/sendmail.cf -a ! -f %_sysconfdir/mail/sendmail.cf ] ; then sed -e 's/^O AutoRebuildAliases/#O AutoRebuildAliases/' %_sysconfdir/sendmail.cf > %_sysconfdir/mail/sendmail.cf mv %_sysconfdir/sendmail.cf %_sysconfdir/sendmail.cf.rpmorig fi if [ -f %_sysconfdir/sendmail.cw ] ; then cat %_sysconfdir/sendmail.cw | \ awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \ { print $1 }' >> %_sysconfdir/mail/local-host-names cp %_sysconfdir/sendmail.cw %_sysconfdir/sendmail.cw.rpmorig fi # # Rebuild maps (next reboot will rebuild also) # { /usr/bin/newaliases for map in virtusertable access domaintable mailertable do if [ -f %_sysconfdir/mail/${map} ] ; then /usr/sbin/makemap hash %_sysconfdir/mail/${map} < %_sysconfdir/mail/${map} sleep 1 fi done } > /dev/null 2>&1 %_post_service sendmail %preun %_preun_service sendmail if [ $1 = 0 ]; then %if %alternatives update-alternatives --remove sendmail-command %{_sbindir}/sendmail.sendmail %endif fi %triggerpostun -- sendmail < 8.10.0 /sbin/chkconfig --add sendmail %files %defattr(-,root,root) %attr(0555,bin,bin) /usr/bin/vacation /usr/bin/hoststat /usr/bin/purgestat /usr/bin/makemap %attr(0555,bin,bin) /usr/sbin/makemap %attr(0555,bin,bin) /usr/sbin/editmap %attr(0555,bin,bin) /usr/sbin/mail.local %attr(0555,bin,bin) /usr/sbin/smrsh %attr(0555,bin,bin) /usr/sbin/mailstats %attr(0555,bin,bin) /usr/sbin/praliases %if %{alternatives} %attr(2555,root,mail)/usr/sbin/sendmail.sendmail %{sendmaildir}/sendmail.sendmail %else %attr(2555,root,mail) /usr/sbin/sendmail %attr(0555,bin,bin) /usr/bin/rmail %{sendmaildir}/sendmail %endif /usr/bin/rmail /usr/bin/newaliases /usr/bin/mailq %{_mandir}/man*/*.bz2 # XXX can't do noreplace here or new sendmail will not deliver. %dir %_sysconfdir/smrsh %dir %_sysconfdir/mail %attr(0755,root,mail) %dir %_sysconfdir/ssl/%{name} %attr(0600,root,mail) %config(noreplace) %_sysconfdir/ssl/%{name}/* %config(noreplace) %_sysconfdir/mail/Makefile %attr(0444,root,mail) %config(noreplace) %_sysconfdir/mail/sendmail.cf %attr(0444,root,mail) %config(noreplace) %_sysconfdir/mail/submit.cf %attr(0644,root,mail) %config(noreplace) %_sysconfdir/mail/sendmail.mc %config(noreplace) %_sysconfdir/mail/local-host-names %config(noreplace) %_sysconfdir/aliases %attr(0644,root,root) %ghost %_sysconfdir/aliases.db %attr(0750,root,mail) %dir /var/spool/mqueue %attr(0770,mail,mail) %dir /var/spool/clientmqueue %attr(4555,root,mail) /var/log/statistics %attr(0644,root,root) %ghost %_sysconfdir/mail/virtusertable.db %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/virtusertable %attr(0644,root,root) %ghost %_sysconfdir/mail/access.db %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/access %attr(0644,root,root) %ghost %_sysconfdir/mail/domaintable.db %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/domaintable %attr(0644,root,root) %ghost %_sysconfdir/mail/mailertable.db %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/mailertable %attr(0644,bin,bin) %config(noreplace) %_sysconfdir/mail/helpfile %attr(0644,root,root) %config(noreplace) %_sysconfdir/mail/trusted-users %config(noreplace) %_sysconfdir/sysconfig/sendmail %config(noreplace) %{initdir}/sendmail %config(noreplace) %{_libdir}/sasl2/Sendmail.conf %config(noreplace) %_sysconfdir/logrotate.d/statistics %config(noreplace) %_sysconfdir/pam.d/smtp %files cf %defattr(-,root,root) /usr/share/sendmail-cf %files doc %defattr(-,root,root) %doc contrib sendmail-docs%{_docdir}/sendmail %files devel %defattr(-,root,root) %doc libsm/{*.html,README} sendmail-docs%{_docdir}/sendmail/{libmilter,README.libmilter} %dir %{_includedir}/libmilter %{_includedir}/libmilter/*.h %{_libdir}/lib*.a %changelog * Thu Feb 15 2007 Stew Benedict <sbenedict@mandriva.com> 8.14.0-1mdv2007.0 + Revision: 121447 - Import sendmail * Thu Feb 15 2007 Stew Benedict <sbenedict@mandriva.com> 8.14.0-1mdv2007.0 - 8.14.0 - rediff P9 - bunzip patches * Wed Aug 30 2006 Stew Benedict <sbenedict@mandriva.com> 8.13.8-1mdv2007.0 - 8.13.8 (security fix for CVE-2006-4434) - fix init script for sm-client so restart works when the client has died * Thu Jun 15 2006 Stew Benedict <sbenedict@mandriva.com> 8.13.7-1mdv2007.0 - 8.13.7 (security update for CVE-2006-1173) * Wed Mar 22 2006 Stew Benedict <sbenedict@mandriva.com> 8.13.6-1mdk - 8.13.6 (security update) * Mon Mar 06 2006 Stew Benedict <sbenedict@mandriva.com> 8.13.5-4mdk - update pam config * Fri Feb 10 2006 Stew Benedict <sbenedict@mandriva.com> 8.13.5-3mdk - parallel init * Sun Nov 13 2005 Oden Eriksson <oeriksson@mandriva.com> 8.13.5-2mdk - rebuilt against openssl-0.9.8a - make strip able to touch the binaries * Mon Oct 03 2005 Stew Benedict <sbenedict@mandriva.com> 8.13.5-1mdk - 8.13.5 * Tue Sep 06 2005 Oden Eriksson <oeriksson@mandriva.com> 8.13.4-6mdk - rebuild - ake/iva * Tue Aug 30 2005 Oden Eriksson <oeriksson@mandriva.com> 8.13.4-5mdk - rebuilt against new openldap-2.3.6 libs * Fri Jul 01 2005 Stew Benedict <sbenedict@mandriva.com> 8.13.4-4mdk - new provides/alternatives scheme proposed by Guillaume * Mon Jun 07 2005 Stew Benedict <sbenedict@mandriva.com> 8.13.4-3mdk - forgot to define alternative as mta-smtp * Mon Jun 07 2005 Stew Benedict <sbenedict@mandriva.com> 8.13.4-2mdk - use alternates for /etc/pam.d/smtp (#16287) * Mon May 02 2005 Stew Benedict <sbenedict@mandriva.com> 8.13.4-1mdk - New release 8.13.4, logrotate "statstics", fix perl path in examples * Fri Feb 04 2005 Buchan Milne <bgmilne@linux-mandrake.com> 8.13.3-2mdk - rebuild for ldap2.2_7 * Fri Jan 28 2005 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.3-1mdk - 8.13.3 * Thu Dec 23 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.2-1mdk - 8.13.2 - more spec cleanup/rework (Stephane Lentz) - redo patch9 - drop patch2 (patch9 does some, perl does the rest) - drop patch0 (patch9 picks it up now) - drop patch7 (use perl -pi) * Mon Dec 13 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.1-2mdk - fix auth setup (Bugzilla #12309), - warn about need for libsasl2-plug-<foo> for auth - some spec cleanups (Stephane Lentz), maybe more later - drop source2, 12 - rename source 5 * Tue Aug 10 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.1-1mdk - 8.13.1 - rebuild against libdb4.2 * Mon Jul 26 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.0-2mdk - fix paths in sendmail.mc (Jeremy Anderson) * Thu Jul 1 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.13.0-1mdk - 8.13.0 * Thu Jan 22 2004 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.11-1mdk - 8.12.11, rework patch2 * Thu Dec 11 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.10-1mdk - 8.12.10, rework patch2,5, drop patch12 (merged upstream) * Mon Oct 13 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 8.12.9-8mdk - fix deps, build on amd64 * Wed Sep 17 2003 Vincent Danen <vdanen@mandrakesoft.com> 8.12.9-7mdk - security fix * Tue Sep 2 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.9-6mdk - buildrequires - fix for amd64 * Mon Jul 21 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.9-5mdk - AUTH/STARTTLS setup with certs, spec cleaning - sasl2/Sendmail.conf change (Brad Felmey) * Mon Jul 14 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 8.12.9-4mdk - built against new requires and buildrequires (db4.1, sasl2) * Fri May 16 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.9-3mdk - status and nullclient fixes [Bug 3932] * Mon Apr 28 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.9-2mdk - distriblint * Mon Mar 31 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.9-1mdk - security update 8.12.9 * Mon Mar 17 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.8-2mdk - fix initscript to respect sysconfig DAEMON variable - BUG 3400 * Mon Mar 3 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.8-1mdk - security update 8.12.8 * Mon Feb 10 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.7-3mdk - correct init script for both sendmail and postfix installed [BUG1497] * Sat Jan 25 2003 Stefan van der Eijk <stefan@eijk.nu> 8.12.7-2mdk - BuildRequires * Mon Jan 6 2003 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.7-1mdk - 8.12.7, drop patches 10,12,13 * Fri Dec 27 2002 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.6-5mdk - rebuild for new glibc/rpm * Mon Dec 9 2002 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.6-4mdk - enable IPv6 (Eric Vyncke <evyncke@cisco.com>) - patches from CVS for large files xfer using sasl, queue run error - anti-relaying (P13) (Stephane Lentz <Stephane.Lentz@ansf.alcatel.fr>) - deal with installed but not packaged files - (docs - build them up outside of RPM_BUILD_ROOT) * Wed Nov 13 2002 Vincent Danen <vdanen@mandrakesoft.com> 8.12.6-3mdk - fix for smrsh vulns (P12) * Sat Oct 26 2002 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.6-2mdk - fix shutdown script (thx Quel Qun) - macro-ify daemon user additions, add daemon user removals * Fri Oct 25 2002 Stew Benedict <sbenedict@mandrakesoft.com> 8.12.6-1mdk - new release, update prereq, * Wed Aug 21 2002 Daouda LO <daouda@mandrakesoft.com> 8.12.5-1mdk - release 8.12.5 o sendmail new config file (cf /usr/share/doc/sendmail/README.mdk) o many fixes/enhancements - reworked the spec file. * Mon Jun 24 2002 Yves Duret <yduret@mandrakesoft.com> 8.12.1-6mdk - fix init script to call foo.sendmail binaries (update-alternatives) * Thu Jun 13 2002 Yves Duret <yduret@mandrakesoft.com> 8.12.1-5mdk - use update-alternatives - buildrequires. (one per line, libdb3.2-devel --> db3-devel again, removed one on gcc) - manual rebuild with gcc3.1 environement. - add url. - fix build. - fix strange-permission on some src files. - fix use-of-RPM_SOURCE_DIR. - fix hardcoded-library-path. - let spechelper strip binaries. hey guy, more than two years that we do that ! * Thu Oct 18 2001 Philippe Libat <philippe@mandrakesoft.com> 8.12.1-4mdk - rebuild for new cyrus-sasl - fix PrivacyOptions more restricted - fix AutoRebuildAlias in migration from previous version * Tue Oct 16 2001 Stefan van der Eijk <stefan@eijk.nu> 8.12.1-3mdk - BuildRequires: libdb3.2-devel --> db3-devel * Thu Oct 04 2001 Philippe Libat <philippe@mandrakesoft.com> 8.12.1-2mdk - remove sfio depencies - add mandrake.mc * Tue Oct 02 2001 Philippe Libat <philippe@mandrakesoft.com> 8.12.1-1mdk - security update: version 8.12.1 - fix m4 configuration * Fri Sep 28 2001 Philippe Libat <philippe@mandrakesoft.com> 8.12.0-1mdk - new version : 8.12.0 - added MailFilter support - added devel package * Sat Sep 22 2001 Giuseppe Ghibò <ghibo@mandrakesoft.com> 8.11.6-3mdk - replaced /etc/sendmail.mc with /etc/mail/sendmail.mc in dnl docs about m4. - removed predefined RBL lists: blackholes.mail-abuse.org, dialups.mail-abuse.org and relays.mail-abuse.org (too high slowdown and local DNS cache to blackholes.mail-abuse.org requires subscription fees). - added %%build_80 flag for 8.0. - removed duplicated entry in /usr/share/sendmail-cf/cf/cf/sendmail-real-time.mc (already real-time.mc). * Tue Aug 21 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 8.11.6-1mdk - A new and shiny sendmail to close a security problem. * Mon Aug 13 2001 Philippe Libat <philippe@mandrakesoft.com> 8.11.5-1mdk - version 8.11.5 - Bug#: 3780, patch from natecars@real-time.com - default sendmail.cf from real-time.mc * Sat Jul 07 2001 Stefan van der Eijk <stefan@eijk.nu> 8.11.4-4mdk - BuildRequires: db3-devel - BuildRequires: libgdbm-devel - Normalized other BuildRequires (libopenssl0-devel --> openssl-devel) * Fri Jul 06 2001 Philippe Libat <philippe@mandrakesoft.com> 8.11.4-3mdk - new db3 * Sun Jun 17 2001 Stefan van der Eijk <stefan@eijk.nu> 8.11.4-2mdk - BuildRequires: libldap-devel * Thu May 31 2001 Stefan van der Eijk <stefan@eijk.nu> 8.11.4-1mdk - 8.11.4 * Thu May 31 2001 Stefan van der Eijk <stefan@eijk.nu> 8.11.3-3mdk - BuildRequires: libopenssl0-devel, tcp_wrappers-devel * Sat Apr 14 2001 David BAUDENS <baudens@mandrakesoft.com> 8.11.3-2mdk - BuildRequires: sfio-devel and not only sfio * Wed Apr 11 2001 Philippe Libat <philippe@mandrakesoft.com> 8.11.3-1mdk - updated to 8.11.3 - enabled LDAP, SMTP Authentication, and STARTTLS * Thu Mar 29 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 8.11.2-4mdk - use post_service and preun_service macros - use serverbuild macro * Mon Mar 19 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 8.11.2-3mdk - daemon=no by default. - Make it works (compile with sasl / initscripts and mc glitches). - Merge with RH packages. * Mon Jan 29 2001 Pixel <pixel@mandrakesoft.com> 8.11.2-2mdk - put back sendmail setuid as required by "Brian J. Murrell" <cooker-in@interlinx.bc.ca> * Sat Jan 27 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 8.11.2-1mdk - new and shiny source. - put a requirement on make. * Tue Nov 14 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 8.11.1-3mdk - Set sendmail a suid. * Sat Nov 11 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 8.11.1-2mdk - QUEUE_LA, REFUSE_LA as 100. * Sun Oct 29 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 8.11.1-1mdk - put a new and shiny source in cooker. * Wed Oct 11 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 8.11.0-4mdk - provides MailTransportAgent for fetchmail * Mon Sep 4 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 8.11.0-3mdk - config-noreplace initscript * Thu Aug 26 2000 David BAUDENS <baudens@mandrakesoft.com> 8.11.0-2mdk - Fix bad dependencies on Perl - %%config(noreplace) /etc/sendmail.cf * Wed Aug 23 2000 Philippe Libat <philippe@mandrakesoft.com> 8.11.0-1mdk - version 8.11.0 - replace %%_mandir, %%_initrddir * Fri May 12 2000 Saugey Vincent <vince@mandrakesoft.com> 8.10.1-2mdk - Fix good directory to use makemap with sendmail installed - Remove strip of file * Mon Apr 17 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 8.10.1-1mdk - updated to 8.10.1 - re-did ppc fixes - Merged with RedHat: remove compatiblity chkconfig links break the hard link for makemap and create it as a symlnk (#8223) change perms on /etc/sysconfig/sendmail from 0755 to 0644 allow compressed man-pages add patch to prevent the DoS when rebuilding aliases Fix location of mailertable (Bug #6035) fixes for non-root builds (#8178) install man pages, not groff output (#3746). use dnl not '#' in m4 comment (#3749). add FEATURE(mailtertable) to the config -- example file needs this (#4649). * Mon Mar 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 8.9.3-22mdk - fixed install step not to depend on already installed stuff. - new groups. * Sun Mar 19 2000 John Buswell <johnb@mandrakesoft.com> 8.9.3-21mdk - Added PPC fixes * Wed Jan 12 2000 Philippe Libat <philippe@mandrakesoft.com> - Add attr to aliases.db in sendmail.spec * Wed Nov 10 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Die if lord postfix is present. * Tue Oct 26 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Merge with redhat patch. * Wed Jul 07 1999 Axalon Bloodstone <axalon@linux-mandrake.com> - more sleep deprivation derived type-o's * Wed Jul 07 1999 Axalon Bloodstone <axalon@linux-mandrake.com> - sendmail init now checks for postfix * Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale - fix handling of RPM_OPT_FLAGS * Tue Mar 16 1999 Cristian Gafton <gafton@redhat.com> - version 8.9.3 * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> - build for 6.0 - use the libdb1 stuff correctly * Mon Sep 21 1998 Michael K. Johnson <johnsonm@redhat.com> - Allow empty QUEUE in /etc/sysconfig/sendmail for those who want to run sendmail in daemon mode without processing the queue regularly. * Thu Sep 17 1998 Michael K. Johnson <johnsonm@redhat.com> - /etc/sysconfig/sendmail * Fri Aug 28 1998 Jeff Johnson <jbj@redhat.com> - recompile statically linked binary for 5.2/sparc * Tue May 05 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Sat May 02 1998 Cristian Gafton <gafton@redhat.com> - enhanced initscripts * Fri May 01 1998 Cristian Gafton <gafton@redhat.com> - added a rmail patch * Wed Oct 29 1997 Donnie Barnes <djb@redhat.com> - argh! Fixed some of the db1 handling that had to be added for glibc 2.1 * Fri Oct 24 1997 Donnie Barnes <djb@redhat.com> - added support for db1 on SPARC * Thu Oct 16 1997 Donnie Barnes <djb@redhat.com> - added chkconfig support - various spec file cleanups - changed group to Networking/Daemons (from Daemons). Sure, it runs on non networked systems, but who really *needs* it then? * Wed Oct 08 1997 Donnie Barnes <djb@redhat.com> - made /etc/mail/deny.db a ghost - removed preun that used to remove deny.db (ghost handles that now) - NOTE: upgrading from the sendmail packages in 4.8, 4.8.1, and possibly 4.9 (all Red Hat betas between 4.2 and 5.0) could cause problems. You may need to do a makemap in /etc/mail and a newaliases after upgrading from those packages. Upgrading from 4.2 or prior should be fine. * Mon Oct 06 1997 Erik Troan <ewt@redhat.com> - made aliases.db a ghost * Tue Sep 23 1997 Donnie Barnes <djb@redhat.com> - fixed preuninstall script to handle aliases.db on upgrades properly * Mon Sep 15 1997 Donnie Barnes <djb@redhat.com> - fixed post-install output and changed /var/spool/mqueue to 755 * Thu Sep 11 1997 Donnie Barnes <djb@redhat.com> - fixed /usr/lib/sendmail-cf paths * Tue Sep 09 1997 Donnie Barnes <djb@redhat.com> - updated to 8.8.7 - added some spam filtration - combined some makefile patches - added BuildRoot support * Wed Sep 03 1997 Erik Troan <ewt@redhat.com> - marked initscript symlinks as missingok - run newalises after creating /var/spool/mqueue * Thu Jun 12 1997 Erik Troan <ewt@redhat.com> - built against glibc, udated release to -6 (skipped -5!) * Tue Apr 01 1997 Erik Troan <ewt@redhat.com> - Added -nsl on the Alpha (for glibc to provide NIS functions). * Mon Mar 03 1997 Erik Troan <ewt@redhat.com> - Added nis support.