This is still IMHO a strong merit in #GNOME #Evolution, when having multiple identities.
In my case, I use a sub-address (RFC 5233) for bouncing kernel.org but it shares the account with my personal email address. Identities map to envelope addresses, and based on that msmtp
will pick the correct SMTP server.
msmtp
also allows to share SMTP configuration with #Git. E.g. for a freshly cloned repository, I might for instance:
git config from "Jarkko Sakkinen <jarkko@kernel.org>"
git config sendemail.envelopeSender "jarkko@kernel.org"
git config sendemail.sendmailCmd "/usr/bin/env msmtp"