Postfix won't start on bootup

SuSe 12.1 64bit KDE. When I try to set Postfix to run in Yast System Services I get the error…

/etc/init.d/postfix start returned 1 (unspecified error):

…when I run as root

/etc/init.d/postfix start

I get

Starting mail service (Postfix)                                                failed

Any suggestions? Thanks.

Look in the log files /var/log/mail and maybe /var/log/messages.

What do you get with
~ # postfix status
and/or
~ # postfix start
?

If you are running the network as IPv4 only, you need to comment out the IPv6 loopback line in /etc/hosts – i.e.

# ::1 localhost ipv6-localhost ipv6-loopback

 # postfix status
postfix: fatal: parameter inet_interfaces: no local interface found for ::1
# postfix start
postfix: fatal: parameter inet_interfaces: no local interface found for ::1

I’ll try the /etc/hosts edit next and report.

Excellent diagnosis. It did the trick. Many thanks.