RW wrote: > > Maybe one of us is reading the perl wrong (and it could well be me), or > we are talking at cross purposes. As I see it, it's going through the > list of IP address, starting with the mail client and working its way > towards the SA Server. When it finds a routable IP address it sets > origip and breaks-out of the loop. > You're right.. I've been working it out with Theo overnight... It's the first public (ie: closest to the client).
This is ontradictory to my earlier impressions, and much of what I've written in the wiki about trust paths is wrong as a result. > By your cronological definition of first and last (which is the same as > mine), that's the the FIRST non-private address. > > It makes sense to me, if I send you an email, the AWL entry should use > my IP address not a random gmail server. That only makes sense if your IP is stable.. if you're a roadwarrior working from hotels, it changes constantly and you'd be better off using the server. I've got some ideas for making the entries more useful, even in the gmail case though.. however, I'm going to have to go learn perl to implement them :)