Summary: User configurable send-only Mail Transfer Agent Summary(de): Benutzerkonfigurierbarer nur versendender Mail Transfer Agent (MTA) Name: esmtp Version: 1.0 Release: 13%{?dist} Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: esmtp-0.4.1-mutt # esmtp system config file configuring procmail as mda, for the local-delivery # sub-package Source2: esmtprc-mda Url: http://esmtp.sourceforge.net/ # no license in files. Some come from fetchmail, another from libesmtp # esmtp-wrapper is GPLv2+ License: GPL+ and GPLv2+ Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires(post): %{_sbindir}/alternatives Requires(preun): %{_sbindir}/alternatives BuildRequires: libesmtp-devel # these files are set up with alternatives Provides: %{_sbindir}/sendmail Provides: %{_bindir}/mailq # for esmtp-wrapper Requires: coreutils # esmtp doesn't listen on port 25, so it cannot provide server(smtp). # This implies that any program requiring a program that sends mail # on port 25 should rely on another package than esmtp to fulfill the # dependency. #Provides: server(smtp) %description ESMTP is a user configurable relay-only Mail Transfer Agent (MTA) with a sendmail-compatible syntax. It's based on libESMTP supporting the AUTH (including the CRAM-MD5 and NTLM SASL mechanisms) and the StartTLS SMTP extensions. %description -l de ESMTP ist ein benutzerkonfigurierbarer nur versendender Mail Transfer Agent (MTA) mit einem Sendmail-kompatiblen Syntax. Es basiert auf libESMTP und unterstützt AUTH (mit CRAM-MD5 und NTLM SASL) und StartTLS SMTP. %package local-delivery Summary: Configuration for esmtp allowing for local delivery Group: Applications/Internet Requires: %{name} = %{version}-%{release} Requires: procmail Provides: mail(local) %description local-delivery This packages contains the system ESMTP configuration file with local delivery through an external mail delivery agent configured. %prep %setup -q cp -p %{SOURCE1} mutt-esmtp for file in esmtp.1 esmtprc.5; do iconv -f ISO8859-1 -t UTF8 < $file > $file.new && touch -r $file $file.new && mv -f $file.new $file done %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/esmtprc install -p -m0755 esmtp-wrapper $RPM_BUILD_ROOT%{_bindir} # remove all the sendmail alternative installed, it is done in %post rm $RPM_BUILD_ROOT%{_bindir}/mailq \ $RPM_BUILD_ROOT%{_bindir}/newaliases \ $RPM_BUILD_ROOT%{_libdir}/sendmail \ $RPM_BUILD_ROOT%{_sbindir}/sendmail \ $RPM_BUILD_ROOT%{_mandir}/man1/mailq.1 \ $RPM_BUILD_ROOT%{_mandir}/man1/newaliases.1 \ $RPM_BUILD_ROOT%{_mandir}/man1/sendmail.1 %post # newaliases is fake, so don't install the links. %{_sbindir}/alternatives --install %{_sbindir}/sendmail mta %{_bindir}/esmtp-wrapper 30 \ --slave %{_prefix}/lib/sendmail mta-sendmail %{_bindir}/esmtp-wrapper \ --slave %{_mandir}/man8/sendmail.8.gz mta-sendmailman %{_mandir}/man1/esmtp.1.gz \ --slave %{_bindir}/mailq mta-mailq %{_bindir}/esmtp-wrapper \ --slave %{_mandir}/man1/mailq.1.gz mta-mailqman %{_mandir}/man1/esmtp.1.gz # --slave %{_bindir}/newaliases mta-newaliases %{_bindir}/esmtp \ # --slave %{_mandir}/man1/newaliases.1.gz mta-newaliasesman %{_mandir}/man1/esmtp.1.gz \ %preun if [ "$1" = 0 ]; then %{_sbindir}/alternatives --remove mta %{_bindir}/esmtp-wrapper fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README TODO sample.esmtprc mutt-esmtp %{_bindir}/esmtp-wrapper %{_bindir}/esmtp %{_mandir}/man[^3]/esmtp* %files local-delivery %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/esmtprc %changelog * Sat Aug 16 2014 Fedora Release Engineering - 1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Aug 21 2009 Tomas Mraz - 1.0-6 - rebuilt with new openssl * Fri Jul 24 2009 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Jan 16 2009 Tomas Mraz 1.0-3 - rebuild with new openssl * Mon Nov 24 2008 Patrice Dumas 1.0-2 - update to 1.0 - add a subpackage with local delivery enabled and dependency on procmail * Tue Feb 19 2008 Fedora Release Engineering - 0.6.0-4 - Autorebuild for GCC 4.3 * Tue Dec 18 2007 Patrice Dumas 0.6.0-3 - keep more timestamps - add a Requires(preun) for alternatives * Thu Dec 06 2007 Release Engineering - 0.6.0-2 - Rebuild for deps * Wed Oct 10 2007 Patrice Dumas 0.6.0-1 - update to 0.6.0 * Mon Sep 11 2006 Patrice Dumas 0.5.1-13 - rebuild for FC6 * Thu Jun 22 2006 Patrice Dumas 0.5.1-12 - provide an alternative for /usr/lib/sendmail even if %%_lib isn't lib fix 196277 * Thu Feb 16 2006 Patrice Dumas 0.5.1-11 - rebuild for fc5 * Sun Jan 8 2006 Patrice Dumas 0.5.1-10 - convert man pages to utf8 (Dmitry Butskoy report) * Wed Nov 16 2005 Patrice Dumas 0.5.1-9 - remove the workaround for libesmtp not requiring openssl (#166844 closed) * Sun Nov 13 2005 Patrice Dumas 0.5.1-8 - rebuild against new openssl * Mon Aug 29 2005 Patrice Dumas 0.5.1-7 - uncomment german translation * Fri Aug 26 2005 Patrice Dumas 0.5.1-6 - add temporarily a BuildRequires: openssl-devel to workaround missing Requires: of libesmtp-devel (#166844) * Fri Aug 26 2005 Patrice Dumas 0.5.1-5 - comment out german translation - cleanups (thanks Aurelien Bompard) * Sat Mar 12 2004 Patrice Dumas 0.5.1-2 - Use alternatives * Sat Mar 12 2004 Patrice Dumas 0.5.1-1 - Use fedora-newrpmspec to update the spec file - Package sendmail replacements * Sat Nov 15 2003 Robert Scheck 0.5.0-1 - Update to 0.5.0 - Added german description and summary * Mon Oct 27 2003 Robert Scheck 0.4.1-1 - Update to 0.4.1 - Initial Release for Red Hat Linux