On Mon, Feb 15, 2021 at 09:43:30AM +0300, Oleg A. Mamontov wrote:
I think what you suggest -- an manual 'msmtp-queue -r' as needed -- is more than ample for my use case. For that matter, in most instances I don't even mind waiting until I send another email which will achieve the same effect.
The same with me :) That's why I have no cronjob for `msmtp-queue -r` but just two additional mutt macroses: --- macro index <esc>q "!clear; msmtp-queue<enter>" "show send queue" macro index <esc>Q "!clear; msmtp-queue -r<enter>" "re-send from queue"
Fair enough! (I'm not sure this expression is appropriate in this case, but I always wanted to use it. Hehe)
I'm adding those macros myself, too, they might come handy despite of having the crontab entry set. My reasoning would be that if I forget to flush the queue once for important mail and cron does it for me and saves the day, it'd be worth having the cron job trying every hour or so (doing nothing is computationally cheap).
Cheers, Ángel