On Sun, Feb 14, 2021 at 01:10:41AM -0600, boB Stepp wrote:
On 21/02/13 08:03PM, Sam Kuper wrote:

A queue script is included with msmtp, so you can have the best of both
worlds :)

https://git.marlam.de/gitweb/?p=msmtp.git;a=blob_plain;f=scripts/msmtpq/README.msmtpq;hb=HEAD

Is there an obvious way forward to check periodically for regaining
the network connection and flushing the queue?

From the URL above:

msmtp-queue -r -- runs (flushes) all the contents of the queue

Try running 'msmtp-queue -r' at your shell. It should trigger sending.

Adding 'msmtp-queue -r' as a cron job should do it automatically.

I hope it helps.

If there is built-in functionality to do this, I am not finding it.

I haven't found one, but I think it'd go through cron or some other
scheduling system.
Cheers,
Ángel

Reply via email to