# -*- ruby -*-

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

define_milter("milter@10026") do |milter|
  milter.connection_spec = "inet:10026@localhost"
end

define_milter("milter@10027") do |milter|
  milter.connection_spec = "inet:10027@localhost"
end

define_policy("milter@10027 never use") do |policy|
  policy.host = "nonexistent.example.com"
  policy.milters = ["milter@10027"]
end
