git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can git send-email support neomutt?

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Nov 5, 2022, 18:10 UTC
Message-ID
<Y2anAijZxu9QEX4M@tapette.crustytoothpaste.net>
In-Reply-To
<20221105154600.hbrqs74inmvpebie@desktop>
On 2022-11-05 at 15:46:00, Wu Zhenyu wrote:
Show 8 quoted lines
> Excuse me.
> 
> I want to use neomutt as git send-email's cmd:
> 
> ```
> [sendemail]
> 	sendmailCmd = neomutt
> ```

Mutt and Neomutt are MUAs, which stands for mail user agent. That is, they're mail clients that people use to read, compose, and send email. The sendmailCmd wants an MTA, or mail transfer agent, which is essentially a mail server. It's customary for most Unix systems to have such a piece of software which emulates the original Sendmail in its command-line interface, even if that's to send data off the system.

That's why you see a fixed interface here, because whether someone is using Sendmail, Exim, Postfix, or a smarthost-only tool like esmtp-run, whatever software is being used presents the same interface.

It's not likely that we'd add a lot of customizability to this option. However, you can use the same SMTP server that you use with Neomutt by setting the smtpuser, smtpencryption, smtpserver, and smtpserverport options.

You can also use `git format-patch --stdout | neomutt -f -` and that may provide you the same functionality you were hoping for with `sendemail.sendmailCmd`.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Previous: Wu ZhenyuNext: Wu Zhenyu
Message 2 of 5 in “Can git send-email support neomutt?”
  1. Wu ZhenyuNov 5, 2022
  2. brian m. carlsonNov 5, 2022
  3. Wu ZhenyuNov 6, 2022
  4. brian m. carlsonNov 6, 2022
  5. Wu ZhenyuNov 6, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.