OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: Re[7]: Mail problems delivering to
From: Wietse Venema (wietseporcupine.org)
Date: Thu Sep 14 2000 - 18:39:36 CDT


Kurt Andersen:
> wietseporcupine.org (Wietse Venema) wrote:
> > Even when relayhost is specified, Postfix will deliver mail for
> > user[my.own.ip.address] locally.
> >
> > Sep 14 17:33:38 bristle postfix/local[2203]: 974B84407C:
> > to=<wietse[9.2.84.17]>, relay=local, delay=0, status=sent
> > (mailbox)
> >
> > bristle% postconf relayhost
> > relayhost = $mydomain
> >
> > Which makes me wonder why such mail is not delivereded locally
> > in your case.
>
> Guess I'm not being clear. From the host 15.0.0.1, mail sent to
> "user[15.0.0.1]" does get delivered locally. Mail sent to
> "user15.0.0.1" gets delivered locally if 15.0.0.1 is listed in
> mydestination.

In the above example, mail from the machine 9.2.84.17 sent to
user[9.2.84.17] is delivered locally even while the host has a
relayhost defined.

> What I'm wondering is if there is any way to get mail sent from the
> node 15.0.0.2 to "user[15.0.0.1]" with a mynetworks setting of
> 15.0.0.0/8 to be delivered directly to 15.0.0.1 rather than being
> handed to the relayhost.

You must have configured postfix in some odd manner that it does
not recognize [15.0.0.1] as local. It works for me, see above.

If I can't reproduce your problem then I cannot fix it.

The main.cf inet_interfaces parameter controls what user[ip.address]
are recognized as local.

        Wietse