/etc/apache2/mods-available/spamhaus.conf is in libapache2-mod-spamhaus 0.7-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | <IfModule mod_spamhaus.c>
#MS_Methods
# Syntax: MS_Methods POST,PUT,OPTIONS
# Default: POST,PUT,OPTIONS
#
# The values admitted are the httpd's methods (GET,POST,etc)
# Module verify remote ip address if the method used by the user is present
# in the value passed to this variable. Methods must be comma-separated
MS_METHODS POST,PUT,OPTIONS,CONNECT
#MS_WhiteList
# Syntax: MS_WhiteList /etc/spamhaus.wl
# Default: no value
# Path of whitelist file.
# After you've edit it, you mustn't reload apache. This file will be read only
# when 'data modification time' change. You can add an individual IP address or
# subnets with CIDR.
#MS_WhiteList /etc/spamhaus.wl
#MS_DNS
# Syntax: MS_DNS sbl-xbl.spamhaus.org
# Default: sbl-xbl.spamhaus.org
# Name server to use for verify is an ip is blacklisted.
# Using a local rbldnsd instance of sbl-xbl, you can increase query performance
#MS_Dns local.rbldnsd.instance.of.sbl-xbl
#MS_CacheSize
# Syntax: MS_CacheSize 256
# Default: 512
# Max value: 8192
# This directive can manage the number of cache entries.
#MS_CacheSize 512
#MS_CustomError
# Syntax: MS_CustomError "My custom error message"
# Default: "Access Denied! Your address is blacklisted. More information about this error may be available in the server error log."
# A custom error message that allows you to replace default error message with one you create
#MS_CustomError "Access Denied! Your address is blacklisted. More information about this error may be available in the server error log."
</IfModule>
|