Subject: Re: postfix doesn't recognize lo0 (re-post)
To: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 01/07/2005 21:50:55
On Fri, Jan 07, 2005 at 09:24:15AM +0100, Torsten Harenberg wrote:
> (sorry, I have to re-send this, the single dot in a line truncated the
> mail)
>
> Dear all,
>
> sorry if this is the wrong list to ask.
>
> I have a freshly installed NetBSD 2.0 sparc64 machine which I want to run
> as a
> mailman and mail server.
>
> [17:40] root@mailhost:~ $ uname -a
> NetBSD mailhost 2.0 NetBSD 2.0 (GENERIC) #0: Thu Dec 2 02:49:29 UTC 2004
> builds@build:/big/builds/ab/netbsd-2-0-RELEASE/sparc64/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/sparc64/compile/GENERIC sparc64
>
> I installed postfix from the pkgsrc, which I've done several times allready
> on
> 1.6.x machines.
>
> Configuring postfix turned out to be the first problem:
>
> If you define
>
> inet_interfaces = $myhostname, localhost
>
> postfix blames you with:
>
> Jan 6 17:31:35 mailhost postfix[28892]: fatal: parameter inet_interfaces:
> no
> local interface found for 127.0.0.1
>
>
> I tryed to get around this leaving this parameter undefined ( so use the
> default which should be "all"). Instead I defined
>
> mynetworks = 127.0.0.0/8, 132.195.78.3
>
> like this.
>
> Now postfix comes up, but has the strange effect that he relays mail coming
> from the outgoing interface (hme0 is that case), but refuses to relay when
> connecting over localhost:
>
> >[17:45] root@mailhost:/usr/pkgsrc $ telnet localhost smtp
> >Trying ::1...
Note that you're using ipv6 here, not 127.0.0.1. You may need to add ::1
to mynetworks.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--