cd /etc/rspamd
- create
rspamd.conf.local
- create lists:
touch local_bl_from.map.inc local_bl_ip.map.inc local_bl_rcpt.map.inc \
local_wl_from.map.inc local_wl_ip.map.inc local_wl_rcpt.map.inc
- change permissions:
configure | |
# Not working with DANOS 2005 | |
# RFC 1918 private IP networks are set as blackhole routes | |
# | |
# set protocols static route 10.0.0.0/8 blackhole distance 254 | |
# set protocols static route 172.16.0.0/12 blackhole distance 254 | |
# set protocols static route 192.168.0.0/16 blackhole distance 254 | |
# delete protocols static route 10.0.0.0/8 |
# FreeBSD 10.2 -- /etc/sysctl.conf version 0.47 | |
# https://calomel.org/freebsd_network_tuning.html | |
# | |
# low latency is important so we highly recommend that you disable hyper | |
# threading on Intel CPUs as it has an unpredictable affect on latency, cpu | |
# cache misses and load. | |
# | |
# These settings are specifically tuned for a "low" latency FIOS (300/300) and | |
# gigabit LAN connections. If you have 10gig or 40gig you will need to increase | |
# the network buffers as proposed. "man tuning" for more information. |