{"id":1920,"date":"2018-03-25T08:05:06","date_gmt":"2018-03-25T08:05:06","guid":{"rendered":"https:\/\/lineo.es\/limitacion-de-la-velocidad-de-correos-salientes-con-mailman-y-exim\/"},"modified":"2026-04-01T07:13:26","modified_gmt":"2026-04-01T07:13:26","slug":"throttling-emails","status":"publish","type":"post","link":"https:\/\/lineo.es\/en\/throttling-emails\/","title":{"rendered":"Throttling outbound emails with Mailman &#038; Exim"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1920\" class=\"elementor elementor-1920\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-81cbe55 e-flex e-con-boxed e-con e-parent\" data-id=\"81cbe55\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-c7cc608 e-con-full e-flex e-con e-child\" data-id=\"c7cc608\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b6cf988 elementor-widget elementor-widget-theme-post-title elementor-page-title elementor-widget-heading\" data-id=\"b6cf988\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"theme-post-title.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Throttling outbound emails with Mailman &#038; Exim<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-3e5cc8f e-con-full e-flex e-con e-child\" data-id=\"3e5cc8f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e395736 elementor-widget elementor-widget-text-editor\" data-id=\"e395736\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Many ISPs have limits on the amount of emails received in a period of time, not respecting this will reduce the reputation of the sender.<\/p><p>Mailman 2 doesn\u2019t support throttling, though there\u2019re some patches in the wild adding this feature. Exim supports rate limiting incoming emails, but not emails going out, though it may be possible to do this with some convoluted configuration.<\/p><p>The easy solution is to rate limit emails coming from Mailman to Exim, so Mailman will retry them later.<\/p><p>This is the Mailman configuration:<\/p><p style=\"padding-left: 40px;\">DELIVERY_RETRY_WAIT = minutes(15)<\/p><p>Here we tell Mailman to retry sending delayed emails every 15 minutes, this is the minimum possible time, because the retry process only runs every 15 minutes. The default value is 1 hour.<\/p><p>This is the Exim configuration:<\/p><p style=\"padding-left: 40px;\">acl_smtp_rcpt = acl_check_rcpt<\/p><p style=\"padding-left: 40px;\">[&#8230;]<\/p><p style=\"padding-left: 40px;\">acl_check_rcpt:<br \/>[&#8230;]<br \/>defer hosts = +relay_from_hosts<br \/>ratelimit = 75 \/ 15m \/ per_rcpt \/ $domain<br \/>message = Rate limit exceeded for $domain: \\<br \/>$sender_rate\/$sender_rate_period \\<br \/>(max $sender_rate_limit)<\/p><p>Here we\u2019re telling Exim to accept no more than 75 emails every 15 minutes for any given domain. As seen above 15 minutes is the minimum possible for Mailman. The value 75 depends on how many emails you\u2019re sending: look at the exim logs, pick up the domain you\u2019re sending the most emails, and adjust this value accordingly.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Many ISPs have limits on the amount of emails received in a period of time, not respecting this will reduce the reputation of the sender. Mailman 2 doesn\u2019t support throttling, though there\u2019re some patches in the wild adding this feature. Exim supports rate limiting incoming emails, but not emails going out, though it may be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1920","post","type-post","status-publish","format-standard","hentry","category-sin-categoria"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/posts\/1920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/comments?post=1920"}],"version-history":[{"count":6,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/posts\/1920\/revisions"}],"predecessor-version":[{"id":2136,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/posts\/1920\/revisions\/2136"}],"wp:attachment":[{"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/media?parent=1920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/categories?post=1920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lineo.es\/en\/wp-json\/wp\/v2\/tags?post=1920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}