# Build options %define with_ldap 0 %define with_sasl 0 %define with_sasl2 1 %define with_tls 1 %define initdir /etc/rc.d/init.d Summary: A widely used Mail Transport Agent (MTA). Summary(ja): 広く使用されているメール配送エージェント (MTA)。 Name: sendmail Version: 8.14.2 Release: 1%{?_dist_release} URL: http://www.sendmail.org/ License: Sendmail Group: System Environment/Daemons Provides: smtpdaemon Source0: ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{version}.tar.gz Source1: sendmail.init Source2: site.config.m4.vine Source3: sendmail.aliases Source4: sendmail.sysconfig Source5: sendmail.etc-mail-Makefile Source6: sendmail-vine.mc Source7: Sendmail-sasl.conf Source8: sendmail.pam Source9: sendmail-8.12.5-newconfig.readme Source10: makecert.sh Source11: Sendmail-sasl2.conf #Patch: sendmail-8.12.2-makemapman.patch #Patch1: sendmail-8.12.11-smrsh-paths.patch Patch2: sendmail-8.12.10-movefiles.patch Patch3: sendmail-8.13.7-pid.vine.patch Patch4: sendmail-8.12.7-manpage.patch #Patch5: sendmail-8.13.0-dynamic.patch Patch6: sendmail-8.13.0-cyrus.patch #Patch7: sendmail-8.13.1-parseaddr.c.cataddr.8.379.patch Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: db4-devel, tcp_wrappers #Provides: %{_sbindir}/sendmail %{_bindir}/mailq %{_bindir}/newaliases #Provides: %{_bindir}/rmail %{_mandir}/man1/mailq.1.gz #Provides: %{_mandir}/man1/newaliases.1.gz %{_mandir}/man5/aliases.5.gz Prereq: /sbin/chkconfig /usr/sbin/useradd /bin/mktemp fileutils gawk sed sh-utils Conflicts: postfix exim Requires: procmail, bash >= 2.0 %if %{with_ldap} BuildRequires: openldap-devel openssl-devel Prereq: openldap openssl %endif %if %{with_sasl} || %{with_sasl2} BuildRequires: cyrus-sasl-devel openssl-devel Prereq: cyrus-sasl openssl %endif %if %{with_tls} BuildRequires: openssl-devel Prereq: openssl %endif Vendor: Project Vine Distribution: Vine Linux %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 email. Sendmail is a behind-the-scenes program which actually moves your email over networks or the Internet to where you want it to go. If you ever need to reconfigure Sendmail, you will also need to have the sendmail.cf package installed. If you need documentation on Sendmail, you can install the sendmail-doc package. %description -l ja Sendmailプログラムはとても広く使われているメール配送エージェント (MTA) です。MTAはメールをマシンから別のマシンに送ります。 Sendmailはメールを 読む時に使うクライアントプログラムではありません。Sendmailはメールをネ ットワークやインターネット経由で送りたい所に実際に送っている裏方のプロ グラムです。 Sendmailを再設定する必要がある場合には sendmail.cfパッケージもインスト ールされている必要があります。Sendmailに関するドキュメントが必要な場合 はsendmail-docパッケージをインストールして下さい。 %package doc Summary: Documentation about the Sendmail Mail Transport Agent program. Summary(ja): Sendmailメール配送エージェントプログラムに関するドキュメント。 Group: Applications/Documentation %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. %description doc -l ja sendmail-docパッケージはSendmailメール配送エージェント (MTA)プログラム に関するドキュメントです。 リリースノート、Sendmailに関するFAQ、そして いくつかのSendmailに関する文書を含んでいます。この文書はPostScript(TM) とtroff形式で提供されています。 %package devel Summary: Extra development include files and development files. Summary(ja): 特別な開発のためのインクルードファイルと開発のためのファイル。 Group: Development/Libraries %description devel Include files and devel libraries for e.g. the milter addons as part of sendmail. %description devel -l ja 開発のためのインクルードファイルとライブラリです。例をあげればmilterは sendmailの一部として追加されています。 %package cf Summary: The files needed to reconfigure Sendmail. Summary(ja): Sendmailの再設定に必要なファイル Group: System Environment/Daemons Requires: m4 %description cf This package includes the configuration files you need to generate the sendmail.cf file distributed with the sendmail package. You will need the sendmail-cf package if you ever need to reconfigure and rebuild your sendmail.cf file. %description cf -l ja このパッケージはsendmailパッケージと共に配布されている sendmail.cfファ イルの生成に必要な設定ファイルを含んでいます。 sendmail.cfファイルを再 設定し生成する必要がある場合、sendmail-cfパッケージが必要になります。 %prep %setup -q #%patch -p1 -b .makemapman #%patch1 -p1 -b .smrsh_paths %patch2 -p1 -b .movestuff %patch3 -p1 -b .pid %patch4 -p1 -b .manpage #%patch5 -p1 -b .dynamic %patch6 -p1 -b .cyrus #%patch7 -p1 -b .cataddr %build cp %{SOURCE2} devtools/Site/site.config.m4 %if %{with_ldap} cat >> devtools/Site/site.config.m4 << EOF APPENDDEF(\`confMAPDEF', \`-DLDAPMAP')dnl APPENDDEF(\`confENVDEF', \`-DSM_CONF_LDAP_MEMFREE=1')dnl APPENDDEF(\`confLIBS', \`-lldap -llber -lssl -lcrypto')dnl EOF %endif %if %{with_sasl2} cat >> devtools/Site/site.config.m4 << EOF APPENDDEF(\`confENVDEF', \`-DSASL=2 -D_FFR_UNSAFE_SASL')dnl APPENDDEF(\`confLIBS', \`-lsasl2 -lcrypto')dnl EOF %elseif %{with_sasl} cat >> devtools/Site/site.config.m4 << EOF APPENDDEF(\`confENVDEF', \`-DSASL=1 -D_FFR_UNSAFE_SASL')dnl APPENDDEF(\`confLIBS', \`-lsasl -lcrypto')dnl EOF %endif %if %{with_tls} cat >> devtools/Site/site.config.m4 << EOF APPENDDEF(\`conf_sendmail_ENVDEF', \`-DSTARTTLS')dnl APPENDDEF(\`conf_sendmail_LIBS', \`-lssl -lcrypto')dnl EOF %endif for i in libmilter libsmutil sendmail mailstats rmail praliases \ smrsh makemap ; do pushd $i sh Build popd done %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT cd $RPM_BUILD_ROOT mkdir -p etc/sysconfig .%{initdir} etc/pam.d mkdir -p usr/bin usr/include/libmilter usr/lib .%{_mandir}/man{1,5,8} mkdir -p usr/sbin var/log var/spool .%{_datadir}/sendmail-cf cd - OBJDIR=obj.$(uname -s).$(uname -r).$(arch) nameuser=`id -nu` namegroup=`id -ng` Make() { make $@ \ DESTDIR=$RPM_BUILD_ROOT \ MANROOT=%{_mandir}/man \ SBINOWN=${nameuser} SBINGRP=${namegroup} \ UBINOWN=${nameuser} UBINGRP=${namegroup} \ MANOWN=${nameuser} MANGRP=${namegroup} \ INCOWN=${nameuser} INCGRP=${namegroup} \ LIBOWN=${nameuser} LIBGRP=${namegroup} \ GBINOWN=${nameuser} GBINGRP=${namegroup} \ CFOWN=${nameuser} CFGRP=${namegroup} \ MSPQOWN=${nameuser} } Make install -C $OBJDIR/libmilter Make install -C $OBJDIR/libsmutil Make install -C $OBJDIR/sendmail Make install -C $OBJDIR/mailstats Make force-install -C $OBJDIR/rmail Make install -C $OBJDIR/praliases Make install -C $OBJDIR/smrsh Make install -C $OBJDIR/makemap touch $RPM_BUILD_ROOT/rootfile root=.. while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do root=${root}/.. done ln -sf ${root}%{_sbindir}/makemap $RPM_BUILD_ROOT%{_bindir}/makemap # Install docs by hand for the sendmail-doc package. DOC=$RPM_BUILD_ROOT%{_docdir}/sendmail mkdir -p $DOC cp -ar FAQ LICENSE KNOWNBUGS README RELEASE_NOTES doc $DOC cp sendmail/README $DOC/README.sendmail cp sendmail/SECURITY $DOC/SECURITY cp smrsh/README $DOC/README.smrsh cp libmilter/README $DOC/README.libmilter cp cf/README $DOC/README.cf cp %{SOURCE9} $DOC/README.vine cp %{SOURCE10} $DOC/makecert.sh # Install the cf files for the sendmail-cf package. cp -ar cf/* $RPM_BUILD_ROOT%{_datadir}/sendmail-cf install -d -m 755 $RPM_BUILD_ROOT/etc/mail sed -e 's|@@PATH@@|%{_datadir}/sendmail-cf|' < %{SOURCE6} > $RPM_BUILD_ROOT/etc/mail/sendmail.mc sed -e 's|%{_datadir}/sendmail-cf|\.\.|' < $RPM_BUILD_ROOT/etc/mail/sendmail.mc > cf/cf/vine.mc (cd cf/cf && m4 vine.mc > vine.cf) install -m 644 cf/cf/vine.cf $RPM_BUILD_ROOT/etc/mail/sendmail.cf install -m 644 cf/cf/submit.mc $RPM_BUILD_ROOT/etc/mail/submit.mc echo "# local-host-names - include all aliases for your machine here." \ > $RPM_BUILD_ROOT/etc/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/etc/mail/trusted-users touch $RPM_BUILD_ROOT/rootfile root=.. while [ ! -r $RPM_BUILD_ROOT%{_libdir}/${root}/rootfile ]; do root=${root}/.. done #ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail ln -sf ../sbin/sendmail $RPM_BUILD_ROOT%{_libdir}/sendmail install -d -m 775 $RPM_BUILD_ROOT/var/spool/mqueue install -d -m 755 $RPM_BUILD_ROOT/var/spool/clientmqueue # dangling symlinks touch $RPM_BUILD_ROOT/rootfile root=.. while [ ! -r $RPM_BUILD_ROOT%{_bindir}/${root}/rootfile ]; do root=${root}/.. done for f in hoststat mailq newaliases purgestat ; do ln -sf ${root}%{_sbindir}/sendmail $RPM_BUILD_ROOT%{_bindir}/${f} done install -d -m 755 $RPM_BUILD_ROOT/etc/smrsh cat < $RPM_BUILD_ROOT/etc/mail/access # Check the /usr/share/doc/sendmail/README.cf file for a description # of the format of this file. (search for access_db in that file) # The /usr/share/doc/sendmail/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/etc/mail/${map} chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map} $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} chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db done install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases $RPM_BUILD_ROOT/usr/bin/makemap -C $RPM_BUILD_ROOT/etc/mail/sendmail.cf hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3} install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/sendmail install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{initdir}/sendmail install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/mail/Makefile chmod u+w $RPM_BUILD_ROOT/usr/sbin/{mailstats,praliases} chmod u+w $RPM_BUILD_ROOT/usr/bin/rmail %if %{with_sasl2} install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl2 install -m 644 %{SOURCE11} $RPM_BUILD_ROOT%{_libdir}/sasl2/Sendmail.conf %elseif %{with_sasl} install -m 755 -d $RPM_BUILD_ROOT%{_libdir}/sasl install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/sasl/Sendmail.conf %endif install -m 644 %{SOURCE8} $RPM_BUILD_ROOT/etc/pam.d/smtp install -m 755 -d $RPM_BUILD_ROOT%{_libdir} install -m 644 $OBJDIR/libmilter/libmilter.a $RPM_BUILD_ROOT%{_libdir} install -m 644 $OBJDIR/libsmutil/libsmutil.a $RPM_BUILD_ROOT%{_libdir} install -m 644 $OBJDIR/libsm/libsm.a $RPM_BUILD_ROOT%{_libdir} %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %pre /usr/sbin/useradd -u 47 -d /var/spool/mqueue -r -s /sbin/nologin mailnull >/dev/null 2>&1 /usr/sbin/useradd -u 51 -d /var/spool/mqueue -r -s /sbin/nologin smmsp >/dev/null 2>&1 exit 0 %postun if [ "$1" -ge "1" ]; then %{initdir}/sendmail condrestart >/dev/null 2>&1 fi exit 0 %post # # Convert old format to new # if [ -f /etc/mail/deny ]; then cat /etc/mail/deny | \ awk 'BEGIN{ print "# Entries from obsoleted /etc/mail/deny"} \ {print $1" REJECT"}' >> /etc/mail/access cp /etc/mail/deny /etc/mail/deny.rpmorig fi for oldfile in relay_allow ip_allow name_allow ; do if [ -f /etc/mail/$oldfile ]; then cat /etc/mail/$oldfile | \ awk "BEGIN { print \"# Entries from obsoleted /etc/mail/$oldfile\" ;} \ { print \$1\" RELAY\" }" >> /etc/mail/access cp /etc/mail/$oldfile /etc/mail/$oldfile.rpmorig fi done # # Remove deprecated config flags which are probably harmless to remove # cf=`/bin/mktemp /etc/mail/sendmail.cf.XXXXXX` if [ "$cf" != "" ]; then sed 's/^O AutoRebuildAliases$/#&/g' /etc/mail/sendmail.cf > ${cf} && \ cat ${cf} > /etc/mail/sendmail.cf rm ${cf} fi /sbin/chkconfig --add sendmail # # Oops, these files moved # if [ -f /etc/sendmail.cw ]; then cat /etc/sendmail.cw | \ awk 'BEGIN { print "# Entries from obsoleted /etc/sendmail.cw" ;} \ { print $1 }' >> /etc/mail/local-host-names cp /etc/sendmail.cw /etc/sendmail.cw.rpmorig fi # # Rebuild maps (next reboot will rebuild also) # { chown root /etc/aliases.db /etc/mail/access.db /etc/mail/mailertable.db \ /etc/mail/domaintable.db /etc/mail/virtusertable.db /usr/bin/newaliases for map in virtusertable access domaintable mailertable ; do if [ -f /etc/mail/${map} ]; then /usr/bin/makemap hash /etc/mail/${map} < /etc/mail/${map} fi done } > /dev/null 2>&1 %preun if [ $1 = 0 ]; then %{initdir}/sendmail stop >/dev/null 2>&1 /sbin/chkconfig --del sendmail fi exit 0 %triggerpostun -- sendmail < 8.10.0 /sbin/chkconfig --add sendmail %files %defattr(-,root,root) /usr/bin/hoststat /usr/bin/makemap /usr/bin/purgestat /usr/sbin/mailstats /usr/sbin/makemap /usr/sbin/praliases %attr(2755,root,smmsp)/usr/sbin/sendmail /usr/bin/rmail /usr/bin/newaliases /usr/bin/mailq /usr/sbin/smrsh /usr/lib/sendmail %{_mandir}/man8/rmail.8* %{_mandir}/man8/praliases.8* %{_mandir}/man8/mailstats.8* %{_mandir}/man8/makemap.8* %{_mandir}/man8/sendmail.8* %{_mandir}/man8/smrsh.8* %{_mandir}/man5/aliases.5* %{_mandir}/man1/newaliases.1* %{_mandir}/man1/mailq.1* %config(noreplace) /etc/mail/statistics %config(noreplace) /etc/mail/sendmail.cf %config(noreplace) /etc/mail/submit.cf %attr(0644,root,root) %config(noreplace) /etc/mail/sendmail.mc %attr(0644,root,root) %config(noreplace) /etc/mail/submit.mc %config(noreplace) /etc/mail/local-host-names %config(noreplace) /etc/aliases %attr(0644,root,root) %ghost /etc/aliases.db %attr(0770,smmsp,smmsp) %dir /var/spool/clientmqueue %attr(0700,root,mail) %dir /var/spool/mqueue %dir /etc/smrsh %dir /etc/mail %config /etc/mail/Makefile %attr(0644,root,root) %ghost /etc/mail/virtusertable.db %attr(0644,root,root) %config(noreplace) /etc/mail/virtusertable %attr(0644,root,root) %ghost /etc/mail/access.db %attr(0644,root,root) %config(noreplace) /etc/mail/access %attr(0644,root,root) %ghost /etc/mail/domaintable.db %attr(0644,root,root) %config(noreplace) /etc/mail/domaintable %attr(0644,root,root) %ghost /etc/mail/mailertable.db %attr(0644,root,root) %config(noreplace) /etc/mail/mailertable %attr(0644,root,root) %config(noreplace) /etc/mail/helpfile %attr(0644,root,root) %config(noreplace) /etc/mail/trusted-users %config(noreplace) /etc/sysconfig/sendmail %config %{initdir}/sendmail /etc/pam.d/smtp %if %{with_sasl2} %config %{_libdir}/sasl2/Sendmail.conf %elseif %{with_sasl} %config %{_libdir}/sasl/Sendmail.conf %endif %files cf %defattr(-,root,root) %{_datadir}/sendmail-cf %files devel %defattr(-,root,root) %{_includedir}/libmilter/*.h %{_libdir}/libmilter.a %{_libdir}/libsmutil.a %{_libdir}/libsm.a %files doc %defattr(-,root,root) %{_docdir}/sendmail %changelog * Sat Jun 21 2008 MATSUBAYASHI Kohji - 8.14.2-1 - rebuilt against db4-4.6.21 - new versioning policy with spec in UTF-8 * Thu Nov 15 2007 Ryoichi INAGAKI 8.14.2-0vl3 - rebuilt 8.14.2-0vl1 for VineSeed * Thu Nov 15 2007 Ryoichi INAGAKI 8.14.2-0vl2 - rebuilt 8.14.2-0vl1 for VinePlus/4.0 * Tue Nov 13 2007 yamamoto 8.14.2-0vl1 - update to 8.14.2 * Sun Aug 5 2007 Ryoichi INAGAKI 8.14.1-0vl2 - rebuilt for VinePlus/4.x - changed doc Group to Applications/Documentation - changed devel Group to Development/Libraries * Sun Jun 10 2007 yamamoto 8.14.1-0vl1 - update to 8.14.1 * Wed Sep 6 2006 yamamoto 8.13.8-0vl1 - update to 8.13.8 * Sat Jul 1 2006 yamamoto 8.13.7-0vl1 - update to 8.13.7 * Sun Apr 9 2006 yamamoto 8.13.6-0vl1 - update to 8.13.6 * Sun Feb 5 2006 yamamoto 8.13.5-0vl1 - update to 8.13.5 * Sun May 15 2005 yamamoto 8.13.4-0vl1 - update to 8.13.4 * Mon Sep 13 2004 Masaki Suzuki 8.13.1-0vl3 - rebuild for Vine 3.0 * Mon Sep 13 2004 Masaki Suzuki 8.13.1-0vl2 - add parseaddr.c.cataddr.8.379 patch * Mon Aug 16 2004 Masaki Suzuki 8.13.1-0vl1 - update to 8.13.1 * Sat Jul 24 2004 Masaki Suzuki 8.13.0-0vl2 - rebuild for Vine 3.0 * Sat Jul 24 2004 Masaki Suzuki 8.13.0-0vl1 - update to 8.13.0 - add milter.c.8.224 patch * Wed Feb 25 2004 Masaki Suzuki 8.12.11-0vl4 - fix Sendmail.conf for cyrus-sasl-1 - add build option for SASL2 - build with cyrus-sasl-2 support * Sun Feb 22 2004 Masaki Suzuki 8.12.11-0vl3 - update site.config.m4.vine - some fix sepc file * Thu Feb 19 2004 Masaki Suzuki 8.12.11-0vl2 - rebuild for VineSeed - build with cyrus-sasl support * Tue Feb 17 2004 Masaki Suzuki 8.12.11-0vl1 - update to 8.12.11 - adjust rpm license tag to say "Sendmail" - add build options for LDAP, SASL and TLS - update sendmail-vine.mc - update initscript - clean up spec file * Fri Sep 19 2003 Masaki Suzuki 8.12.10-0vl1 - update to 8.12.10 * Thu Apr 3 2003 Masaki Suzuki 8.12.9-0vl1 - update to 8.12.9 * Tue Mar 4 2003 Masaki Suzuki 8.12.8-0vl1 - update to 8.12.8 * Fri Jan 10 2003 Masaki Suzuki 8.12.7-0vl2 - add proto.m4.8.649.2.14 patch * Tue Dec 31 2002 Masaki Suzuki 8.12.7-0vl1 - update to 8.12.7 * Sun Dec 8 2002 Masaki Suzuki 8.12.6-0vl3 - fix Summary(ja) and %description -l ja sections in spec file * Thu Dec 5 2002 Masaki Suzuki 8.12.6-0vl2 - add proto.m4.8.649.2.13 patch for access restrictions imposed via check_relay. * Wed Oct 23 2002 Masaki Suzuki 8.12.6-0vl1 - 8.12.6 - add smrsh-20020924.patch for smrsh bypass vulnerabilities - initial RPM for Vine Linux based on 8.12.5-7 of RHL * Thu Aug 29 2002 Florian La Roche - clean up some specfile cruft - add more pseudo accounts to /etc/aliases * Thu Jul 25 2002 Phil Knirsch - Only generate new cf files if the /usr/share/sendmail-cf/m4/cf.m4 exists. * Wed Jul 24 2002 Phil Knirsch - Changed the behaviour in /etc/mail/Makefile to generate the sendmail.cf and submit.cf from the mc files if they changed. - Added a small README.redhat that descibed the new mc file behaviour and the split into sendmail.cf and submit.cf. * Wed Jul 24 2002 Florian La Roche - suggestions form Stephane Lentz: - add correct include statement into submit.mc (like sendmail.mc) - add commented out further suggestions into submit.mc - disable ident lookups * Thu Jul 11 2002 Florian La Roche - fix initscript for the second daemon and pidfile location #67910 * Mon Jul 01 2002 Florian La Roche - update to 8.12.5 * Thu Jun 27 2002 Florian La Roche - add further queue runs, slight spec-file cleanups * Fri Jun 21 2002 Tim Powers - automated rebuild * Tue Jun 11 2002 Florian La Roche - update to 8.12.4, adjust smrsh patch * Thu May 23 2002 Tim Powers - automated rebuild * Sat Apr 13 2002 Florian La Roche - update to 8.12.3 * Tue Mar 26 2002 Tim Powers - rebuilt * Mon Mar 25 2002 Florian La Roche - fix alternatives --remove #61737 - add sendmail/SECURITY as docu #61870, #61545 * Wed Mar 20 2002 Florian La Roche - add libsm.a #61270 - change from /etc/sendmail.cf to /etc/mail/sendmail.cf - add milter patch * Wed Mar 13 2002 Bill Nottingham - ignore DAEMON=no; that configuration no longer functions * Wed Mar 13 2002 Florian La Roche - make sure more version information is in the cf file #54418 - do not use "-b" flag when patching in spec file - require newer chkconfig version #61035 - fix preun script #60880 - add TMPF to access file creation #60956 * Sat Mar 09 2002 Florian La Roche - mv include files to /usr/include/libmilter/ #60795 - do not use "-f" option to virtusertable #60196 - ad an example smarthost entry to config file #58298 * Fri Mar 8 2002 Bill Nottingham 8.12.2-5 - use alternatives --initscript support - run chkconfig --add before alternatives * Thu Feb 28 2002 Bill Nottingham 8.12.2-3 - run alternatives --remove in %preun - add some prereqs * Mon Feb 25 2002 Nalin Dahyabhai 8.12.2-2 - fix smmsp useradd invocation in %%pre - switch back to db3 for storing db files * Wed Feb 20 2002 Nalin Dahyabhai 8.12.2-1 - update to 8.12.2 (adds STARTTLS support without need for sfio) - don't forcibly strip binaries; let the build root handle it - add creation of the smmsp account (51/51) in %%pre - enable hesiod map support - modify default config to use an MSP - comment out 'O AutoRebuildAliases' in %%post, otherwise sendmail will fail to restart on upgrades * Wed Feb 20 2002 Florian La Roche - add proper ifdefs around new alternative stuff to also be able to build this for older releases * Fri Feb 1 2002 Bill Nottingham 8.11.6-12 - %triggerpostun on older versions to make sure alternatives work on upgrades * Thu Jan 31 2002 Bill Nottingham 8.11.6-11 - clean up alternatives somewhat, provide /usr/sbin/sendmail & friends * Thu Jan 31 2002 Bernhard Rosenkraenzer 8.11.6-10 - Use alternatives * Tue Jan 22 2002 Florian La Roche - fix quotation in spec-file * Thu Jan 10 2002 Florian La Roche - integrate ugly logic to compile this src.rpm also on older Red Hat Linux releases - clean up spec file and patches a bit - add db4 support * Wed Jan 09 2002 Florian La Roche - fix another path to correct docu - include sendmail/README in the docu - compile with -D_FFR_WORKAROUND_BROKEN_NAMESERVERS, but do not enable this at runtime - devel subpackage files owned by root now * Fri Dec 07 2001 Florian La Roche - change "-q" to "-s" as option to make #57216 - move milter lib into separate "devel" sub-package - add include files to devel sub-package #56064 - fix pointer in access file to docu #54351 * Mon Sep 10 2001 Florian La Roche - add libmilter docu - add support for userdb to /etc/mail/Makefile - use "btree" database files if a userdb is used - buildrequires tcp_wrappers * Fri Aug 31 2001 Florian La Roche - fix libmilter support - fix init script to use /etc/mail/Makefile #52932 * Sat Aug 25 2001 Florian La Roche - add libmilter library * Thu Aug 23 2001 Florian La Roche - update to 8.11.6 - correctly use /etc/mail/statistics * Thu Aug 09 2001 Florian La Roche - change init script back to older conventions #51297 - remove DoS patch, not needed anymore #51247 * Mon Aug 06 2001 Florian La Roche - add option '-t' to procmail for local mail delivery * Tue Jul 24 2001 Florian La Roche - point to the map files in sendmail.cf as pointed out by David Beveridge * Mon Jul 23 2001 Florian La Roche - add build requires #49695 - do not call "userdel" * Tue Jul 10 2001 Florian La Roche - change sendmail.cf to "noreplace" * Thu Jun 07 2001 Florian La Roche - update to 8.11.4 * Wed May 09 2001 Florian La Roche - update to 8.11.3 - add "localhost.localdomain" to the list of hostnames accepted for local delivery "Cw" in /etc/mail/sendmail.mc - add patches from Pekka Savola - Enable IPv6 at compile time, patch for glibc 2.2 from PLD - Add a commented-out IPv6 daemon .mc line to sendmail.mc - buildrequire: openldap-devel, cyrus-sasl-devel * Fri Mar 2 2001 Nalin Dahyabhai - rebuild in new environment * Tue Feb 27 2001 Florian La Roche - add noreplace for /etc/sysconfig/sendmail and /etc/mail/sendmail.mc * Wed Feb 21 2001 Florian La Roche - add changes from Christopher McCrory : - prepare /etc/mail/Makefile for more maps not shipped with this rpm - changed sendmail.mc to include some more commented out options, so that people are directly pointed at important options - add /etc/pam.d/smtp for AUTH - add FEATURE(use_ct_file) and /etc/mail/trusted-users * Fri Feb 16 2001 Tim Powers - don't obsolete postfix and exim, only conflict (for RHN purposes) * Thu Feb 15 2001 Trond Eivind Glomsr - obsolete and conflict with exim and postfix * Wed Feb 14 2001 Florian La Roche - fix devision by zero bug in #20395 - mv /usr/lib/sendmail-cf /usr/share/sendmail-cf * Wed Feb 7 2001 Trond Eivind Glomsr - i18n tweaks to initscript * Wed Feb 07 2001 Florian La Roche - aliases.db should be owned by group root * Wed Jan 24 2001 Florian La Roche - prepare for startup-script translation * Tue Jan 23 2001 Florian La Roche - enable daemon mode again, but only listen to the loopback device instead of all devices. - do not include check.tar with old anti-spam rules * Fri Jan 12 2001 Florian La Roche - fix configuration of /etc/aliases * Mon Jan 08 2001 Florian La Roche - fix interoperation problems with communigate pro - disable msa * Thu Jan 04 2001 Florian La Roche - update to (security release) 8.11.2 - build also on RHL 6.x #16061 - include smrsh man-page #17901 - use the "-f" flag for makemap to preserve case for virtusertable and userdb in /etc/mail/Makefile - suggested by Harald Hoyer - fix /usr/doc -> usr/share/doc in docu #20611 - wrong path in sendmail.mc #20691 - tcp-wrapper support wasn't enabled correctly #21642 - do not expose user "root" when masquerading like in older releases #21643 - disable the VRFY and EXPN smtp commands #21801 - disable queue-runs for normal users (restrictqrun privacy flag) - fix typo in sendmail.mc #21880, #22682 - disable daemon mode to see what needs fixing * Mon Oct 02 2000 Florian La Roche - update to 8.11.1 * Fri Sep 08 2000 Nalin Dahyabhai - rebuild in new environment * Tue Aug 22 2000 Nalin Dahyabhai - apply fixes for LDAP maps being closed too soon * Mon Aug 14 2000 Nalin Dahyabhai - provide /usr/lib/sasl/Sendmail.conf so that people know we can use it (#16064) * Mon Aug 7 2000 Florian La Roche - enable listening on the smtp port again * Fri Aug 4 2000 Nalin Dahyabhai - fix "missing find_m4.sh" problem by defining M4=/usr/bin/m4 (#14767) * Mon Jul 31 2000 Nalin Dahyabhai - okay, enable LDAP support again - enable SMTP auth support via Cyrus SASL * Tue Jul 25 2000 Nalin Dahyabhai - disable the LDAP support until we can remove the sendmail->OpenLDAP->perl dep - fix prereq * Tue Jul 25 2000 Florian La Roche - update to sendmail 8.11.0 - add LDAP support * Thu Jul 20 2000 Bill Nottingham - move initscript back * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jul 9 2000 Florian La Roche - require procmail - add further aliases * Sat Jul 8 2000 Florian La Roche - prereq init.d - fix typo * Tue Jul 4 2000 Florian La Roche - ignore error from useradd * Fri Jun 30 2000 Than Ngo - FHS fixes - /etc/rc.d/init.d -> /etc/init.d - fix initscript * Fri Jun 23 2000 Florian La Roche - change to /usr/share/man * Wed Jun 21 2000 Preston Brown - turn off daemon behaviour by default * Mon Jun 18 2000 Bill Nottingham - rebuild, fix dependencies * Sat Jun 10 2000 Bill Nottingham - prereq /usr/sbin/useradd * Fri May 19 2000 Florian La Roche - enable MAP_REGEX - enable tcp_wrapper support * Thu May 18 2000 Florian La Roche - fix etc/mail/aliases -> /etc/aliases in sendmail-redhat.mc * Wed May 3 2000 Bill Nottingham - update to 8.10.1 - fix build without sendmail installed - add 'mailnull' user * Wed Mar 15 2000 Bill Nottingham - update to 8.10.0 - remove compatiblity chkconfig links - add a mailnull user for sendmail to use * Thu Feb 17 2000 Cristian Gafton - break the hard link for makemap and create it as a symlnk (#8223) * Thu Feb 17 2000 Bernhard Rosenkr舅zer - Fix location of mailertable (Bug #6035) * Sat Feb 5 2000 Bill Nottingham - fixes for non-root builds (#8178) * Wed Feb 2 2000 Florian La Roche - change perms on /etc/sysconfig/sendmail from 0755 to 0644 - allow compressed man-pages * Thu Dec 02 1999 Cristian Gafton - add patch to prevent the DoS when rebuilding aliases * Wed Sep 1 1999 Jeff Johnson - 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). - use db2 not db1. * Tue Aug 31 1999 Jeff Johnson - add 127.0.0.1 to /etc/mail/access to avoid IDENT: relay problem (#3178). * Tue Aug 31 1999 Bill Nottingham - chkconfig --del in preun, not postun (#3982) * Mon Aug 16 1999 Bill Nottingham - initscript munging * Fri Jul 02 1999 Cristian Gafton - fixed typo bug in comment in the default .mc file (#2812) * Mon Apr 19 1999 Cristian Gafton - fox the awk scripts in the postinstall - enable FEATURE(accept_unresolvable_domains) by default to make laptop users happy. * Sun Apr 18 1999 Cristian Gafton - make the redhat.mc be a separate source files. Sanitize patches that used to touch it. - install redhat.mc as /etc/sendmail.mc so that people can easily modify their sendmail.cf configurations. * Mon Apr 05 1999 Cristian Gafton - fixed virtusertable patch - make smrsh look into /etc/smrsh * Mon Mar 29 1999 Jeff Johnson - remove noreplace attr from sednmail.cf. * Thu Mar 25 1999 Cristian Gafton - provide a more sane /etc/mail/access default config file - use makemap to initializa the empty databases, not touch - added a small, but helpful /etc/mail/Makefile * Mon Mar 22 1999 Jeff Johnson - correxct dangling symlinks. - check for map file existence in %post. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Fri Mar 19 1999 Jeff Johnson - improved 8.9.3 config from Mike McHenry * Tue Mar 16 1999 Cristian Gafton - version 8.9.3 * Tue Dec 29 1998 Cristian Gafton - build for 6.0 - use the libdb1 stuff correctly * Mon Sep 21 1998 Michael K. Johnson - 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 - /etc/sysconfig/sendmail * Fri Aug 28 1998 Jeff Johnson - recompile statically linked binary for 5.2/sparc * Tue May 05 1998 Prospector System - translations modified for de, fr, tr * Sat May 02 1998 Cristian Gafton - enhanced initscripts * Fri May 01 1998 Cristian Gafton - added a rmail patch * Wed Oct 29 1997 Donnie Barnes - argh! Fixed some of the db1 handling that had to be added for glibc 2.1 * Fri Oct 24 1997 Donnie Barnes - added support for db1 on SPARC * Thu Oct 16 1997 Donnie Barnes - 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 - 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 - made aliases.db a ghost * Tue Sep 23 1997 Donnie Barnes - fixed preuninstall script to handle aliases.db on upgrades properly * Mon Sep 15 1997 Donnie Barnes - fixed post-install output and changed /var/spool/mqueue to 755 * Thu Sep 11 1997 Donnie Barnes - fixed /usr/lib/sendmail-cf paths * Tue Sep 09 1997 Donnie Barnes - updated to 8.8.7 - added some spam filtration - combined some makefile patches - added BuildRoot support * Wed Sep 03 1997 Erik Troan - marked initscript symlinks as missingok - run newalises after creating /var/spool/mqueue * Thu Jun 12 1997 Erik Troan - built against glibc, udated release to -6 (skipped -5!) * Tue Apr 01 1997 Erik Troan - Added -nsl on the Alpha (for glibc to provide NIS functions). * Mon Mar 03 1997 Erik Troan - Added nis support.