Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

postfix/smtp: fatal: parameter inet_interfaces: no local interface found for IP

2,193 views
Skip to first unread message

Jose Dinuncio

unread,
Apr 14, 2014, 9:47:38 PM4/14/14
to
Hello,

I'm using ubuntu 12.04 and postfix 2.9.6. The goal is to run postfix in interface eth0:0
instead of eth0. The idea is to be able to easily move postfix from a machine to another,
moving the IP too and keeping intact the configuration.

When I run postfix using the IP of eth0 (150.186.32.46) everything works fine. But if I try

    ip addr add 150.186.32.9/32 dev eth0

and the same config, but with the new IP, I get the following error:

    Apr 13 06:36:16 iota postfix/qmgr[28834]: fatal: parameter inet_interfaces: no local interface found for 150.186.32.9

I could do that on RedHat 4.7 and postfix-2.8.7, but I'm unable to do it in ubuntu.

Is there something I'm missing?

Thanks in advance.



--
Jose Dinuncio

Viktor Dukhovni

unread,
Apr 14, 2014, 11:55:31 PM4/14/14
to
On Mon, Apr 14, 2014 at 09:17:38PM -0430, Jose Dinuncio wrote:

> When I run postfix using the IP of eth0 (150.186.32.46) everything works
> fine. But if I try
>
> ip addr add 150.186.32.9/32 dev eth0

What does "ifconfig -a" report after this? Does the new IP address
show up for some interface, and if so, which one?

> and the same config, but with the new IP, I get the following error:
>
> Apr 13 06:36:16 iota postfix/qmgr[28834]: fatal: parameter
> inet_interfaces: no local interface found for 150.186.32.9
>
> I could do that on RedHat 4.7 and postfix-2.8.7, but I'm unable to do it in
> ubuntu.

Debug with "postconf inet_interfaces", running as a non-root user.

--
Viktor.

0 new messages