Blame SPECS/postfix.spec

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