# # Main configuration # [main] # Parameter: 'user' # Sets an unprivileged user to run as. # Default: nobody #user = nobody # Parameter: 'listen' # Configure the address and port to listen on. # Example: 0.0.0.0:10001 to bind on all interfaces # Default: 127.0.0.0:10001 #listen = 127.0.0.1:10001 # Parameter: 'path' # Sets the path for the file that contains the policy configuration. # Default: /etc/apolicy/policy.conf #policy_path = /etc/apolicy/policy.conf # Parameter: 'timeout' # Sets the limit in seconds to wait a DNS server to respond. Impacts # 'rbl' ACL only. # Default: 5 #timeout = 5 # Logging configuration # # Change the 'level' parameters bellow from 'INFO' to 'DEBUG' for a # verbose logging, otherwise you don't need bother to change anything. [logger_apolicy] level=INFO handlers=syslog formatter=simple qualname=apolicy [handler_syslog] class=handlers.SysLogHandler formatter=simple args=('/dev/log', handlers.SysLogHandler.LOG_MAIL) [formatter_simple] format=apolicy[%(process)d]: %(message)s datefmt= [logger_root] handlers= [handlers] keys=syslog [formatters] keys=simple [loggers] keys=root,apolicy