On Jul 9, 2012, at 12:44 PM, Matthew Newton wrote:
> AUTH1LOOKUP = ${if eq{${domain:${quote:$auth1}}}{}\
> {${lookup{$received_ip_address}lsearch{/lookup/file}{$value}fail}\
> {${quote:$auth1}}}
>
> server_set_id = AUTH1LOOKUP
> server_condition = ...test access here using AUTH1LOOKUP as the username...
>
> maybe?
>
> Totally untested, but might be the right direction you want to go
> in. Although preferably I'd just block access from non-qualified
> usernames and tell them to fix their system, otherwise you'll be
> forever maintaining a 'fix-up' list when they move IP, etc.
Unfortunately that would be several thousand users, and legacy ISP's don't like to change a lot. The only IP's that would possibly change is the server IP, which would be very rare.
I'll look at what you have, it's a good starting point, thanks.
--
Robert Blayzor
INOC, LLC
rblayzor@???
http://www.inoc.net/~rblayzor/