auto now hosts django apps

added devfs_rule configs for jails
configure mail ipv6 settings
windows2019 VM
This commit is contained in:
Charlie Root
2020-04-11 00:46:09 -07:00
parent f26cf87f5a
commit 2327d9d6c0
34 changed files with 1451 additions and 113 deletions

View File

@ -265,7 +265,7 @@ unknown_local_recipient_reject_code = 550
#
#mynetworks_style = class
#mynetworks_style = subnet
mynetworks_style = host
#mynetworks_style = host
# Alternatively, you can specify the mynetworks list by hand, in
# which case Postfix ignores the mynetworks_style setting.
@ -282,6 +282,10 @@ mynetworks_style = host
#mynetworks = $config_directory/mynetworks
#mynetworks = hash:$config_directory/network_table
mynetworks = 127.0.0.1/32 192.168.0.0/16 [::1]/128 [fe80::]/10 [2603:3024:3f6::]/56
smtp_bind_address = 192.168.0.100
smtp_bind_address6 = 2603:3024:3f6:e1::100
# The relay_domains parameter restricts what destinations this system will
# relay mail to. See the smtpd_recipient_restrictions description in
# postconf(5) for detailed information.
@ -675,7 +679,7 @@ sample_directory = /usr/local/etc/postfix
# readme_directory: The location of the Postfix README files.
#
readme_directory = /usr/local/share/doc/postfix
inet_protocols = ipv4
inet_protocols = ipv4, ipv6
meta_directory = /usr/local/libexec/postfix
shlib_directory = /usr/local/lib/postfix

View File

@ -116,5 +116,11 @@ group "external_services" {
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/external_services_group.conf"
}
group "content" {
.include "$CONFDIR/scores.d/content_group.conf"
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/content_group.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/content_group.conf"
}
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/groups.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/groups.conf"

View File

@ -13,7 +13,7 @@
#
# Relevant documentation: https://rspamd.com/doc/configuration/options.html
filters = "chartable,dkim,spf,regexp,fuzzy_check";
filters = "chartable,dkim,regexp,fuzzy_check";
raw_mode = false;
one_shot = false;
cache_file = "$DBDIR/symbols.cache";
@ -28,6 +28,7 @@ check_all_filters = false;
# Default settings
dns_max_requests = 64;
max_lua_urls = 1024;
max_urls = 10240;
dns {
timeout = 1s;
@ -57,6 +58,9 @@ words_decay = 600;
# Write statistics about rspamd usage to the round-robin database
rrd = "${DBDIR}/rspamd.rrd";
# Write statistics for `rspamc` here
stats_file = "${DBDIR}/stats.ucl";
# Local networks
local_addrs = [192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fd00::/8, 169.254.0.0/16, fe80::/10];
hs_cache_dir = "${DBDIR}/";