e61286
%bcond_without mysql
e61286
%bcond_with pgsql
e61286
%bcond_without ldap
e61286
%bcond_without pcre
e61286
%bcond_without sasl
e61286
%bcond_without tls
e61286
%bcond_without ipv6
e61286
%bcond_without pflogsumm
e61286
e61286
%global sysv2systemdnvr 2.8.12-2
e61286
e61286
# Build with -O3 on ppc64 (rhbz#1051074)
e61286
%global _performance_build 1
e61286
e61286
# hardened build if not overrided
e61286
%{!?_hardened_build:%global _hardened_build 1}
e61286
e61286
# Postfix requires one exlusive uid/gid and a 2nd exclusive gid for its own
e61286
# use.  Let me know if the second gid collides with another package.
e61286
# Be careful: Redhat's 'mail' user & group isn't unique!
e61286
%define postfix_uid	89
e61286
%define postfix_user	postfix
e61286
%define postfix_gid	89
e61286
%define postfix_group	postfix
e61286
%define maildrop_group	postdrop
e61286
%define maildrop_gid	90
e61286
e61286
%define postfix_config_dir	%{_sysconfdir}/postfix
e61286
%define postfix_daemon_dir	%{_libexecdir}/postfix
e61286
%define postfix_command_dir	%{_sbindir}
e61286
%define postfix_queue_dir	%{_var}/spool/postfix
e61286
%define postfix_data_dir	%{_var}/lib/postfix
e61286
%define postfix_doc_dir		%{_docdir}/%{name}-%{version}
e61286
%define postfix_sample_dir	%{postfix_doc_dir}/samples
e61286
%define postfix_readme_dir	%{postfix_doc_dir}/README_FILES
e61286
e61286
%if %{?_hardened_build:%{_hardened_build}}%{!?_hardened_build:0}
e61286
%global harden -pie -Wl,-z,relro,-z,now
e61286
%endif
e61286
e61286
Name: postfix
e61286
Summary: Postfix Mail Transport Agent
e61286
Version: 2.10.1
e61286
Release: 9%{?dist}
e61286
Epoch: 2
e61286
Group: System Environment/Daemons
e61286
URL: http://www.postfix.org
e61286
License: IBM and GPLv2+
e61286
Requires(post): systemd systemd-sysv
e61286
Requires(post): %{_sbindir}/alternatives
e61286
Requires(pre): %{_sbindir}/groupadd
e61286
Requires(pre): %{_sbindir}/useradd
e61286
Requires(preun): %{_sbindir}/alternatives
e61286
Requires(preun): systemd
e61286
Requires(postun): systemd
e61286
Provides: MTA smtpd smtpdaemon server(smtp)
e61286
e61286
Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
e61286
Source1: postfix-etc-init.d-postfix
e61286
Source2: postfix.service
e61286
Source3: README-Postfix-SASL-RedHat.txt
e61286
Source4: postfix.aliasesdb
e61286
Source5: postfix-chroot-update
e61286
e61286
# Sources 50-99 are upstream [patch] contributions
e61286
e61286
%define pflogsumm_ver 1.1.3
e61286
e61286
%if %{with pflogsumm}
e61286
# Postfix Log Entry Summarizer: http://jimsun.linxnet.com/postfix_contrib.html
e61286
Source53: http://jimsun.linxnet.com/downloads/pflogsumm-%{pflogsumm_ver}.tar.gz
e61286
%endif
e61286
e61286
# Sources >= 100 are config files
e61286
e61286
Source100: postfix-sasl.conf
e61286
Source101: postfix-pam.conf
e61286
e61286
# Patches
e61286
e61286
Patch1: postfix-2.10.0-config.patch
e61286
Patch2: postfix-2.6.1-files.patch
e61286
Patch3: postfix-alternatives.patch
e61286
Patch8: postfix-large-fs.patch
e61286
Patch9: pflogsumm-1.1.3-datecalc.patch
e61286
Patch10: postfix-2.10.1-haproxy-tls-fix.patch
e61286
Patch11: postfix-2.10.1-canonical-maps-doc-fix.patch
e61286
Patch12: postfix-2.10.1-kernel-4-fix.patch
e61286
Patch13: postfix-2.10.1-timestamps.patch
e61286
e61286
# Optional patches - set the appropriate environment variables to include
e61286
#		     them when building the package/spec file
e61286
e61286
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e61286
e61286
# Determine the different packages required for building postfix
e61286
BuildRequires: libdb-devel, pkgconfig, zlib-devel
e61286
BuildRequires: systemd-units
e61286
e61286
%{?with_ldap:BuildRequires: openldap-devel}
e61286
%{?with_sasl:BuildRequires: cyrus-sasl-devel}
e61286
%{?with_pcre:BuildRequires: pcre-devel}
e61286
%{?with_mysql:BuildRequires: mysql-devel}
e61286
%{?with_pgsql:BuildRequires: postgresql-devel}
e61286
%{?with_tls:BuildRequires: openssl-devel}
e61286
e61286
%description
e61286
Postfix is a Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL),
e61286
TLS
e61286
e61286
%package sysvinit
e61286
Summary: SysV initscript for postfix
e61286
Group: System Environment/Daemons
e61286
BuildArch: noarch
e61286
Requires: %{name} = %{epoch}:%{version}-%{release}
e61286
Requires(preun): chkconfig
e61286
Requires(post): chkconfig
e61286
e61286
%description sysvinit
e61286
This package contains the SysV initscript.
e61286
e61286
%package perl-scripts
e61286
Summary: Postfix utilities written in perl
e61286
Group: Applications/System
e61286
Requires: %{name} = %{epoch}:%{version}-%{release}
e61286
# perl-scripts introduced in 2:2.5.5-2
e61286
Obsoletes: postfix < 2:2.5.5-2
e61286
%if %{with pflogsumm}
e61286
Provides: postfix-pflogsumm = %{epoch}:%{version}-%{release}
e61286
Obsoletes: postfix-pflogsumm < 2:2.5.5-2
e61286
%endif
e61286
%description perl-scripts
e61286
This package contains perl scripts pflogsumm and qshape.
e61286
e61286
Pflogsumm is a log analyzer/summarizer for the Postfix MTA. It is
e61286
designed to provide an over-view of Postfix activity. Pflogsumm
e61286
generates summaries and, in some cases, detailed reports of mail
e61286
server traffic volumes, rejected and bounced email, and server
e61286
warnings, errors and panics.
e61286
e61286
qshape prints Postfix queue domain and age distribution.
e61286
e61286
%prep
e61286
%setup -q
e61286
# Apply obligatory patches
e61286
%patch1 -p1 -b .config
e61286
%patch2 -p1 -b .files
e61286
%patch3 -p1 -b .alternatives
e61286
%patch8 -p1 -b .large-fs
e61286
e61286
%if %{with pflogsumm}
e61286
gzip -dc %{SOURCE53} | tar xf -
e61286
pushd pflogsumm-%{pflogsumm_ver}
e61286
%patch9 -p1 -b .datecalc
e61286
popd
e61286
%endif
e61286
e61286
%patch10 -p1 -b .haproxy-tls-fix
e61286
%patch11 -p1 -b .canonical-maps-doc-fix
e61286
%patch12 -p1 -b .kernel-4-fix
e61286
%patch13 -p1 -b .timestamps
e61286
e61286
for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS; do
e61286
	iconv -f iso8859-1 -t utf8 -o ${f}{_,} &&
