Kees Cook wrote:
> On Tue, Jun 03, 2025 at 12:38:32AM +0200, Mauro Carvalho Chehab wrote:
> > the tunnel script redirects the e-mails to dovecot imap daemon:
> > 
> >     #!/bin/sh
> > 
> >     export MBOX_LOCKS=fcntl
> >     MAIL={my_imap_folder_location}
> >     exec /usr/libexec/dovecot/imap
> > 
> > With that, the e-mails go to my Drafts folder. This way, I end sending
> > the e-mails prepared by git using my MUA. One of the advantages is that
> > I can modify the e-mail as needed. I the case of PRs, I use it to add
> > a summary of what is there at the PR.
> 
> Interesting... this is close, yeah. I end up spawning mutt directly for
> my PRs, so I get the FCC. I think there must be a way to get mutt to
> send an email noninteractively...

On the way to the setup I have now that just an oauth proxy to Exchange
Online smtp I played with a sendmail script that did:

#!/bin/bash
mutt -H -

...but at least in my environment Exchange Online did not like sending
longer series that way because it started an new session each patch. It
is happier with git-send-mail which does it all one session I believe?

Not sure if PEBKAC or Exchange?

Reply via email to