Summary: The exim mail transfer agent Name: exim Version: 4.20 Release: 1KPS Copyright: GPL Distribution:Exim Url: http://www.exim.org/ Packager: Karl Schmidt Group: System Environment/Daemons Buildroot: %{_tmppath}/%{name}-build.root Provides: smtpdaemon Requires(preun,postun): /sbin/service Requires(post,preun): /sbin/chkconfig Requires: bash >= 2.0 #Conflicts: sendmail, postfix Source: ftp://ftp.exim.org/pub/exim/exim-%{version}.tar.bz2 Source1: aliases Source2: exim.init Source3: exim.sysconfig Source4: exim.logrotate #Edit the Makefile below to build custom RPMS - please put your initials in the release #number above Source5: Makefile Source6: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/FAQ-html.tar.bz2 Source7: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/exim-html-4.20.tar.bz2 Source8: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/exim-postscript-4.20.tar.bz2 #Source9: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/exim-pdf-4.20.tar.bz2 #Source10: eximconfig Source11: exim.pam Source12: ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/config.samples.tar.bz2 #Source13: ftp://ftp.exim.org/pub/exim/Contrib/scripts/analyse-log-errors #Source14: ftp://ftp.exim.org/pub/exim/Contrib/scripts/one-line-queuelist #Source15: ftp://ftp.exim.org/pub/exim/Contrib/scripts/resend-mail #Source16: ftp://ftp.exim.org/pub/filter/system_filter.exim #Source17: ftp://ftp.exim.org/pub/exim/Contrib/doc/configure-annotated-1 #Source18: ftp://ftp.exim.org/pub/exim/Contrib/doc/configure-annotated-2 Source19: prohibition.messages #Source20: html://xtronics.com/exim/auth-tls-template Source21: html://xtronics.com/exim/exim.clean Source22: html://xtronics.com/exim/exim_rfcs.tar.bz2 Source23: Config_index.txt Source24: http://www.eng.dmu.ac.uk/~hgs/e-mail/exim/Exim_help.tar.gz Source25: ftp://ftp.exim.org/pub/exim/FAQ.txt.bz2 #Patch0: exim-Local-Makefile.patch #Patch2: db2.patch #Patch3: exim-perlfix.patch #Patch4: exim-rhl.patch Patch6: exim_help.patch Patch99: exim-clean.patch Patch100: exim-4.20-krb5inc.patch BuildRequires: db3-devel openldap-devel openssl-devel XFree86-devel tcp_wrappers freecdb %description Exim, a sendmailmail replacement, is a Mail Transport Agent (MTA) developed at the University of Cambridge. In style it is similar to Smail 3, but its facilities are more extensive, and in particular it has options for verifying incoming sender and recipient addresses, for refusing mail from specified hosts, networks, or senders, and for controlling mail relaying. Exim is in production use at quite a few sites, some of which move hundreds of thousands of messages per day. Five perl utilitys are included to automate mantanence. A cron job is installed to run exim-tidydb on a daily basis. postfix %package mon Summary: X11 monitor application for exim Group: Applications/System Copyright: Free %description mon The Exim Monitor is an optional supplement to the Exim package. It displays information about Exim's processing in an X window, and an administrator can perform a number of control actions from the window interface. %package doc Summary: Exim documentation with exim_help utility Group: Documentation %description doc This package includes the Exim FAQ and Exim manual in HTML,PostScript and PDF form. There are also many Config example scripts. There is also a utility called exim_help that searches and prints out information based on key words. %prep %setup -q %setup -q -T -D -a 7 cp $RPM_SOURCE_DIR/Makefile ./Local/ cp $RPM_SOURCE_DIR/exim.clean . mv exim-html-4.20/doc html/ bzip2 -dck $RPM_SOURCE_DIR/FAQ-html.tar.bz2 > html/FAQ.html cp CHANGES doc cp LICENCE doc cp NOTICE doc cp README doc cp README.UPDATING doc mkdir txt bzip2 -dck $RPM_SOURCE_DIR/FAQ.txt.bz2 > txt/FAQ.txt mv doc/spec.txt txt/ mv doc/filter.txt txt/ %setup -q -T -D -a 8 mv exim-postscript-4.20/doc ps #%setup -q -T -D -a 9 #mv exim-pdf-4.20/doc pdf %setup -q -T -D -a 12 mv config.samples contributed-confs %setup -q -T -D -a 22 %setup -q -T -D -a 24 mkdir -p misc-scripts mkdir -p cookbook mkdir -p exim_help cp util/unknownuser.sh misc-scripts #cp $RPM_SOURCE_DIR/analyse-log-errors misc-scripts #cp $RPM_SOURCE_DIR/one-line-queuelist misc-scripts #cp $RPM_SOURCE_DIR/resend-mail misc-scripts #cp $RPM_SOURCE_DIR/system_filter.exim cookbook #cp $RPM_SOURCE_DIR/configure-annotated-1 cookbook/Configure-annotated-1 #cp $RPM_SOURCE_DIR/configure-annotated-2 cookbook/Configure-annotated-2 cp $RPM_SOURCE_DIR/prohibition.messages cookbook #cp $RPM_SOURCE_DIR/auth-lts-template cookbook cp $RPM_SOURCE_DIR/Config_index.txt contributed-confsa cp Exim_help/BUGS exim_help cp Exim_help/CHANGES exim_help cp Exim_help/INTERNAL exim_help cp Exim_help/README exim_help cp Exim_help/TODO exim_help #mkdir -p Local #cp src/EDITME Local/Makefile #%patch0 -p0 -b .make cp exim_monitor/EDITME Local/eximon.conf #%patch3 -p1 -b .patch3 #%patch2 -p1 -b .patch2 #%patch4 -p1 -b .rhl %patch6 -b .virg %patch99 -p0 -b .patch99 %patch100 -p1 -b .patch100 %build make CFLAGS="$RPM_OPT_FLAGS" DBMLIB="-ldb" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/sbin mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/etc/pam.d mkdir -p $RPM_BUILD_ROOT/etc/exim mkdir -p $RPM_BUILD_ROOT/etc/cron.daily install -m 0764 exim.clean $RPM_BUILD_ROOT/etc/cron.daily/exim cd build-`scripts/os-type`-`scripts/arch-type` install -m 4775 exim $RPM_BUILD_ROOT/usr/sbin for i in eximon eximon.bin exim_dumpdb exim_fixdb exim_tidydb \ exim_checkaccess \ exinext exiwhat exim_dbmbuild exicyclog exim_lock \ exigrep eximstats exiqsumm convert4r3 convert4r4 do install -m 0775 $i $RPM_BUILD_ROOT/usr/sbin done cd .. #for i in exigrep eximstats exiqsumm convert4r3 #do # install -m 0775 util/$i $RPM_BUILD_ROOT/usr/sbin #done install -d -m 0755 $RPM_BUILD_ROOT/etc/exim/ install -m 0644 src/configure.default $RPM_BUILD_ROOT/etc/exim/exim.conf install -m 0644 $RPM_SOURCE_DIR/prohibition.messages $RPM_BUILD_ROOT/etc/exim/prohibition.messages install -m 0644 $RPM_SOURCE_DIR/aliases $RPM_BUILD_ROOT/etc/aliases install -m 0644 $RPM_SOURCE_DIR/exim.pam $RPM_BUILD_ROOT/etc/pam.d/exim pushd $RPM_BUILD_ROOT/usr/lib/ ln -sf ../sbin/exim sendmail popd pushd $RPM_BUILD_ROOT/usr/sbin/ ln -sf exim sendmail popd pushd $RPM_BUILD_ROOT/usr/bin/ ln -sf ../sbin/exim mailq ln -sf ../sbin/exim runq ln -sf ../sbin/exim rsmtp ln -sf ../sbin/exim rmail ln -sf ../sbin/exim newaliases popd install -d -m 0750 $RPM_BUILD_ROOT/var/spool/exim install -d -m 0750 $RPM_BUILD_ROOT/var/spool/exim/db install -d -m 0750 $RPM_BUILD_ROOT/var/spool/exim/input install -d -m 0750 $RPM_BUILD_ROOT/var/spool/exim/msglog install -d -m 0750 $RPM_BUILD_ROOT/var/log/exim mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install doc/exim.8 $RPM_BUILD_ROOT%{_mandir}/man8/exim.8 install Exim_help/exim_help.8 $RPM_BUILD_ROOT%{_mandir}/man8/exim_help.8 mkdir -p $RPM_BUILD_ROOT/etc/sysconfig install -m 644 $RPM_SOURCE_DIR/exim.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/exim mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d install $RPM_SOURCE_DIR/exim.init $RPM_BUILD_ROOT/etc/rc.d/init.d/exim mkdir -p $RPM_BUILD_ROOT/etc/logrotate.d install -m 0644 $RPM_SOURCE_DIR/exim.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/exim install -m 0755 Exim_help/exim_help $RPM_BUILD_ROOT/usr/sbin strip $RPM_BUILD_ROOT/usr/sbin/* || : chmod g-w $RPM_BUILD_ROOT/usr/sbin/* %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add exim chmod 1777 /var/spool/mail %preun if [ $1 = 0 ]; then /sbin/service exim stop > /dev/null 2>&1 [ -d /var/log/exim ] && rm -f /var/log/exim/* /sbin/chkconfig --del exim fi %postun if [ "$1" -ge "1" ]; then /sbin/service exim condrestart > /dev/null 2>&1 fi %files %defattr(-,root,root) %attr(4755,root,root) /usr/sbin/exim /usr/sbin/exim_checkaccess /usr/sbin/exim_dumpdb /usr/sbin/exim_fixdb /usr/sbin/exim_tidydb /usr/sbin/exinext /usr/sbin/exiwhat /usr/sbin/exim_dbmbuild /usr/sbin/exicyclog /usr/sbin/exigrep /usr/sbin/eximstats /usr/sbin/exiqsumm /usr/sbin/exim_lock /usr/sbin/convert4r3 /usr/lib/sendmail /usr/sbin/sendmail /usr/bin/mailq /usr/bin/runq /usr/bin/rsmtp /usr/bin/rmail /usr/bin/newaliases %{_mandir}/*/* %defattr(-,mail,mail) %dir /var/spool/exim %dir /var/spool/exim/db %dir /var/spool/exim/input %dir /var/spool/exim/msglog %dir /var/log/exim %defattr(-,mail,mail) %config(noreplace) /etc/exim/exim.conf %config(noreplace) /etc/exim/prohibition.messages %defattr(-,root,root) %config(noreplace) /etc/aliases %config /etc/sysconfig/exim %config /etc/rc.d/init.d/exim %config /etc/logrotate.d/exim %config /etc/pam.d/exim %config /etc/cron.daily/exim %files mon %defattr(-,root,root) /usr/sbin/eximon /usr/sbin/eximon.bin %files doc %defattr(622,root,root) %doc doc ps rfc txt contributed-confs misc-scripts html cookbook exim_help %attr(755,root,root) /usr/sbin/exim_help %changelog * Mon Dec 30 2002 Karl Schmidt 4.12-2 fixed rpm tar * Tue Dec 17 2002 Karl Schmidt 4.12-1 Removed PDF docs as they had errors removed several docs that were version 3 specific. pulled the make file as a source file to make building custom rpms easier. * Tue Feb 19 2002 New 3.35 Tar ball * Tue Feb 12 2002 New 3.34 tar ball to include updates * Tue Aug 28 2001 Karl Schmidt 3.33-4 Worked around a bug in %doc and moved a prohibition.messages to the /etc/exim/ directory. Fixed the sticky bit on /var/log/mail directory * Thu Aug 16 2001 Karl Schmidt 3.33-3 minor fix for rhcontribs * Thu Aug 16 2001 Karl Schmidt 3.33-1 bumped to the latest version * Wed Aug 15 2001 Karl Schmidt 3.32-2 Added exim_help a nice fact finder * Mon Aug 13 2001 Karl Schmidt 3.32-1 - install exim.clean into /etc/cron.daily * Sat Aug 4 2001 Karl Schmidt 3.32-0 - change to latest version tarball. Moved exim.conf to - /etc/exim.conf so ther s a place for the exim lists files - updated docs, added sample confs.Put STDERR_FILE in Makefile - so that -df works right. * Thu Jun 21 2001 Tim Waugh 3.22-14 - Bump release number. * Tue Jun 12 2001 Tim Waugh 3.22-13 - Remove pam-devel build dependency in order to share package between Guinness and Seawolf. * Fri Jun 8 2001 Tim Waugh 3.22-12 - Fix format string bug. * Wed May 2 2001 Tim Waugh 3.22-11 - SIGALRM patch from maintainer (bug #20908). - There's no README.IPV6 any more (bug #32378). - Fix logrotate entry for exim's pidfile scheme (bug #35436). - ignore_target_hosts crash fix from maintainer. - Make the summary start with a capital letter. - Add reload entry to initscript; use $0 in strings. * Sun Mar 4 2001 Tim Waugh 3.22-10 - Make sure db ownership is correct on upgrade, since we don't run as root when running as a daemon any more. * Fri Mar 2 2001 Tim Powers - rebuilt against openssl-0.9.6-1 * Sat Feb 17 2001 Tim Waugh - Run as user mail, group mail when we drop privileges (bug #28193). * Tue Feb 13 2001 Tim Powers - added conflict with postfix * Thu Jan 25 2001 Tim Waugh - Avoid using zero-length salt in crypteq expansion. * Tue Jan 23 2001 Tim Waugh - Redo initscript internationalisation. - Initscript uses bash not sh. * Mon Jan 22 2001 Tim Waugh - Okay, the real bug was in libident. * Mon Jan 22 2001 Tim Waugh - Revert the RST patch for now; if it's needed, it's a pidentd bug and should be fixed there. * Mon Jan 22 2001 Tim Waugh - 3.22. - Build requires XFree86-devel. * Mon Jan 15 2001 Tim Waugh - New-style prereqs. - Initscript internationalisation. * Thu Jan 11 2001 Tim Waugh - Security patch no longer required; 3.20 and later have a hide feature to do the same thing. - Mark exim.conf noreplace. - Better libident (RST) patch. * Wed Jan 10 2001 Tim Waugh - Fix eximconfig so that it tells the user the correct place to look for documentation - Fix configure.default to deliver mail as group mail so that local delivery works * Tue Jan 09 2001 Tim Waugh - 3.21 * Mon Jan 08 2001 Tim Waugh - Enable TLS support (bug #23196) * Mon Jan 08 2001 Tim Waugh - 3.20 (bug #21895). Absorbs configure.default patch - Put URLs in source tags where applicable - Add build requirement on pam-devel * Wed Oct 18 2000 Bernhard Rosenkraenzer - Fix up eximconfig's header generation (we're not Debian), Bug #18068 - BuildRequires db2-devel (Bug #18089) - Fix typo in logrotate script (Bug #18308) - Local delivery must be setuid to work (Bug #18314) - Don't send TCP RST packages to ident (Bug #19048) * Wed Oct 18 2000 Bernhard Rosenkraenzer - 3.16 - fix security bug - some specfile cleanups - fix handling of RPM_OPT_FLAGS * Fri Aug 18 2000 Tim Powers - fixed bug #16535, logrotate script changes * Thu Aug 17 2000 Tim Powers - fixed bug #16460 - fixed bug #16458 - fixed bug #16476 * Wed Aug 2 2000 Tim Powers - fixed bug #15142 * Fri Jul 28 2000 Than Ngo - add missing restart function in startup script - add rm -rf $RPM_BUILD_ROOT in install section - use %%{_tmppath} * Fri Jul 28 2000 Tim Powers - fixed initscript so that condrestart doesn't return 1 when the test fails * Mon Jul 24 2000 Prospector - rebuilt * Mon Jul 17 2000 Tim Powers - inits bakc to rc.d/init.d, using service to start inits * Thu Jul 13 2000 Tim Powers - applied patch from bug #13890 * Mon Jul 10 2000 Tim Powers - rebuilt * Thu Jul 06 2000 Tim Powers - added patch submitted by , fixes bug #13539 * Thu Jul 06 2000 Tim Powers - fixed broken prereq to require /etc/init.d * Tue Jun 27 2000 Tim Powers - PreReq initscripts >= 5.20 * Mon Jun 26 2000 Tim Powers - fix init.d script location - add condrestart to init.d script * Wed Jun 14 2000 Nalin Dahyabhai - migrate to system-auth setup * Tue Jun 6 2000 Tim Powers - fixed man page location * Tue May 9 2000 Tim Powers - rebuilt for 7.0 * Fri Feb 04 2000 Tim Powers - fixed the groups to be in Red Hat groups. - removed Vendor header since it is going to be marked Red Hat in our build system. - quiet setups - strip binaries - fixed so that man pages can be auto gzipped by new RPM (in files list /usr/man/*/* ) - built for Powertools 6.2 * Tue Jan 18 2000 Mark Bergsma - Upgraded to exim 3.13 - Removed i386 specialization - Added syslog support * Wed Dec 8 1999 Mark Bergsma - Upgraded to exim 3.12 - Procmail no longer used as the delivery agent * Wed Dec 1 1999 Mark Bergsma - Upgraded to exim 3.11 * Sat Nov 27 1999 Mark Bergsma - Added /etc/pam.d/exim * Wed Nov 24 1999 Mark Bergsma - Upgraded to exim 3.10 * Thu Nov 11 1999 Mark Bergsma - Added eximconfig script, thanks to Mark Baker - Exim now uses the Berkeley DB library. * Fri Aug 4 1999 Mark Bergsma - Upgraded to version 3.03 - Removed version number out of the spec file name. * Fri Jul 23 1999 Mark Bergsma - Added embedded Perl support. - Added tcp_wrappers support. - Added extra documentation in a new doc subpackage. * Mon Jul 12 1999 Mark Bergsma - Added /usr/sbin/sendmail as a link to exim. - Fixed wrong filenames in logrotate entry. * Sun Jul 11 1999 Mark Bergsma - Now using the '%changelog' tag. - Removed the SysV init links - let chkconfig handle them. - Replaced install -d with mkdir -p * Sat Jul 10 1999 Mark Bergsma - Fixed owner of the exim-mon files - the owner is now root * Thu Jul 08 1999 Mark Bergsma - Removed executable permission bits of /etc/exim.conf - Removed setuid permission bits of all programs except exim - Changed spool/log directory owner/groups to 'mail' - Changed the default configuration file to make exim run as user and group 'mail'. * Thu Jul 08 1999 Mark Bergsma - Added the /usr/bin/rmail -> /usr/sbin/exim symlink. - Added the convert4r3 script. - Added the transport-filter.pl script to the documentation. * Thu Jul 08 1999 Mark Bergsma - Added procmail transport and director, and made that the default. - Added the unknownuser.sh script to the documentation. * Thu Jul 08 1999 Mark Bergsma - Added manpage for exim. - Fixed symlinks pointing to targets under Buildroot. - The exim logfiles will now only be removed when uninstalling, not upgrading. * Wed Jul 07 1999 Mark Bergsma - Added 'Obsoletes' header. - Added several symlinks to /usr/sbin/exim. * Wed Jul 07 1999 Mark Bergsma - First RPM packet release. - Not tested on other architectures/OS'es than i386/Linux..