SHA256
1
0
forked from pool/postfix

bnc#549612 – SuSEconfig.postfix

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=10
This commit is contained in:
Peter Varkoly 2009-10-26 13:35:30 +00:00 committed by Git OBS Bridge
parent 3656374f36
commit 218d581ced
3 changed files with 4 additions and 21 deletions

View File

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

View File

@ -1,11 +1,3 @@
-------------------------------------------------------------------
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

View File

@ -22,7 +22,7 @@
Name: postfix
Summary: A fast, secure, and flexible mailer
Version: 2.6.1
Release: 2
Release: 1
License: IBM Public License ..
Group: Productivity/Networking/Email/Servers
Url: http://www.postfix.org/
@ -445,16 +445,7 @@ 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
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
sed -i "s/^POSTFIX_MAP_LIST=.*/POSTFIX_MAP_LIST=\"$POSTFIX_MAP_LIST relay\"/" /etc/sysconfig/postfix
fi
ldconfig
# ---------------------------------------------------------------------------