e61286
		touch -r ${f}{,_} && mv -f ${f}{_,}
e61286
done
e61286
e61286
%build
e61286
CCARGS=-fPIC
e61286
AUXLIBS=
e61286
e61286
%ifarch s390 s390x ppc
e61286
CCARGS="${CCARGS} -fsigned-char"
e61286
%endif
e61286
e61286
%if %{with ldap}
e61286
  CCARGS="${CCARGS} -DHAS_LDAP -DLDAP_DEPRECATED=1 %{?with_sasl:-DUSE_LDAP_SASL}"
e61286
  AUXLIBS="${AUXLIBS} -lldap -llber"
e61286
%endif
e61286
%if %{with pcre}
e61286
  # -I option required for pcre 3.4 (and later?)
e61286
  CCARGS="${CCARGS} -DHAS_PCRE -I%{_includedir}/pcre"
e61286
  AUXLIBS="${AUXLIBS} -lpcre"
e61286
%endif
e61286
%if %{with mysql}
e61286
  CCARGS="${CCARGS} -DHAS_MYSQL -I%{_includedir}/mysql"
e61286
  AUXLIBS="${AUXLIBS} -L%{_libdir}/mysql -lmysqlclient -lm"
e61286
%endif
e61286
%if %{with pgsql}
e61286
  CCARGS="${CCARGS} -DHAS_PGSQL -I%{_includedir}/pgsql"
e61286
  AUXLIBS="${AUXLIBS} -lpq"
e61286
%endif
e61286
%if %{with sasl}
e61286
  CCARGS="${CCARGS} -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I%{_includedir}/sasl"
e61286
  AUXLIBS="${AUXLIBS} -L%{_libdir}/sasl2 -lsasl2"
e61286
  %global sasl_config_dir %{_sysconfdir}/sasl2
e61286
%endif
e61286
%if %{with tls}
e61286
  if pkg-config openssl ; then
e61286
    CCARGS="${CCARGS} -DUSE_TLS `pkg-config --cflags openssl`"
e61286
    AUXLIBS="${AUXLIBS} `pkg-config --libs openssl`"
e61286
  else
e61286
    CCARGS="${CCARGS} -DUSE_TLS -I/usr/include/openssl"
e61286
    AUXLIBS="${AUXLIBS} -lssl -lcrypto"
e61286
  fi
e61286
%endif
e61286
%if ! %{with ipv6}
e61286
  CCARGS="${CCARGS} -DNO_IPV6"
e61286
%endif
e61286
e61286
CCARGS="${CCARGS} -DDEF_CONFIG_DIR=\\\"%{postfix_config_dir}\\\""
e61286
CCARGS="${CCARGS} $(getconf LFS_CFLAGS)"
e61286
e61286
AUXLIBS="${AUXLIBS} %{?harden:%{harden}}"
e61286
e61286
make -f Makefile.init makefiles CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" \
e61286
  DEBUG="" OPT="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-comment"
e61286
e61286
make %{?_smp_mflags}
e61286
e61286
%install
e61286
rm -rf $RPM_BUILD_ROOT
e61286
mkdir -p $RPM_BUILD_ROOT
e61286
e61286
# install postfix into $RPM_BUILD_ROOT
e61286
e61286
# Move stuff around so we don't conflict with sendmail
e61286
for i in man1/mailq.1 man1/newaliases.1 man1/sendmail.1 man5/aliases.5; do
e61286
  dest=$(echo $i | sed 's|\.[1-9]$|.postfix\0|')
e61286
  mv man/$i man/$dest
