mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
add documentation
This commit is contained in:
parent
334df74e49
commit
f575b1c2a2
@ -776,7 +776,7 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
#app.logger.info('API key: ' + auth_service.key)
|
#app.logger.info('API key: ' + auth_service.key)
|
||||||
|
|
||||||
logging.basicConfig(level=logging_level, format='%(levelname)s:%(module)s.%(funcName)s %(message)s')
|
logging.basicConfig(level=logging_level, format='MiaB %(levelname)s:%(module)s.%(funcName)s %(message)s')
|
||||||
logging.info('Logging level set to %s', logging.getLevelName(logging_level))
|
logging.info('Logging level set to %s', logging.getLevelName(logging_level))
|
||||||
|
|
||||||
# Start the application server. Listens on 127.0.0.1 (IPv4 only).
|
# Start the application server. Listens on 127.0.0.1 (IPv4 only).
|
||||||
|
@ -4,6 +4,20 @@ set -euo pipefail
|
|||||||
# Download select set of malware blocklists from The Firebog's "The Big Blocklist
|
# Download select set of malware blocklists from The Firebog's "The Big Blocklist
|
||||||
# Collection" [0] and block access to them with Unbound by returning NXDOMAIN.
|
# Collection" [0] and block access to them with Unbound by returning NXDOMAIN.
|
||||||
#
|
#
|
||||||
|
# Usage:
|
||||||
|
# # create the blocklist
|
||||||
|
# create_dns_blocklist.sh > ~/blocklist.conf
|
||||||
|
# sudo mv ~/blocklist.conf /etc/unbound/lists.d
|
||||||
|
#
|
||||||
|
# # check list contains valid syntax. If not valid, remove blocklist.conf,
|
||||||
|
# # otherwise unbound will not work
|
||||||
|
# sudo unbound-checkconf
|
||||||
|
# > unbound-checkconf: no errors in /etc/unbound/unbound.con
|
||||||
|
#
|
||||||
|
# # reload unbound configuration
|
||||||
|
# sudo unbound-control reload
|
||||||
|
#
|
||||||
|
#
|
||||||
# [0]: https://firebog.net
|
# [0]: https://firebog.net
|
||||||
(
|
(
|
||||||
# Malicious Lists
|
# Malicious Lists
|
||||||
|
Loading…
Reference in New Issue
Block a user