Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias

Charles Cazabon (linux-kernel@discworld.dyndns.org)
Thu, 6 Sep 2001 11:45:12 -0600


Wietse Venema <wietse@porcupine.org> wrote:
> Alan Cox:
> > How for example do you propose to answer the question for the case
> > Q: "is this local" A: "it depends on the sender"
> > With netfilter and transparent proxying active this is entirely possible
>
> Please explain the relevance for a real-world, SMTP based, MTA.
>
> If an MTA receives a delivery request for user@[ip.address] then
> the MTA has to decide if it is the final destination. This is
> required by the SMTP RFC.
>
> In order to enable SMTP RFC compliance, Linux has to provide the
> MTA with the necessary information. Requiring the sysadmin to
> enumerate all IP addresses in a file, as suggested by some other
> poster, is impractical.

I was that other poster. Typing "is impractical" into your MUA doesn't
make it a fact. It's not only a very practical solution, it's the
_most_ practical solution.

As other posters have noted, there's no magic incantation to tell you
which IP addresses happen to have an smtpd listening which are the
self-same MTA. The only person who's going to have this information is
the administrator.

Why are you afraid to ask the mail administrator to do configuration of
the MTA? Are you afraid they're idiots?

Charles

-- 
-----------------------------------------------------------------------
Charles Cazabon                            <linux@discworld.dyndns.org>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------
-
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/