On Sat, Jul 29, 2023 at 11:00:32AM +0000, Claus Assmann wrote: > Use a script as "sendmail" program for mutt which > - submits the mail but tells the MTA to only queue it, > - gets the info about the queued msg from the MTA when > it accepts the mail, > - schedules a queue run for that item at the desired time. > and make sure the MTA does not run the msg any earlier.
Yes, this would be my preferred way to do it too. I'm an exim fan (sort of) and I'm sure it can be done with exim. Btw, I have an intermediate "fake MTA" in my setup anyway for security reasons. Normally exim is installed setuid root and world-executable, and the reason for the latter part is that it needs to act as the submission agent as well; if another simpler program takes over the submission role, exim can be mode 04754 with a dedicated group. -- Ian