Accepting request 24958 from server:mail

Copy from server:mail/postfix based on submit request 24958 from user varkoly

OBS-URL: https://build.opensuse.org/request/show/24958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postfix?expand=0&rev=39
This commit is contained in:
OBS User autobuild 2009-11-27 12:42:46 +00:00 committed by Git OBS Bridge
parent f0ff8ace09
commit 3656374f36
3 changed files with 26 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81bb95c7b712f3ac4a1356917992e7c5e650e03b192f9a35117351360386cc97
size 21145
oid sha256:7afaff6370e91c230ad99ae9b52da61671c70109fb227d6ae3a854315311030c
size 21013

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Nov 16 17:14:39 CET 2009 - varkoly@suse.de
- bnc#555814 VUL-0: SMTPD_LISTEN_REMOTE="yes" by default
- bnc#555732 - Invalid $(hostname -i) usage SuSEconfig.postfix
- bnc#547928 Postfix does not start during boot process
- Avoid append relay multiple times in POSTFIX_MAP_LIST
-------------------------------------------------------------------
Mon Oct 26 14:36:55 CET 2009 - varkoly@suse.de
- bnc#549612 SuSEconfig.postfix
-------------------------------------------------------------------
Mon Sep 28 09:22:54 CEST 2009 - varkoly@suse.de

View File

@ -22,7 +22,7 @@
Name: postfix
Summary: A fast, secure, and flexible mailer
Version: 2.6.1
Release: 1
Release: 2
License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
Url: http://www.postfix.org/
@ -445,7 +445,16 @@ if [ ${1:-0} -gt 1 ]; then
/usr/sbin/%{name} set-permissions upgrade-configuration setgid_group=%{pf_setgid_group}
#New map in 11.2 #TODO remove it later
. /etc/sysconfig/postfix
sed -i "s/^POSTFIX_MAP_LIST=.*/POSTFIX_MAP_LIST=\"$POSTFIX_MAP_LIST relay\"/" /etc/sysconfig/postfix
RELAY=`echo $POSTFIX_MAP_LIST | grep -P " relay | relay$"`
if [ -z "$RELAY" ]
then
sed -i "s/^POSTFIX_MAP_LIST=.*/POSTFIX_MAP_LIST=\"$POSTFIX_MAP_LIST relay\"/" /etc/sysconfig/postfix
fi
if [ ! -e /var/adm/BNC-555814.fixed ]
then
sed -i 's/SMTPD_LISTEN_REMOTE=.*/SMTPD_LISTEN_REMOTE=""/' /etc/sysconfig/mail
touch /var/adm/BNC-555814.fixed
fi
fi
ldconfig
# ---------------------------------------------------------------------------