On 7/28/20 5:07 AM, Laszlo Ersek wrote: > 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.
I've tried with and without batch-size and relogin-delay. My initial submissions were without these parameters and I hit the 40 email limit. I later tried a batch-size of 1 with a relogin-delay of 1 and that still results in the 40 email limit. I haven't tried any combinations of a larger batch-size. I don't think groups.io has a per-session limit, I think it is actually tracking individual emails over a period of time, so I don't think these parameters do anything for that. Thanks, Tom > > Thanks > Laszlo > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#63403): https://edk2.groups.io/g/devel/message/63403 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] -=-=-=-=-=-=-=-=-=-=-=-