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 {
limits {
destination rate 20 1s
destination concurrency 10
}
mx_auth {
dane
mtasts {
cache fs
fs_dir mtasts_cache/
}
local_policy {
min_tls_level encrypted
min_mx_level none
}
}
#target.remote relay_delivery {
# limits {
# destination rate 20 1s
# destination concurrency 10
# }
# mx_auth {
# dane
# mtasts {
# cache fs
# fs_dir mtasts_cache/
# }
# local_policy {
# min_tls_level encrypted
# 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 &relay_delivery
#target smtp tcp://10.0.0.7:25
autogenerated_msg_domain $(primary_domain)
max_tries 40
bounce {
destination postmaster $(local_domains) {
deliver_to &local_routing