lkml.org 
[lkml]   [2001]   [Sep]   [7]   [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
On Thu, 6 Sep 2001, Wietse Venema wrote:

> 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.

Would it not suffice, in the common case, to check if the
local address that the SMTP connection was accepted on is
the same as the IP address in the email address?

As I see it, it breaks only for multihomed relays or weird
configurations, (with values of "breaks" close to "incurs
an extra SMTP transaction").

You could even maintain a cache of IPs that SMTP connections
had been accepted on.

Matthew.

-
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:02    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site