Update relay configuration

This commit is contained in:
Kevin Kandlbinder 2023-04-24 14:27:11 +02:00
parent 76d8adcbbd
commit 9621d7de8c
Signed by: kevin
GPG key ID: 1460B586646E180D

View file

@ -195,27 +195,40 @@
} }
} }
target.remote relay_delivery { #target.remote relay_delivery {
limits { # limits {
destination rate 20 1s # destination rate 20 1s
destination concurrency 10 # destination concurrency 10
} # }
mx_auth { # mx_auth {
dane # dane
mtasts { # mtasts {
cache fs # cache fs
fs_dir mtasts_cache/ # fs_dir mtasts_cache/
} # }
local_policy { # local_policy {
min_tls_level encrypted # min_tls_level encrypted
min_mx_level none # min_mx_level none
} # }
} # }
#}
target.smtp relay_delivery {
debug no
attempt_starttls yes
require_tls no
auth off
targets tcp://mailcow.1in9.net:25
connect_timeout 5m
command_timeout 5m
submission_timeout 12m
} }
target.queue relay_queue { target.queue relay_queue {
target &relay_delivery target &relay_delivery
#target smtp tcp://10.0.0.7:25
autogenerated_msg_domain $(primary_domain) autogenerated_msg_domain $(primary_domain)
max_tries 40
bounce { bounce {
destination postmaster $(local_domains) { destination postmaster $(local_domains) {
deliver_to &local_routing deliver_to &local_routing