Why neomutt is not sending mail using msmtp

Support

I have neomutt setup with mbsync, msmtp, notmuch, urlscan and abook. Now my neomutt config doesnt have the imap and smtp password. But it accesses the emails through mbsync where it has my password. I have this in my neomutt config

set sendmail = "/run/current-system/sw/bin/msmtp"

For my msmtp config has the following:

defaults
auth           on
tls            on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile        ~/.config/msmtp/msmtp.log

--- TIFR Account ---

account        tifr
host           tifr.res.in
port           25
from           soham.chatterjee@tifr.res.in
user           soham.chatterjee@tifr.res.in
password       my_password
tls_starttls   on

The password is correct. My msmtprc is in home. But everytime i have to send a mail through neomutt i have to type the password. I dont want that.

Posted Oct 30, 2025, 4:05 PM UTC

10
Loading comments…