e61286
  sed -i "s|^\.so $i|\.so $dest|" man/man?/*.[1-9]
e61286
done
e61286
e61286
sh postfix-install -non-interactive \
e61286
       install_root=$RPM_BUILD_ROOT \
e61286
       config_directory=%{postfix_config_dir} \
e61286
       daemon_directory=%{postfix_daemon_dir} \
e61286
       command_directory=%{postfix_command_dir} \
e61286
       queue_directory=%{postfix_queue_dir} \
e61286
       data_directory=%{postfix_data_dir} \
e61286
       sendmail_path=%{postfix_command_dir}/sendmail.postfix \
e61286
       newaliases_path=%{_bindir}/newaliases.postfix \
e61286
       mailq_path=%{_bindir}/mailq.postfix \
e61286
       mail_owner=%{postfix_user} \
e61286
       setgid_group=%{maildrop_group} \
e61286
       manpage_directory=%{_mandir} \
e61286
       sample_directory=%{postfix_sample_dir} \
e61286
       readme_directory=%{postfix_readme_dir} -keep-build-mtime || exit 1
e61286
e61286
# This installs into the /etc/rc.d/init.d directory
e61286
mkdir -p $RPM_BUILD_ROOT%{_initrddir}
e61286
install -c %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/postfix
e61286
e61286
# Systemd
e61286
mkdir -p %{buildroot}%{_unitdir}
e61286
install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}
e61286
install -m 755 %{SOURCE4} %{buildroot}%{postfix_daemon_dir}/aliasesdb
e61286
install -m 755 %{SOURCE5} %{buildroot}%{postfix_daemon_dir}/chroot-update
e61286
e61286
install -c auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail.postfix
e61286
e61286
for i in active bounce corrupt defer deferred flush incoming private saved maildrop public pid saved trace; do
e61286
    mkdir -p $RPM_BUILD_ROOT%{postfix_queue_dir}/$i
e61286
done
e61286
e61286
# install performance benchmark tools by hand
e61286
for i in smtp-sink smtp-source ; do
e61286
  install -c -m 755 bin/$i $RPM_BUILD_ROOT%{postfix_command_dir}/
e61286
  install -c -m 755 man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/
e61286
done
e61286
e61286
## RPM compresses man pages automatically.
e61286
## - Edit postfix-files to reflect this, so post-install won't get confused
e61286
##   when called during package installation.
e61286
sed -i -r "s#(/man[158]/.*.[158]):f#\1.gz:f#" $RPM_BUILD_ROOT%{postfix_daemon_dir}/postfix-files
e61286
e61286
cat $RPM_BUILD_ROOT%{postfix_daemon_dir}/postfix-files
e61286
%if %{with sasl}
e61286
# Install the smtpd.conf file for SASL support.
e61286
mkdir -p $RPM_BUILD_ROOT%{sasl_config_dir}
e61286
install -m 644 %{SOURCE100} $RPM_BUILD_ROOT%{sasl_config_dir}/smtpd.conf
e61286
%endif
e61286
e61286
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
e61286
install -m 644 %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/smtp.postfix
e61286
e61286
# prepare documentation
e61286
mkdir -p $RPM_BUILD_ROOT%{postfix_doc_dir}
e61286
cp -p %{SOURCE3} COMPATIBILITY LICENSE TLS_ACKNOWLEDGEMENTS TLS_LICENSE $RPM_BUILD_ROOT%{postfix_doc_dir}
e61286
e61286
mkdir -p $RPM_BUILD_ROOT%{postfix_doc_dir}/examples{,/chroot-setup}
e61286
cp -pr examples/{qmail-local,smtpd-policy} $RPM_BUILD_ROOT%{postfix_doc_dir}/examples
e61286
cp -p examples/chroot-setup/LINUX2 $RPM_BUILD_ROOT%{postfix_doc_dir}/examples/chroot-setup
e61286
e61286
cp conf/{main,bounce}.cf.default $RPM_BUILD_ROOT%{postfix_doc_dir}
e61286
sed -i 's#%{postfix_config_dir}\(/bounce\.cf\.default\)#%{postfix_doc_dir}\1#' $RPM_BUILD_ROOT%{_mandir}/man5/bounce.5
e61286
rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/{TLS_,}LICENSE
e61286
e61286
find $RPM_BUILD_ROOT%{postfix_doc_dir} -type f | xargs chmod 644
e61286
find $RPM_BUILD_ROOT%{postfix_doc_dir} -type d | xargs chmod 755
e61286
e61286
%if %{with pflogsumm}
e61286
install -c -m 644 pflogsumm-%{pflogsumm_ver}/pflogsumm-faq.txt $RPM_BUILD_ROOT%{postfix_doc_dir}/pflogsumm-faq.txt
e61286
install -c -m 644 pflogsumm-%{pflogsumm_ver}/pflogsumm.1 $RPM_BUILD_ROOT%{_mandir}/man1/pflogsumm.1
e61286
install -c pflogsumm-%{pflogsumm_ver}/pflogsumm.pl $RPM_BUILD_ROOT%{postfix_command_dir}/pflogsumm
e61286
%endif
e61286
e61286
# install qshape
e61286
mantools/srctoman - auxiliary/qshape/qshape.pl > qshape.1
e61286
install -c qshape.1 $RPM_BUILD_ROOT%{_mandir}/man1/qshape.1
e61286
install -c auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{postfix_command_dir}/qshape
e61286
e61286
# remove alias file
e61286
rm -f $RPM_BUILD_ROOT%{postfix_config_dir}/aliases
e61286
e61286
# create /usr/lib/sendmail
e61286
mkdir -p $RPM_BUILD_ROOT/usr/lib
e61286
pushd $RPM_BUILD_ROOT/usr/lib
e61286
ln -sf ../sbin/sendmail.postfix .
e61286
popd
e61286
e61286
mkdir -p $RPM_BUILD_ROOT%{_var}/lib/misc
e61286
touch $RPM_BUILD_ROOT%{_var}/lib/misc/postfix.aliasesdb-stamp
e61286
e61286
# prepare alternatives ghosts 
e61286
for i in %{postfix_command_dir}/sendmail %{_bindir}/{mailq,newaliases,rmail} \
e61286
	%{_sysconfdir}/pam.d/smtp /usr/lib/sendmail \
e61286
	%{_mandir}/{man1/{mailq.1,newaliases.1},man5/aliases.5,man8/sendmail.8}
e61286
do
e61286
	touch $RPM_BUILD_ROOT$i
e61286
done
e61286
e61286
%post
e61286
%systemd_post %{name}.service
e61286
e61286
# upgrade configuration files if necessary
e61286
%{_sbindir}/postfix set-permissions upgrade-configuration \
e61286
	daemon_directory=%{postfix_daemon_dir} \
e61286
	command_directory=%{postfix_command_dir} \
e61286
	mail_owner=%{postfix_user} \
e61286
	setgid_group=%{maildrop_group} \
e61286
	manpage_directory=%{_mandir} \
e61286
	sample_directory=%{postfix_sample_dir} \
e61286
	readme_directory=%{postfix_readme_dir} &> /dev/null
e61286
e61286
%{_sbindir}/alternatives --install %{postfix_command_dir}/sendmail mta %{postfix_command_dir}/sendmail.postfix 30 \
e61286
	--slave %{_bindir}/mailq mta-mailq %{_bindir}/mailq.postfix \
e61286
	--slave %{_bindir}/newaliases mta-newaliases %{_bindir}/newaliases.postfix \
e61286
	--slave %{_sysconfdir}/pam.d/smtp mta-pam %{_sysconfdir}/pam.d/smtp.postfix \
e61286
	--slave %{_bindir}/rmail mta-rmail %{_bindir}/rmail.postfix \
e61286
	--slave /usr/lib/sendmail mta-sendmail /usr/lib/sendmail.postfix \
e61286
	--slave %{_mandir}/man1/mailq.1.gz mta-mailqman %{_mandir}/man1/mailq.postfix.1.gz \
e61286
	--slave %{_mandir}/man1/newaliases.1.gz mta-newaliasesman %{_mandir}/man1/newaliases.postfix.1.gz \
e61286
	--slave %{_mandir}/man8/sendmail.8.gz mta-sendmailman %{_mandir}/man1/sendmail.postfix.1.gz \
e61286
	--slave %{_mandir}/man5/aliases.5.gz mta-aliasesman %{_mandir}/man5/aliases.postfix.5.gz \
e61286
	--initscript postfix
e61286
e61286
%if %{with sasl}
e61286
# Move sasl config to new location
e61286
if [ -f %{_libdir}/sasl2/smtpd.conf ]; then
e61286
	mv -f %{_libdir}/sasl2/smtpd.conf %{sasl_config_dir}/smtpd.conf
e61286
	/sbin/restorecon %{sasl_config_dir}/smtpd.conf 2> /dev/null
e61286
fi
e61286
%endif
e61286
e61286
exit 0
e61286
e61286
%pre
e61286
# Add user and groups if necessary
e61286
%{_sbindir}/groupadd -g %{maildrop_gid} -r %{maildrop_group} 2>/dev/null
e61286
%{_sbindir}/groupadd -g %{postfix_gid} -r %{postfix_group} 2>/dev/null
e61286
%{_sbindir}/groupadd -g 12 -r mail 2>/dev/null
e61286
%{_sbindir}/useradd -d %{postfix_queue_dir} -s /sbin/nologin -g %{postfix_group} -G mail -M -r -u %{postfix_uid} %{postfix_user} 2>/dev/null
e61286
exit 0
e61286
e61286
%preun
e61286
%systemd_preun %{name}.service
e61286
e61286
if [ "$1" = 0 ]; then
e61286
    %{_sbindir}/alternatives --remove mta %{postfix_command_dir}/sendmail.postfix
e61286
fi
e61286
exit 0
e61286
e61286
%postun
e61286
%systemd_postun_with_restart %{name}.service
e61286
e61286
%post sysvinit
e61286
/sbin/chkconfig --add postfix >/dev/null 2>&1 ||:
e61286
e61286
%preun sysvinit
e61286
if [ "$1" = 0 ]; then
e61286
    %{_initrddir}/postfix stop >/dev/null 2>&1 ||:
e61286
    /sbin/chkconfig --del postfix >/dev/null 2>&1 ||:
e61286
fi
e61286
e61286
%postun sysvinit
e61286
[ "$1" -ge 1 ] && %{_initrddir}/postfix condrestart >/dev/null 2>&1 ||:
e61286
e61286
%triggerun -- postfix < %{sysv2systemdnvr}
e61286
%{_bindir}/systemd-sysv-convert --save postfix >/dev/null 2>&1 ||:
e61286
%{_bindir}/systemd-sysv-convert --apply postfix >/dev/null 2>&1 ||:
e61286
/sbin/chkconfig --del postfix >/dev/null 2>&1 || :
e61286
/bin/systemctl try-restart postfix.service >/dev/null 2>&1 || :
e61286
e61286
%triggerpostun -n postfix-sysvinit -- postfix < %{sysv2systemdnvr}
e61286
/sbin/chkconfig --add postfix >/dev/null 2>&1 || :
e61286
e61286
e61286
%clean
e61286
rm -rf $RPM_BUILD_ROOT
e61286
e61286
e61286
%files
e61286
e61286
# For correct directory permissions check postfix-install script.
e61286
# It reads the file postfix-files which defines the ownership
e61286
# and permissions for all files postfix installs.
e61286
e61286
%defattr(-, root, root, -)
e61286
e61286
# Config files not part of upstream
e61286
e61286
%if %{with sasl}
e61286
%config(noreplace) %{sasl_config_dir}/smtpd.conf
e61286
%endif
e61286
%config(noreplace) %{_sysconfdir}/pam.d/smtp.postfix
e61286
%{_unitdir}/postfix.service
e61286
e61286
# Documentation
e61286
e61286
%{postfix_doc_dir}
e61286
%if %{with pflogsumm}
e61286
%exclude %{postfix_doc_dir}/pflogsumm-faq.txt
e61286
%endif
e61286
e61286
# Misc files
e61286
e61286
%dir %attr(0755, root, root) %{postfix_config_dir}
e61286
%dir %attr(0755, root, root) %{postfix_daemon_dir}
e61286
%dir %attr(0755, root, root) %{postfix_queue_dir}
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/active
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/bounce
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/corrupt
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/defer
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/deferred
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/flush
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/hold
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/incoming
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/saved
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/trace
e61286
%dir %attr(0730, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir}/maildrop
e61286
%dir %attr(0755, root, root) %{postfix_queue_dir}/pid
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_queue_dir}/private
e61286
%dir %attr(0710, %{postfix_user}, %{maildrop_group}) %{postfix_queue_dir}/public
e61286
%dir %attr(0700, %{postfix_user}, root) %{postfix_data_dir}
e61286
e61286
%attr(0644, root, root) %{_mandir}/man1/post*.1*
e61286
%attr(0644, root, root) %{_mandir}/man1/smtp*.1*
e61286
%attr(0644, root, root) %{_mandir}/man1/*.postfix.1*
e61286
%attr(0644, root, root) %{_mandir}/man5/access.5*
e61286
%attr(0644, root, root) %{_mandir}/man5/[b-v]*.5*
e61286
%attr(0644, root, root) %{_mandir}/man5/*.postfix.5*
e61286
%attr(0644, root, root) %{_mandir}/man8/[a-qt-v]*.8*
e61286
%attr(0644, root, root) %{_mandir}/man8/s[ch-p]*.8*
e61286
e61286
%attr(0755, root, root) %{postfix_command_dir}/smtp-sink
e61286
%attr(0755, root, root) %{postfix_command_dir}/smtp-source
e61286
e61286
%attr(0755, root, root) %{postfix_command_dir}/postalias
e61286
%attr(0755, root, root) %{postfix_command_dir}/postcat
e61286
%attr(0755, root, root) %{postfix_command_dir}/postconf
e61286
%attr(2755, root, %{maildrop_group}) %{postfix_command_dir}/postdrop
e61286
%attr(0755, root, root) %{postfix_command_dir}/postfix
e61286
%attr(0755, root, root) %{postfix_command_dir}/postkick
e61286
%attr(0755, root, root) %{postfix_command_dir}/postlock
e61286
%attr(0755, root, root) %{postfix_command_dir}/postlog
e61286
%attr(0755, root, root) %{postfix_command_dir}/postmap
e61286
%attr(0755, root, root) %{postfix_command_dir}/postmulti
e61286
%attr(2755, root, %{maildrop_group}) %{postfix_command_dir}/postqueue
e61286
%attr(0755, root, root) %{postfix_command_dir}/postsuper
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/access
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/canonical
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/generic
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/header_checks
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/main.cf
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/master.cf
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/relocated
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/transport
e61286
%attr(0644, root, root) %config(noreplace) %{postfix_config_dir}/virtual
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/[^mp]*
e61286
%attr(0644, root, root) %{postfix_daemon_dir}/main.cf
e61286
%attr(0644, root, root) %{postfix_daemon_dir}/master.cf
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/master
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/pickup
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/pipe
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/post-install
e61286
%attr(0644, root, root) %{postfix_daemon_dir}/postfix-files
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/postfix-script
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/postfix-wrapper
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/postmulti-script
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/postscreen
e61286
%attr(0755, root, root) %{postfix_daemon_dir}/proxymap
e61286
%attr(0755, root, root) %{_bindir}/mailq.postfix
e61286
%attr(0755, root, root) %{_bindir}/newaliases.postfix
e61286
%attr(0755, root, root) %{_bindir}/rmail.postfix
e61286
%attr(0755, root, root) %{_sbindir}/sendmail.postfix
e61286
%attr(0755, root, root) /usr/lib/sendmail.postfix
e61286
e61286
%ghost %{_sysconfdir}/pam.d/smtp
e61286
e61286
%ghost %{_mandir}/man1/mailq.1.gz
e61286
%ghost %{_mandir}/man1/newaliases.1.gz
e61286
%ghost %{_mandir}/man5/aliases.5.gz
e61286
%ghost %{_mandir}/man8/sendmail.8.gz
e61286
e61286
%ghost %attr(0755, root, root) %{_bindir}/mailq
e61286
%ghost %attr(0755, root, root) %{_bindir}/newaliases
e61286
%ghost %attr(0755, root, root) %{_bindir}/rmail
e61286
%ghost %attr(0755, root, root) %{_sbindir}/sendmail
e61286
%ghost %attr(0755, root, root) /usr/lib/sendmail
e61286
e61286
%ghost %attr(0644, root, root) %{_var}/lib/misc/postfix.aliasesdb-stamp
e61286
e61286
%files sysvinit
e61286
%defattr(-, root, root, -)
e61286
%{_initrddir}/postfix
e61286
e61286
%files perl-scripts
e61286
%defattr(-, root, root, -)
e61286
%attr(0755, root, root) %{postfix_command_dir}/qshape
e61286
%attr(0644, root, root) %{_mandir}/man1/qshape*
e61286
%if %{with pflogsumm}
e61286
%doc %{postfix_doc_dir}/pflogsumm-faq.txt
e61286
%attr(0644, root, root) %{_mandir}/man1/pflogsumm.1.gz
e61286
%attr(0755, root, root) %{postfix_command_dir}/pflogsumm
e61286
%endif
e61286
e61286
%changelog
e61286
* Mon Jul 29 2019 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-9
e61286
- Compiled with USE_LDAP_SASL if both "ldap" and "sasl" options are enabled
e61286
  Resolves: rhbz#1733938
e61286
e61286
* Wed Jul 24 2019 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-8
e61286
- Preserve timestamps of files during installation
e61286
  Resolves: rhbz#1307081
e61286
e61286
* Mon May  7 2018 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-7
e61286
- Fixed haproxy with TLS
e61286
  Resolves: rhbz#1370455
e61286
- Fixed documentation about canonical maps
e61286
  Resolves: rhbz#1381871
e61286
- Fixed build with kernel-4.*
e61286
  Resolves: rhbz#1575658
e61286
e61286
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2:2.10.1-6
e61286
- Mass rebuild 2014-01-24
e61286
e61286
* Wed Jan 15 2014 Honza Horak <hhorak@redhat.com> - 2:2.10.1-5
e61286
- Rebuild for mariadb-libs
e61286
  Related: #1045013
e61286
e61286
* Mon Jan 13 2014 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-4
e61286
- Build with -O3 on ppc64
e61286
  Resolves: rhbz#1051074
e61286
e61286
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2:2.10.1-3
e61286
- Mass rebuild 2013-12-27
e61286
e61286
* Tue Aug  6 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-2
e61286
- Fixed license
e61286
  Resolves: rhbz#993586
e61286
e61286
* Mon Jun 24 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.1-1
e61286
- New version
e61286
  Resolves: rhbz#977273
e61286
e61286
* Thu May 23 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.0-2
e61286
- Fixed systemd error message regarding chroot-update, patch provided
e61286
  by John Heidemann <johnh@isi.edu>
e61286
  Resolves: rhbz#917463
e61286
e61286
* Thu Mar 21 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.0-1
e61286
- New version
e61286
- Re-enabled IPv6 in the config
e61286
  Resolves: rhbz#863140
e61286
e61286
* Tue Feb 26 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.0-0.3.rc1
e61286
- Added systemd-sysv to requires
e61286
e61286
* Mon Feb 25 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.0-0.2.rc1
e61286
- Switched to systemd-rpm macros
e61286
  Resolves: rhbz#850276
e61286
e61286
* Fri Feb  8 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.10.0-0.1.rc1
e61286
- New version
e61286
e61286
* Tue Feb  5 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.6-1
e61286
- New version
e61286
  Resolves: rhbz#907803
e61286
e61286
* Tue Jan  8 2013 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.5-2
e61286
- Rebuilt with -fno-strict-aliasing
e61286
e61286
* Thu Dec 13 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.5-1
e61286
- New version
e61286
  Resolves: rhbz#886804
e61286
e61286
* Thu Sep  6 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.4-3
e61286
- Fixed systemd error message about missing chroot-update
e61286
  Resolves: rhbz#832742
e61286
e61286
* Fri Aug  3 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.4-2
e61286
- Fixed sysv2systemd upgrade from f16
e61286
e61286
* Thu Aug  2 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.4-1
e61286
- New version
e61286
  Resolves: rhbz#845298
e61286
- Dropped biff-cloexec patch (upstreamed)
e61286
e61286
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.9.3-3
e61286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e61286
e61286
* Tue Jul 03 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.3-2
e61286
- Fixed FD leak in biff
e61286
e61286
* Tue Jun  5 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.3-1
e61286
- New version
e61286
  Resolves: rhbz#828242
e61286
  Fixed sysv2systemd upgrade from f16
e61286
e61286
* Wed Apr 25 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.2-2
e61286
- Fixed sysv2systemd upgrade from f15 / f16
e61286
e61286
* Wed Apr 25 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.2-1
e61286
- New version
e61286
  Resolves: rhbz#816139
e61286
e61286
* Fri Apr  6 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.1-2
e61286
- Rebuilt with libdb-5.2
e61286
e61286
* Mon Feb 20 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.1-1
e61286
- New version
e61286
  Resolves: rhbz#794976
e61286
e61286
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 2:2.9.0-2
e61286
- Rebuild against PCRE 8.30
e61286
e61286
* Fri Feb  3 2012 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.9.0-1
e61286
- New version
e61286
  Resolves: rhbz#786792
e61286
e61286
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.8.7-5
e61286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e61286
e61286
* Thu Nov 10 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.7-4
e61286
- Added epoch to sysvinit subpackage requires
e61286
e61286
* Tue Nov  8 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.7-3
e61286
- Fixed sysvinit preun scriptlet
e61286
e61286
* Tue Nov  8 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.7-2
e61286
- Introduce systemd unit file, thanks to Jóhann B. Guðmundsson <johannbg@hi.is>
e61286
  Resolves: rhbz#718793
e61286
e61286
* Mon Nov  7 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.7-1
e61286
- Update to 2.8.7
e61286
  Resolves: rhbz#751622
e61286
e61286
* Mon Oct 24 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.6-1
e61286
- Update to 2.8.6
e61286
  Resolves: rhbz#748389
e61286
e61286
* Mon Sep 12 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.5-1
e61286
- Update to 2.8.5
e61286
  Resolves: rhbz#735543
e61286
e61286
* Tue Aug 30 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.4-4
e61286
- Enable override of hardened build settings
e61286
e61286
* Tue Aug 30 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.4-3
e61286
- Hardened build, rebuilt with full relro
e61286
e61286
* Tue Aug 30 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.4-2
e61286
- Rebuilt with libdb-5.1
e61286
  Resolves: rhbz#734084
e61286
e61286
* Thu Jul 07 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.4-1
e61286
- update to 2.8.4
e61286
e61286
* Mon May 09 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.3-1
e61286
- update to 2.8.3
e61286
- fix CVE-2011-1720
e61286
e61286
* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 2:2.8.2-2
e61286
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)
e61286
e61286
* Tue Mar 22 2011 Jaroslav Å karvada <jskarvad@redhat.com> - 2:2.8.2-1
e61286
- update to 2.8.2
e61286
e61286
* Wed Feb 23 2011 Miroslav Lichvar <mlichvar@redhat.com> 2:2.8.1-1
e61286
- update to 2.8.1
e61286
e61286
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.8.0-3
e61286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e61286
e61286
* Mon Feb 07 2011 Miroslav Lichvar <mlichvar@redhat.com> 2:2.8.0-2
e61286
- don't set config_directory when upgrading configuration (#675654)
e61286
e61286
* Wed Jan 26 2011 Miroslav Lichvar <mlichvar@redhat.com> 2:2.8.0-1
e61286
- update to 2.8.0
e61286
e61286
* Fri Nov 26 2010 Miroslav Lichvar <mlichvar@redhat.com> 2:2.7.2-1
e61286
- update to 2.7.2
e61286
- change LSB init header to provide $mail-transport-agent (#627411)
e61286
e61286
* Thu Jun 10 2010 Miroslav Lichvar <mlichvar@redhat.com> 2:2.7.1-1
e61286
- update to 2.7.1
e61286
- update pflogsumm to 1.1.3
e61286
e61286
* Wed Mar 17 2010 Miroslav Lichvar <mlichvar@redhat.com> 2:2.7.0-2
e61286
- follow guidelines for alternatives (#570801)
e61286
- move sasl config to /etc/sasl2 (#574434)
e61286
- drop sasl v1 support
e61286
- remove unnecessary requirements
e61286
- use bcond macros
e61286
e61286
* Fri Feb 26 2010 Miroslav Lichvar <mlichvar@redhat.com> 2:2.7.0-1
e61286
- update to 2.7.0
e61286
e61286
* Fri Jan 29 2010 Miroslav Lichvar <mlichvar@redhat.com> 2:2.6.5-3
e61286
- fix init script LSB compliance (#528151)
e61286
- update pflogsumm to 1.1.2
e61286
- require Date::Calc for pflogsumm (#536678)
e61286
- fix some rpmlint warnings
e61286
e61286
* Wed Sep 16 2009 Tomas Mraz <tmraz@redhat.com> - 2:2.6.5-2
e61286
- use password-auth common PAM configuration instead of system-auth
e61286
e61286
* Tue Sep 01 2009 Miroslav Lichvar <mlichvar@redhat.com> 2:2.6.5-1
e61286
- update to 2.6.5
e61286
e61286
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2:2.6.2-3
e61286
- rebuilt with new openssl
e61286
e61286
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.6.2-2
e61286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e61286
e61286
* Thu Jun 18 2009 Miroslav Lichvar <mlichvar@redhat.com> 2:2.6.2-1
e61286
- update to 2.6.2
e61286
e61286
* Tue May 26 2009 Miroslav Lichvar <mlichvar@redhat.com> 2:2.6.1-1
e61286
- update to 2.6.1
e61286
- move non-config files out of /etc/postfix (#490983)
e61286
- fix multilib conflict in postfix-files (#502211)
e61286
- run chroot-update script in init script (#483186)
e61286
- package examples (#251677)
e61286
- provide all alternatives files
e61286
- suppress postfix output in post script
e61286
e61286
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.5.6-3
e61286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e61286
e61286
* Fri Jan 23 2009 Miroslav Lichvar <mlichvar@redhat.com> 2:2.5.6-2
e61286
- rebuild for new mysql
e61286
e61286
* Thu Jan 22 2009 Miroslav Lichvar <mlichvar@redhat.com> 2:2.5.6-1
e61286
- update to 2.5.6 (#479108)
e61286
- rebuild /etc/aliases.db only when necessary (#327651)
e61286
- convert doc files to UTF-8
e61286
e61286
* Thu Nov 20 2008 Miroslav Lichvar <mlichvar@redhat.com> 2:2.5.5-2
e61286
- enable Large file support on 32-bit archs (#428996)
e61286
- fix mailq(1) and newaliases(1) man pages (#429501)
e61286
- move pflogsumm and qshape to -perl-scripts subpackage (#467529)
e61286
- update pflogsumm to 1.1.1
e61286
- fix large-fs patch
e61286
- drop open_define patch
e61286
- add -Wno-comment to CFLAGS
e61286
e61286
* Wed Sep 17 2008 Thomas Woerner <twoerner@redhat.com> 2:2.5.5-1
e61286
- new version 2.5.5
e61286
  fixes CVE-2008-2936, CVE-2008-2937 and CVE-2008-3889 (rhbz#459101)
e61286
e61286
* Thu Aug 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2:2.5.1-4
e61286
- fix license tag
e61286
e61286
* Thu Aug 14 2008 Thomas Woerner <twoerner@redhat.com> 2:2.5.1-3
e61286
- fixed postfix privilege problem with symlinks in the mail spool directory
e61286
  (CVE-2008-2936) (rhbz#459101)
e61286
e61286
* Wed Mar 12 2008 Thomas Woerner <twoerner@redhat.com> 2:2.5.1-2
e61286
- fixed fix for enabling IPv6 support (rhbz#437024)
e61286
- added new postfix data directory (rhbz#437042)
e61286
e61286
* Thu Feb 21 2008 Thomas Woerner <twoerner@redhat.com> 2:2.5.1-1
e61286
- new verison 2.5.1
e61286
e61286
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2:2.4.6-3
e61286
- Autorebuild for GCC 4.3
e61286
e61286
* Thu Dec 06 2007 Release Engineering <rel-eng at fedoraproject dot org> - 2.4.6-2
e61286
- Rebuild for deps
e61286
e61286
* Wed Nov 28 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.6-1
e61286
- new verison 2.4.6
e61286
- added virtual server(smtp) provide (rhbz#380631)
e61286
- enabling IPv6 support (rhbz#197105)
e61286
- made the MYSQL and PGSQL defines overloadable as build argument
e61286
e61286
* Wed Nov  7 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.5-3
e61286
- fixed multilib conflict for makedefs.out: rename to makedefs.out-%%{_arch}
e61286
  (rhbz#342941)
e61286
- enabled mysql support
e61286
e61286
* Thu Oct  4 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.5-2
e61286
- made init script lsb conform (#243286, rhbz#247025)
e61286
- added link to postfix sasl readme into Postfix-SASL-RedHat readme
e61286
e61286
* Mon Aug 13 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.5-1
e61286
- new version 2.4.5
e61286
- fixed compile proplem with glibc-2.6.90+
e61286
e61286
* Fri Jun 15 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.3-3
e61286
- added missing epoch in requirement of pflogsumm sub package
e61286
e61286
* Thu Jun 14 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.3-2
e61286
- diabled mysql support again (rhbz#185515)
e61286
- added support flag for PostgreSQL build (rhbz#180579)
e61286
  Ben: Thanks for the patch
e61286
- Fixed remaining rewiew problems (rhbz#226307)
e61286
e61286
* Tue Jun  5 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.3-1
e61286
- allow to build without LDAP but SASL2 support (rhbz#216792)
e61286
e61286
* Tue Jun  5 2007 Thomas Woerner <twoerner@redhat.com> 2:2.4.3-1
e61286
- new stable version 2.4.3
e61286
- enabled mysql support (rhbz#185515)
e61286
- dropped build requirements for gawk, ed and sed
e61286
e61286
* Tue Jan 23 2007 Thomas Woerner <twoerner@redhat.com> 2:2.3.6-1
e61286
- new version 2.3.6
e61286
- limiting SASL mechanisms to plain login for sasl with saslauthd (#175259)
e61286
- dropped usage of ed in the install stage
e61286
e61286
* Tue Nov  7 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.4-1
e61286
- new version 2.3.4
e61286
e61286
* Fri Sep  1 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.3-2
e61286
- fixed upgrade procedure (#202357)
e61286
e61286
* Fri Sep  1 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.3-1
e61286
- new version 2.3.3
e61286
- fixed permissions of TLS_LICENSE file
e61286
e61286
* Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 2:2.3.2-2
e61286
- rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
e61286
  (#203001)
e61286
e61286
* Mon Jul 31 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.2-1
e61286
- new version 2.3.2 with major upstream fixes:
e61286
  - corrupted queue file after a request to modify a short message header
e61286
  - panic after spurious Milter request when a client was rejected
e61286
  - maked the Milter more tolerant for redundant "data cleanup" requests
e61286
- applying pflogsumm-conn-delays-dsn-patch from postfix tree to pflogsumm
e61286
e61286
* Fri Jul 28 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.1-1
e61286
- new version 2.3.1
e61286
- fixes problems with TLS and Milter support
e61286
e61286
* Tue Jul 25 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.0-2
e61286
- fixed SASL build (#200079)
e61286
  thanks to Kaj J. Niemi for the patch
e61286
e61286
* Mon Jul 24 2006 Thomas Woerner <twoerner@redhat.com> 2:2.3.0-1
e61286
- new version 2.3.0
e61286
- dropped hostname-fqdn patch
e61286
e61286
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2:2.2.10-2.1
e61286
- rebuild
e61286
e61286
* Wed May 10 2006 Thomas Woerner <twoerner@redhat.com> 2:2.2.10-2
e61286
- added RELRO security protection
e61286
e61286
* Tue Apr 11 2006 Thomas Woerner <twoerner@redhat.com> 2:2.2.10-1
e61286
- new version 2.2.10
e61286
- added option LDAP_DEPRECATED to support deprecated ldap functions for now
e61286
- fixed build without pflogsumm support (#188470)
e61286
e61286
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2:2.2.8-1.2
e61286
- bump again for double-long bug on ppc(64)
e61286
e61286
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2:2.2.8-1.1
e61286
- rebuilt for new gcc4.1 snapshot and glibc changes
e61286
e61286
* Tue Jan 24 2006 Florian Festi <ffesti@redhat.com> 2:2.2.8-1
e61286
- new version 2.2.8
e61286
e61286
* Tue Dec 13 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.7-1
e61286
- new version 2.2.7
e61286
e61286
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
e61286
- rebuilt
e61286
e61286
* Fri Nov 11 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.5-2.1
e61286
- replaced postconf and postalias call in initscript with newaliases (#156358)
e61286
- fixed initscripts messages (#155774)
e61286
- fixed build problems when sasl is disabled (#164773)
e61286
- fixed pre-definition of mailbox_transport lmtp socket path (#122910)
e61286
e61286
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 2:2.2.5-2
e61286
- rebuilt against new openssl
e61286
e61286
* Fri Oct  7 2005 Tomas Mraz <tmraz@redhat.com>
e61286
- use include instead of pam_stack in pam config
e61286
e61286
* Thu Sep  8 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.5-1
e61286
- new version 2.2.5
e61286
e61286
* Thu May 12 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.3-1
e61286
- new version 2.2.3
e61286
- compiling all binaries PIE, dropped old pie patch
e61286
e61286
* Wed Apr 20 2005 Tomas Mraz <tmraz@redhat.com> 2:2.2.2-2
e61286
- fix fsspace on large filesystems (>2G blocks)
e61286
e61286
* Tue Apr 12 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.2-1
e61286
- new version 2.2.2
e61286
e61286
* Fri Mar 18 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.1-1
e61286
- new version 2.2.1
e61286
- allow to start postfix without alias_database (#149657)
e61286
e61286
* Fri Mar 11 2005 Thomas Woerner <twoerner@redhat.com> 2:2.2.0-1
e61286
- new version 2.2.0
e61286
- cleanup of spec file: removed external TLS and IPV6 patches, removed 
e61286
  smtp_sasl_proto patch
e61286
- dropped samples directory till there are good examples again (was TLS and
e61286
  IPV6)
e61286
- v2.2.0 fixes code problems: #132798 and #137858
e61286
e61286
* Fri Feb 11 2005 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-5.1
e61286
- fixed open relay bug in postfix ipv6 patch: new version 1.26 (#146731)
e61286
- fixed permissions on doc directory (#147280)
e61286
- integrated fixed fqdn patch from Joseph Dunn (#139983)
e61286
e61286
* Tue Nov 23 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-4.1
e61286
- removed double quotes from postalias call, second fix for #138354
e61286
e61286
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 2:2.1.5-4
e61286
- rebuild against db-4.3.21.
e61286
- remove Requires: db4, the soname linkage dependency is sufficient.
e61286
e61286
* Thu Nov 11 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-3.1
e61286
- fixed problem with multiple alias maps (#138354)
e61286
e61286
* Tue Oct 26 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-3
e61286
- fixed wrong path for cyrus-imapd (#137074)
e61286
e61286
* Mon Oct 18 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-2.2
e61286
- automated postalias call in init script
e61286
- removed postconf call from spec file: moved changes into patch
e61286
e61286
* Fri Oct 15 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-2.1
e61286
- removed aliases from postfix-files (#135840)
e61286
- fixed postalias call in init script
e61286
e61286
* Thu Oct 14 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-2
e61286
- switched over to system aliases file and database in /etc/ (#117661)
e61286
- new reuires and buildrequires for setup >= 2.5.36-1
e61286
e61286
* Mon Oct  4 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.5-1
e61286
- new version 2.1.5
e61286
- new ipv6 and tls+ipv6 patches: 1.25-pf-2.1.5
e61286
e61286
* Thu Aug  5 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.4-1
e61286
- new version 2.1.4
e61286
- new ipv6 and tls+ipv6 patches: 1.25-pf-2.1.4
e61286
- new pfixtls-0.8.18-2.1.3-0.9.7d patch
e61286
e61286
* Mon Jun 21 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.1-3.1
e61286
- fixed directory permissions in %%doc (#125406)
e61286
- fixed missing spool dirs (#125460)
e61286
- fixed verify problem for aliases.db (#125461)
e61286
- fixed bogus upgrade warning (#125628)
e61286
- more spec file cleanup
e61286
e61286
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
e61286
- rebuilt
e61286
e61286
* Sun Jun 06 2004 Florian La Roche <Florian.LaRoche@redhat.de>
e61286
- make sure pflog files have same permissions even if in multiple
e61286
  sub-rpms
e61286
e61286
* Fri Jun  4 2004 Thomas Woerner <twoerner@redhat.com> 2:2.1.1-1
e61286
- new version 2.1.1
e61286
- compiling postfix PIE
e61286
- new alternatives slave for /usr/lib/sendmail
e61286
e61286
* Wed Mar 31 2004 John Dennis <jdennis@redhat.com> 2:2.0.18-4
e61286
- remove version from pflogsumm subpackage, it was resetting the
e61286
  version used in the doc directory, fixes bug 119213
e61286
e61286
* Tue Mar 30 2004 Bill Nottingham <notting@redhat.com> 2:2.0.18-3
e61286
- add %%defattr for pflogsumm package
e61286
e61286
* Tue Mar 16 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.18-2
e61286
- fix sendmail man page (again), make pflogsumm a subpackage
e61286
e61286
* Mon Mar 15 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.18-1
e61286
- bring source up to upstream release 2.0.18
e61286
- include pflogsumm, fixes bug #68799
e61286
- include smtp-sink, smtp-source man pages, fixes bug #118163
e61286
e61286
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
e61286
- rebuilt
e61286
e61286
* Tue Feb 24 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-14
e61286
- fix bug 74553, make alternatives track sendmail man page
e61286
e61286
* Tue Feb 24 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-13
e61286
- remove /etc/sysconfig/saslauthd from rpm, fixes bug 113975
e61286
e61286
* Wed Feb 18 2004 John Dennis <jdennis@porkchop.devel.redhat.com>
e61286
- set sasl back to v2 for mainline, this is good for fedora and beyond,
e61286
  for RHEL3, we'll branch and set set sasl to v1 and turn off ipv6
e61286
e61286
* Tue Feb 17 2004 John Dennis <jdennis@porkchop.devel.redhat.com>
e61286
- revert back to v1 of sasl because LDAP still links against v1 and we can't 
e61286
- bump revision for build
e61286
  have two different versions of the sasl library loaded in one load image at
e61286
  the same time. How is that possible? Because the sasl libraries have different 
e61286
  names (libsasl.so & libsasl2.so) but export the same symbols :-(
e61286
  Fixes bugs 115249 and 111767
e61286
e61286
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
e61286
- rebuilt
e61286
e61286
* Wed Jan 21 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-7
e61286
- fix bug 77216, support snapshot builds
e61286
e61286
* Tue Jan 20 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-6
e61286
- add support for IPv6 via Dean Strik's patches, fixes bug 112491
e61286
e61286
* Tue Jan 13 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-4
e61286
- remove mysqlclient prereq, fixes bug 101779
e61286
- remove md5 verification override, this fixes bug 113370. Write parse-postfix-files
e61286
  script to generate explicit list of all upstream files with ownership, modes, etc.
e61286
  carefully add back in all other not upstream files, files list is hopefully
e61286
  rock solid now.
e61286
e61286
* Mon Jan 12 2004 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-3
e61286
- add zlib-devel build prereq, fixes bug 112822
e61286
- remove copy of resolve.conf into chroot jail, fixes bug 111923
e61286
e61286
* Tue Dec 16 2003 John Dennis <jdennis@porkchop.devel.redhat.com>
e61286
- bump release to build 3.0E errata update
e61286
e61286
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 2:2.0.16-2
e61286
- rebuild against db-4.2.52.
e61286
 
e61286
* Mon Nov 17 2003 John Dennis <jdennis@finch.boston.redhat.com> 2:2.0.16-1
e61286
- sync up with current upstream release, 2.0.16, fixes bug #108960
e61286
e61286
* Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 2.0.11-6
e61286
- rebuild against db-4.2.42.
e61286
e61286
* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 2.0.11-5
e61286
- rebuild
e61286
e61286
* Thu Jun 26 2003 John Dennis <jdennis@finch.boston.redhat.com>
e61286
- bug 98095, change rmail.postfix to rmail for uucp invocation in master.cf
e61286
e61286
* Wed Jun 25 2003 John Dennis <jdennis@finch.boston.redhat.com>
e61286
- add missing dependency for db3/db4
e61286
e61286
* Thu Jun 19 2003 John Dennis <jdennis@finch.boston.redhat.com>
e61286
- upgrade to new 2.0.11 upstream release
e61286
- fix authentication problems
e61286
- rewrite SASL documentation
e61286
- upgrade to use SASL version 2
e61286
- Fix bugs 75439, 81913 90412, 91225, 78020, 90891, 88131
e61286
e61286
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
e61286
- rebuilt
e61286
e61286
* Fri Mar  7 2003 John Dennis <jdennis@finch.boston.redhat.com>
e61286
- upgrade to release 2.0.6
e61286
- remove chroot as this is now the preferred installation according to Wietse Venema, the postfix author
e61286
e61286
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
e61286
- rebuilt
e61286
e61286
* Tue Feb 18 2003 Bill Nottingham <notting@redhat.com> 2:1.1.11-10
e61286
- don't copy winbind/wins nss modules, fixes #84553
e61286
e61286
* Sat Feb 01 2003 Florian La Roche <Florian.LaRoche@redhat.de>
e61286
- sanitize rpm scripts a bit
e61286
e61286
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
e61286
- rebuilt
e61286
e61286
* Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 2:1.1.11-8
e61286
- rebuild to fix krb5.h issue
e61286
e61286
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 2:1.1.11-7
e61286
- rebuild
e61286
e61286
* Fri Jan  3 2003 Nalin Dahyabhai <nalin@redhat.com>
e61286
- if pkgconfig knows about openssl, use its cflags and linker flags
e61286
e61286
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 2:1.1.11-6
e61286
- lib64'ize
e61286
- build on all arches
e61286
e61286
* Wed Jul 24 2002 Karsten Hopp <karsten@redhat.de>
e61286
- make aliases.db config(noreplace) (#69612)
e61286
e61286
* Tue Jul 23 2002 Karsten Hopp <karsten@redhat.de>
e61286
- postfix has its own filelist, remove LICENSE entry from it (#69069)
e61286
e61286
* Tue Jul 16 2002 Karsten Hopp <karsten@redhat.de>
e61286
- fix shell in /etc/passwd (#68373)
e61286
- fix documentation in /etc/postfix (#65858)
e61286
- Provides: /usr/bin/newaliases (#66746)
e61286
- fix autorequires by changing /usr/local/bin/perl to /usr/bin/perl in a
e61286
  script in %%doc (#68852), although I don't think this is necessary anymore
e61286
e61286
* Mon Jul 15 2002 Phil Knirsch <pknirsch@redhat.com>
e61286
- Fixed missing smtpd.conf file for SASL support and included SASL Postfix
e61286
  Red Hat HOWTO (#62505).
e61286
- Included SASL2 support patch (#68800).
e61286
e61286
* Mon Jun 24 2002 Karsten Hopp <karsten@redhat.de>
e61286
- 1.1.11, TLS 0.8.11a
e61286
- fix #66219 and #66233 (perl required for %%post)
e61286
e61286
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
e61286
- automated rebuild
e61286
e61286
* Sun May 26 2002 Tim Powers <timp@redhat.com>
e61286
- automated rebuild
e61286
e61286
* Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-1
e61286
- 1.1.10, TLS 0.8.10
e61286
- Build with db4
e61286
- Enable SASL
e61286
e61286
* Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.7-2
e61286
- Fix bugs #62358 and #62783
e61286
- Make sure libdb-3.3.so is in the chroot jail (#62906)
e61286
e61286
* Mon Apr  8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.7-1
e61286
- 1.1.7, fixes 2 critical bugs
e61286
- Make sure there's a resolv.conf in the chroot jail
e61286
e61286
* Wed Mar 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.5-3
e61286
- Add Provides: lines for alternatives stuff (#60879)
e61286
e61286
* Tue Mar 26 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.5-2
e61286
- rebuild
e61286
e61286
* Tue Mar 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.5-1
e61286
- 1.1.5 (bugfix release)
e61286
- Rebuild with current db
e61286
e61286
* Thu Mar 14 2002 Bill Nottingham <notting@redhat.com> 1.1.4-3
e61286
- remove db trigger, it's both dangerous and pointless
e61286
- clean up other triggers a little
e61286
e61286
* Wed Mar 13 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.4-2
e61286
- Some trigger tweaks to make absolutely sure /etc/services is in the
e61286
  chroot jail
e61286
e61286
* Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.4-1
e61286
- 1.1.4
e61286
- TLS 0.8.4
e61286
- Move postalias run from %%post to init script to work around
e61286
  anaconda being broken.
e61286
e61286
* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com> 1.1.3-5
e61286
- use alternatives --initscript support
e61286
e61286
* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.3-4
e61286
- run alternatives --remove in %%preun
e61286
- add various prereqs
e61286
e61286
* Thu Feb 28 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.3-3
e61286
- adjust the default postfix-files config file to match the alternatives setup
e61286
  by altering the arguments passed to post-install in the %%install phase
e61286
  (otherwise, it might point to sendmail's binaries, breaking it rather rudely)
e61286
- adjust the post-install script so that it silently uses paths which have been
e61286
  modified for use with alternatives, for upgrade cases where the postfix-files
e61286
  configuration file isn't overwritten
e61286
- don't forcefully strip files -- that's a build root policy
e61286
- remove hard requirement on openldap, library dependencies take care of it
e61286
- redirect %%postun to /dev/null
e61286
- don't remove the postfix user and group when the package is removed
e61286
e61286
* Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.3-2
e61286
- listen on 127.0.0.1 only by default (#60071)
e61286
- Put config samples in %%{_docdir}/%%{name}-%%{version} rather than
e61286
  /etc/postfix (#60072)
e61286
- Some spec file cleanups
e61286
e61286
* Tue Feb 19 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.3-1
e61286
- 1.1.3, TLS 0.8.3
e61286
- Fix updating
e61286
- Don't run the statistics cron job
e61286
- remove requirement on perl Date::Calc
e61286
e61286
* Thu Jan 31 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.2-3
e61286
- Fix up alternatives stuff
e61286
e61286
* Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.2-2
e61286
- Use alternatives
e61286
e61286
* Sun Jan 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.2-1
e61286
- Initial Red Hat Linux packaging, based on spec file from
e61286
  Simon J Mudd <sjmudd@pobox.com>
e61286
- Changes from that:
e61286
  - Set up chroot environment in triggers to make sure we catch glibc errata
e61286
  - Remove some hacks to support building on all sorts of distributions at
e61286
    the cost of specfile readability
e61286
  - Remove postdrop group on deletion
e61286