# -*- ruby -*-

load("applicable-conditions/*.conf")
load_default
load_if_exist("milter-manager.local.conf")

# security.privilege_mode = false
# security.effective_user = nil
# security.effective_group = nil

# manager.connection_spec = "inet:10025@[127.0.0.1]"
# manager.unix_socket_mode = 0660
# manager.unix_socket_group = nil
# manager.remove_unix_socket_on_create = true
# manager.remove_unix_socket_on_close = true
# manager.daemon = false
# manager.pid_file = nil
# manager.maintenance_interval = 100
# manager.suspend_time_on_unacceptable = 5
# manager.custom_configuration_directory = nil

# controller.connection_spec = nil
# controller.unix_socket_mode = 0660
# controller.remove_unix_socket_on_create = true
# controller.remove_unix_socket_on_close = true

# define_milter("milter@10026") do |milter|
#   milter.description = "a milter working at inet:10026@localhost"
#   milter.connection_spec = "inet:10026@localhost"
# #   milter.user_name = "nobody"
# #   milter.command = "test-milter"
# #   milter.command_options = ["-p", "inet:10026@localhost"]
#
# #   milter.enabled = false
# #   milter.fallback_status = "accept"
#   milter.add_applicable_condition("S25R")
# #   milter.target_hosts << "external.example.com"
# end
