Re: b4 send fails with "no configs found"

Konstantin Ryabitsev <[email protected]> Mon, 3 Aug 2026 10:23:01 -0400
Newsgroups org.kernel.linux.tools
Message-ID <20260803-economic-serious-gharial-17692a@meerkat>
On Fri, Jul 31, 2026 at 07:50:39PM +0200, Tan Siewert wrote:
> Hi Team,
> 
> I've been trying to use b4 on my personal system and can't send any messages
> via msmtp / my sendemail identities, because it falls back to B4 relay
> although I haven't set anything for that in this regards.

Thanks for the detailed report!

The config isn't failing to load, we just didn't support sendmailCmd, because
it only got introduced in later git versions. So far, we only recognized when
smtpServer was set to a path.

This is now fixed in master -- b4 now honours sendmailCmd with the same
precedence as git itself (it wins over smtpServer when both are set), so if
you pull the latest master, your existing configuration should work as-is,
without any changes.

If you'd rather stay on a release version until this ships, the
workaround is to use smtpserver, e.g:

    git config sendemail.private.smtpserver "$(which msmtp)"

Thanks again for the report and the thorough debugging output.

-K