mutt: Error sending message, child exited 127 (Exec error.) mutt: Error sending message, child exited 127 (Exec error.) unix unix

mutt: Error sending message, child exited 127 (Exec error.)


I was having the same issue on Ubuntu 18.04 and just like @jono, I only had installed mutt. Installing

sudo apt-get install sendmail

After that, sending mail with the test method or straight through the mutt CLI worked perfectly.


I have encountered this same error today.I found I only had mutt installed, but once I installed sendmail this error went away. However I then got blocked locally. So I uninstalled sendmail, and installed postfix this worked..Now receiving email with attached pdf.

This was on RHEL 7.4 in an enterprise environment. Unsure if results will differ on other versions or environments.


I had this error and had to simply add below to my .muttrc. I'm using Gmail if that matters. This way I'm using someone elses server to send and don't have to install extra junk.

set smtp_pass="secrets"set smtp_url = "smtps://username@gmail.com@smtp.gmail.com:465/"