set hosts_max_try_hardlimit to avoid excessive retries with gmail
[hcoop/config/exim.git] / conf.d / transport / 30_exim4-config_remote_smtp
index a323aaa..7534101 100644 (file)
@@ -11,6 +11,7 @@ remote_smtp:
   driver = smtp
   # hcoop-change: drop hosts_max_try to avoid hitting all gmail MX at once
   hosts_max_try = 2
+  hosts_max_try_hardlimit = 3
 .ifndef IGNORE_SMTP_LINE_LENGTH_LIMIT
   message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}
 .endif