Messages in this thread |  | | Subject | Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias bug 2.4.9 and 2.2.19] | Date | Thu, 6 Sep 2001 12:50:51 -0400 (EDT) | From | (Wietse Venema) |
| |
Andrey Savochkin: > > 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.
That is not practical. Surely there is an API to find out if an IP address connects to the machine itself. If every UNIX system on this planet can do it, then surely Linux can do it.
The same issue is true for local subnets. Surely there exists an API to find out what subnetworks a machine is attached to. If every UNIX system on this planet can do it, then surely Linux can do it.
Wietse - 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/
|  |