From daa35954fa1d41d7c8385c3d96f08c2cad90ca4a Mon Sep 17 00:00:00 2001 From: Nathalie Cai Date: Thu, 7 Nov 2024 17:25:52 +0100 Subject: [PATCH] change orange.fr to provider.orange in shaping.toml (#312) * change orange.fr to provider.orange in shaping.toml Co-authored-by: ncai --- assets/policy-extras/shaping.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/assets/policy-extras/shaping.toml b/assets/policy-extras/shaping.toml index 46255e72..6733c235 100644 --- a/assets/policy-extras/shaping.toml +++ b/assets/policy-extras/shaping.toml @@ -25,7 +25,7 @@ # kumo.make_egress_path. # # -# Community members are invited to submit their rules for general use by adding them +# Community members are invited to submit their rules for general use by adding them # to the community/shaping.toml file and submitting a pull request. # DO NOT EDIT THIS FILE, IT WILL BE OVERWRITTEN WHEN YOU UPDATE YOUR INSTALLATION @@ -37,9 +37,9 @@ # local shaper = shaping:setup_with_automation { # publish = { 'http://127.0.0.1:8008', }, # subscribe = { 'http://127.0.0.1:8008', }, -# extra_files = { +# extra_files = { # '/opt/kumomta/share/policy-extras/shaping.toml', -# '/opt/kumomta/share/community/shaping.toml', +# '/opt/kumomta/share/community/shaping.toml', # '/opt/kumomta/etc/policy/shaping_custom.toml', # }, # } @@ -102,7 +102,7 @@ match_internal = true # https://support.google.com/mail/answer/81126 # NOTE: While it's commonly understood that Gmail and Google Workspace use different filtering -# Criteria, at time of writing (2024-09-03) their MX hostnames all resolve to common IPs, +# Criteria, at time of writing (2024-09-03) their MX hostnames all resolve to common IPs, # so Google Workspace and Gmail are being combined for the purposes of traffic shaping and queueing. [provider."google"] match=[ @@ -205,8 +205,9 @@ max_deliveries_per_connection = 100 # https://www.postmastery.com/orange-postmaster-smtp-error-codes-ofr/ # https://messagerie.orange.fr/postmaster.html -["orange.fr"] -connection_limit = 2 +[provider."orange"] +match=[{MXSuffix=".orange.fr"}] +provider_connection_limit = 2 max_deliveries_per_connection = 100 # PROVIDED DIRECTLY FROM MAILGUN FOR SENDERS WHO SMARTHOST VIA MAILGUN