mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-06-02 08:11:37 +02:00
Update relay configuration
This commit is contained in:
parent
76d8adcbbd
commit
9621d7de8c
1 changed files with 29 additions and 16 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue