On Mon, 2016-11-14 at 10:51 -0500, Scott Kitterman wrote:
> 
> On November 14, 2016 10:13:03 AM EST, Mathias Gibbens <[email protected]> 
> wrote:
> >On Sun, 2016-11-13 at 19:53 -0500, Scott Kitterman wrote:
> >> 
> >> On November 13, 2016 6:56:23 PM EST, Mathias Gibbens
> ><[email protected]> wrote:
> >> >Package: postfix
> >> >Version: 3.1.3-2
> >> >Severity: important
> >> >
> >> >Dear Maintainer,
> >> >
> >> >  I have configured postfix to use a specific IP address specified
> >with
> >> >inet_interfaces in main.cf. However, when the server boots postfix
> >does
> >> >not start properly and I see this in the logs:
> >> >
> >> >        Nov 11 21:07:27 mail postmulti[103]: fatal: parameter
> >> >        inet_interfaces: no local interface found for 172.20.2.61
> >> >
> >> >  If I log in and restart the postfix service, it starts up just
> >fine.
> >> >Additionally, if I set inet_interfaces to "all" in main.cf, postfix
> >> >starts fine at boot time.
> >> >
> >> > I am using systemd for the server's init, but am not too familiar
> >with
> >> >troubleshooting the ordering of services starting up. I did find a
> >> >Fedora bug report that might be similar at
> >> >https://bugzilla.redhat.com/show_bug.cgi?id=1116538 and tried
> >adjusting
> >> >the Requires and After targets as suggested in that report, but it
> >> >didn't solve my issue.
> >> >
> >> >  Previously I had been running postfix on a jessie/systemd server
> >with
> >> >the same configuration and it worked properly.
> >> 
> >> Does using this instead work?
> >> inet_interfaces: 127.0.0.1,172.20.2.61
> >> smtp_bind_address: 172.20.2.61
> >> 
> >> Scott K
> >
> >Hi Scott,
> >
> >  I tried your suggestion of modifying inet_interfaces and adding
> >smtp_bind_address to my main.cf, but I am still getting the same error:
> >
> >        Nov 14 15:08:18 mail postmulti[112]: fatal: parameter
> >        inet_interfaces: no local interface found for 172.20.2.61
> 
> What about with localhost instead of 127.0.0.1?
> 
> Scott K
> 

  Same result when using localhost rather than 127.0.0.1. It seems that
when postfix is started, the network card hasn't yet been assigned its
IP address. (I am using a static IP, so that shouldn't be the problem.)
If I was more familiar with systemd maybe I could figure out what's
going wrong, but I don't have that specific knowledge.

Thanks,
Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to