lkml.org 
[lkml]   [2001]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19]
On Thu, Sep 06, 2001 at 11:58:11AM -0400, Wietse Venema wrote:
> Andrey Savochkin:
> > Of course, SIOCGIFCONF isn't even close to provide the list of local
> > addresses.
> > Obvious example: it doesn't enlist all addresses 127.0.0.1, 127.0.0.2 etc.
> > on common systems. If you handle 127.0.0.2 as local, you apply side
>
> 127.0.0.2 is not local on any of my systems. The only exceptions
> are some Linux boxen that I did not ask to do so.
>
> I welcome suggestions, maybe even code fragments, that will allow
> an MTA to correctly recognize user@[ip.address] as local, as required
> by the SMTP RFC.

The question was which ip.address in user@[ip.address] should be treated as
local.
My comment was that the only reasonable solution on Linux is to treat this
way addresses explicitly specified in the configuration file.
Postfix may show its guess at the installation time.

Now the question of recognizing user@[ip.address] as local is a question of a
simple table lookup.

Best regards
Andrey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site