# -*- ruby -*-

define_applicable_condition("Remote Network") do |condition|
  condition.description = "Apply milter only if connected from remote network"

  condition.define_connect_stopper do |context, host, address|
    address.local?
  end
end
