On 07/27/20 19:49, Tom Lendacky wrote:

> Yes, I always get an error when I reach 40 emails:
> 
> Reported error: 550 5.0.350 Remote server returned an error -> 500 We have
> received more than 40 messages in 30 minutes from you. To guard against
> autoresponder mail loops, we must reject additional messages from you
> temporarily. Please try again later.
> 
> So I usually have to wait a few hours and resend the last ones so they
> make it to groups.io.

Sigh.

Phil found one way to deal with this non-interactively: see the
"sendemail.smtpBatchSize" and "sendemail.smtpReloginDelay" git-config
options. From git-send-email(1):

       --batch-size=<num>
           Some email servers (e.g. smtp.163.com) limit the number
           emails to be sent per session (connection) and this will
           lead to a failure when sending many messages. With this
           option, send-email will disconnect after sending $<num>
           messages and wait for a few seconds (see --relogin-delay)
           and reconnect, to work around such a limit. You may want to
           use some form of credential helper to avoid having to
           retype your password every time this happens. Defaults to
           the sendemail.smtpBatchSize configuration variable.

       --relogin-delay=<int>
           Waiting $<int> seconds before reconnecting to SMTP server.
           Used together with --batch-size option. Defaults to the
           sendemail.smtpReloginDelay configuration variable.

That way the "second batch" should need no manual work, hopefully.

Thanks
Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#63399): https://edk2.groups.io/g/devel/message/63399
Mute This Topic: https://groups.io/mt/75824926/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to