On Sun, Feb 14, 2021 at 06:39:10PM -0600, boB Stepp wrote:
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.
So it sounds like I wasn't missing anything from what you and Sam are saying. I don't send out very many emails; I read far more than I respond to. My Internet connection is usually very reliable. I am wondering if it is even worth the effort for a cron job on this.
Same here, most of the time, but I do mail on many different devices, some of which I take out with me (on travels, for walks to do some exercise and take some lithe sun bathe, for work to places I don't have any other connection than data on my phone, etc.). In any case, even when I am on the conditions you describe, the "effort for a cron job on this" is, of course, worth. The effort to set it up is a couple of minutes adding a line to the crontab, and the "computation effort" of running 'msmtp-queue -r' every hour, for example, or even much more often, is close to zero. And you probably are using cron to trigger downloading mail anyway already, right? As I also said before, in my case, I have a few lines to download different type of mail at different frequencies.
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.
Sure, if you remember do in it. In any case, I wasn't suggesting to always do it manually, but for you to try it out once to see its effect before adding it to your crontab. :-) In case you either had missed it in the documentation.
Thank you very much for everyone's suggestions! My Mutt installation is getting better and better and faster and faster!
Same here. As I said on a previous email in this thread, I had settled to wait for msmtp to deliver my outgoing mail when online, which was tolerable, but a little annoying some times, and to just flag mail I needed to reply while offline to reply them later, when online, which was much worse, since some times I forgot I had to do it. Now, both things are gone, which makes my set up much better. I wonder what other wonderful things are out there that could improve it further. The cool thing is that when I come across some of those, like in this case, it is so exiting and so much fun to discover, test, set up, and then enjoy using them... Cheers, Ángel (exited to hit 'y' to see this mail sent out of mutt as fast as it used to happen when I ran exim in all my boxes.)