forked from pool/postfix
- bnc#738900 - cyrus-imapd not receiving mail from postfix
OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=116
This commit is contained in:
parent
342228c432
commit
e7a9546bb7
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 11 14:21:21 UTC 2012 - varkoly@suse.com
|
||||
|
||||
- bnc#738900 - cyrus-imapd not receiving mail from postfix
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 14:50:45 UTC 2011 - varkoly@suse.com
|
||||
|
||||
|
25
postfix.spec
25
postfix.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package postfix
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,16 +15,13 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: postfix
|
||||
Summary: A fast, secure, and flexible mailer
|
||||
Version: 2.8.7
|
||||
Release: 1
|
||||
License: IBM Public License ..
|
||||
License: IPL-1.0
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
Version: 2.8.7
|
||||
Release: 0
|
||||
Url: http://www.postfix.org/
|
||||
AutoReqProv: on
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-SuSE.tar.gz
|
||||
Source2: %{name}-mysql.tar.bz2
|
||||
@ -51,7 +48,9 @@ PreReq: sysvinit(syslog) sysvinit(network)
|
||||
Requires: iproute2
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: openldap2-devel pcre-devel postgresql-devel
|
||||
BuildRequires: openldap2-devel
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: postgresql-devel
|
||||
# require pwdutils to make postinstall script check work
|
||||
BuildRequires: pwdutils
|
||||
%if 0%{?suse_version} >= 1100
|
||||
@ -84,6 +83,7 @@ Provides: smtp_daemon
|
||||
%define pf_uid 51
|
||||
%define pf_gid 51
|
||||
%define maildrop_gid 59
|
||||
%define mail_gid 12
|
||||
%define conf_backup_dir /var/adm/backup/%{name}
|
||||
%define omc_pdir /usr/share/omc/
|
||||
%define omc_dir /usr/share/omc/svcinfo.d/
|
||||
@ -100,9 +100,7 @@ Postfix aims to be an alternative to the widely-used sendmail program.
|
||||
|
||||
%package devel
|
||||
Summary: Development headers for the postfix package
|
||||
License: IBM Public License ..
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
@ -110,7 +108,6 @@ Postfix aims to be an alternative to the widely-used sendmail program.
|
||||
|
||||
%package doc
|
||||
Summary: Documentations for the postfix package
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
@ -122,9 +119,7 @@ This package contains the documentation for %{name}
|
||||
|
||||
%package mysql
|
||||
Summary: Postfix plugin to support MySQL maps
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description mysql
|
||||
@ -133,9 +128,7 @@ starting %{name} if you'll access a postmap which is stored in mysql.
|
||||
|
||||
%package postgresql
|
||||
Summary: Postfix plugin to support PostgreSQL maps
|
||||
License: IBM Public License ..
|
||||
Group: Productivity/Networking/Email/Servers
|
||||
AutoReqProv: on
|
||||
PreReq: %{name} = %{version}
|
||||
|
||||
%description postgresql
|
||||
@ -181,6 +174,7 @@ make LD_LIBRARY_PATH=$(pwd)/lib:${LD_LIBRARY_PATH}
|
||||
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
|
||||
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
|
||||
/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
|
||||
for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do
|
||||
@ -330,6 +324,7 @@ fi
|
||||
/usr/sbin/groupadd -g %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 2> /dev/null || :
|
||||
/usr/sbin/useradd -r -o -g %{name} -u %{pf_uid} -s /bin/false -c "Postfix Daemon" -d /%{pf_queue_directory} %{name} 2> /dev/null || :
|
||||
/usr/sbin/usermod -G %{maildrop_gid},%{mail_gid} {name} 2> /dev/null || :
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
%pre mysql
|
||||
|
Loading…
Reference in New Issue
Block a user