Mailinglist Archive: opensuse-bugs (6182 mails)

< Previous Next >
[Bug 622873] postfix doesn't start if ipv6 is disabled
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 30 Jul 2010 12:18:37 +0000
  • Message-id: <20100730121837.D9C1BCC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=622873

http://bugzilla.novell.com/show_bug.cgi?id=622873#c2


--- Comment #2 from Peter Varkoly <varkoly@xxxxxxxxxx> 2010-07-30 12:18:37 UTC
---
Thanks for reporting. Problem is fixed:

--- SuSEconfig.postfix-old 2010-07-30 14:21:46.000000000 +0200
+++ SuSEconfig.postfix 2010-07-30 14:22:31.000000000 +0200
@@ -273,7 +273,11 @@
if [ "$(echo "$POSTFIX_INET_PROTO" | tr 'A-Z' 'a-z' )" != "" ]; then
$PCONF -e "inet_protocols = $POSTFIX_INET_PROTO"
else
- $PCONF -e "inet_protocols = all"
+ if [ "$( ip addr show dev lo | grep inet6 )" ]; then
+ $PCONF -e "inet_protocols = all"
+ else
+ $PCONF -e "inet_protocols = ipv4"
+ fi
fi
if test "$SMTPD_LISTEN_REMOTE" == "yes" ; then
if [ "$(echo "$POSTFIX_LISTEN" | tr 'A-Z' 'a-z' )" != "" ]; then

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References