From: Bill L. <wr...@gm...> - 2019-05-27 13:58:38
|
On 5/26/2019 8:35 PM, Lonnie Abelbeck wrote: > > >> On May 26, 2019, at 3:15 PM, Bill Lewis <wr...@gm...> wrote: >> >> Hello all, >> >> What controls how long an email sits in the msmtpqueue before being sent out? >> >> It seems to take quite a while (minutes) before sending. >> >> Bill > > Outbound emails should be forwarded almost immediately, unless there is some sort of error. > > If there is an error, the email(s) is queued and retried every 5 minutes. > > Lonnie It turns out there were dozen of old emails in that queue. Going back many months. When I finally configured the mail server, my outgoing msgs seemed to be taking a long time, vs sending instantly from another system configured the same way. I then noticed the 'mail' script sends immediately for non-root users vs. scheduling. So I sent looking for a time delay. And I changed that 5 minutes to 30 seconds to see what would happen. Because of all this, the system sent out a ton of failed sends to Gmail, and they locked my account. Only then did I discover all the msgs in the spool dir. Killing all that and waiting about an hour, Gmail started working again. And sending promptly. Bill |