# -*- ruby -*-

manager_fixture_dir = File.join(File.dirname(__FILE__), "..", "manager")
load(File.expand_path(File.join(manager_fixture_dir, "default.conf")))

top_dir = File.join(File.dirname(__FILE__), "..", "..", "..")
data_dir = File.join(top_dir, "data")
configuration.append_load_path(data_dir)

load("applicable-conditions/*.conf")

remote_network.add_local_address("160.29.167.0/24")

define_milter("milter@10026") do |milter|
  milter.applicable_conditions = ["Remote Network"]
end

define_milter("milter@10027") do |milter|
end
