I can see where the initial confusion came from...
> drop !condition = ${if def:authenticated_id{yes}{no}}
> !hostlist = myip1 : myip2 : myip3
Think of it the other way around and the logic gets easier....
accept authenticated=*
accept hosts = myip1 : myip2 : myip3
drop
(You might consider 'deny' instead of 'drop', this is less likely to
cause unwanted behaviour from the other party).
I thought Peter was explaining how this was constructed...
> drop !condition = ${if def:authenticated_id{yes}{no}}
> !hostlist = myip1 : myip2 : myip3
I thought he was trying to explain to me in simpler terms what the conition
meant - I had no idea that he was providing an alternative. All I took from
that reply was a suggestion about using deny instead of drop.
--
View this message in context:
http://www.nabble.com/Drop-all-traffic-unless-authenticated-users-OR-specific-IP---tp15086940p15091374.html
Sent from the Exim Users mailing list archive at Nabble.com.