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
|
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
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,16 +15,13 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: postfix
|
Name: postfix
|
||||||
Summary: A fast, secure, and flexible mailer
|
Summary: A fast, secure, and flexible mailer
|
||||||
Version: 2.8.7
|
License: IPL-1.0
|
||||||
Release: 1
|
|
||||||
License: IBM Public License ..
|
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
|
Version: 2.8.7
|
||||||
|
Release: 0
|
||||||
Url: http://www.postfix.org/
|
Url: http://www.postfix.org/
|
||||||
AutoReqProv: on
|
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}-SuSE.tar.gz
|
Source1: %{name}-SuSE.tar.gz
|
||||||
Source2: %{name}-mysql.tar.bz2
|
Source2: %{name}-mysql.tar.bz2
|
||||||
@ -51,7 +48,9 @@ PreReq: sysvinit(syslog) sysvinit(network)
|
|||||||
Requires: iproute2
|
Requires: iproute2
|
||||||
BuildRequires: db-devel
|
BuildRequires: db-devel
|
||||||
BuildRequires: mysql-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
|
# require pwdutils to make postinstall script check work
|
||||||
BuildRequires: pwdutils
|
BuildRequires: pwdutils
|
||||||
%if 0%{?suse_version} >= 1100
|
%if 0%{?suse_version} >= 1100
|
||||||
@ -84,6 +83,7 @@ Provides: smtp_daemon
|
|||||||
%define pf_uid 51
|
%define pf_uid 51
|
||||||
%define pf_gid 51
|
%define pf_gid 51
|
||||||
%define maildrop_gid 59
|
%define maildrop_gid 59
|
||||||
|
%define mail_gid 12
|
||||||
%define conf_backup_dir /var/adm/backup/%{name}
|
%define conf_backup_dir /var/adm/backup/%{name}
|
||||||
%define omc_pdir /usr/share/omc/
|
%define omc_pdir /usr/share/omc/
|
||||||
%define omc_dir /usr/share/omc/svcinfo.d/
|
%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
|
%package devel
|
||||||
Summary: Development headers for the postfix package
|
Summary: Development headers for the postfix package
|
||||||
License: IBM Public License ..
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
AutoReqProv: on
|
|
||||||
PreReq: %{name} = %{version}
|
PreReq: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -110,7 +108,6 @@ Postfix aims to be an alternative to the widely-used sendmail program.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentations for the postfix package
|
Summary: Documentations for the postfix package
|
||||||
License: IBM Public License ..
|
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} >= 1120
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -122,9 +119,7 @@ This package contains the documentation for %{name}
|
|||||||
|
|
||||||
%package mysql
|
%package mysql
|
||||||
Summary: Postfix plugin to support MySQL maps
|
Summary: Postfix plugin to support MySQL maps
|
||||||
License: IBM Public License ..
|
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
AutoReqProv: on
|
|
||||||
PreReq: %{name} = %{version}
|
PreReq: %{name} = %{version}
|
||||||
|
|
||||||
%description mysql
|
%description mysql
|
||||||
@ -133,9 +128,7 @@ starting %{name} if you'll access a postmap which is stored in mysql.
|
|||||||
|
|
||||||
%package postgresql
|
%package postgresql
|
||||||
Summary: Postfix plugin to support PostgreSQL maps
|
Summary: Postfix plugin to support PostgreSQL maps
|
||||||
License: IBM Public License ..
|
|
||||||
Group: Productivity/Networking/Email/Servers
|
Group: Productivity/Networking/Email/Servers
|
||||||
AutoReqProv: on
|
|
||||||
PreReq: %{name} = %{version}
|
PreReq: %{name} = %{version}
|
||||||
|
|
||||||
%description postgresql
|
%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 %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 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/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}
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||||
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
|
install lib/*.1 $RPM_BUILD_ROOT/%{_libdir}
|
||||||
for i in $RPM_BUILD_ROOT/%{_libdir}/*.1; do
|
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 %{pf_gid} -o -r %{name} 2> /dev/null || :
|
||||||
/usr/sbin/groupadd -g %{maildrop_gid} -o -r maildrop 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/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
|
%pre mysql
|
||||||
|
Loading…
Reference in New Issue
Block a user