Off-Topic > Off-Topic - Tiny Tux's Corner

Error sending mail from mutt

(1/2) > >>

I've just installed mutt and run the following command

--- Code: ---tc@box:~$ mutt < file
Error sending message, child exited 127 (Exec error.).
Could not send the message.

--- End code ---

I've changed the email address to protect privacy :)

Heres some helpful output to fix the problem.

--- Code: ---tc@box:~$ mutt -v
Mutt (2007-05-26)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux (i686) [using ncurses 5.6]
Compile options:
To contact the developers, please mail to <>.
To report a bug, please use the flea(1) utility.

--- End code ---

I noticed that there is NO /usr/sbin/sendmail

A search for sendmail on my system came up with nothing also

--- Code: ---tc@box:~$ sudo find / -name sendmail
--- End code ---

Suggestions and comments welcome.

using the "provides" function of the app browser shows the postfix extension contains sendmail, but I don't think there's a sendmail extension as such

Thx Juanito

Installing postfix did get sendmail onto my system.

I've had to create a ~/.muttrc file and specify the custom sendmail path

--- Code: ---set sendmail="/usr/local/sbin/sendmail -oem -oi"
--- End code ---

Now when i run the command

--- Code: ---mutt < file
--- End code ---

I get no error messages, however nothing happens, as if the system is frozen...

I've been researching mutt and discovered a few more settnings I can add to .muttrc

set smtp_url=""
set smtp_pass=""

I've set these up to match requirments of my isp, however I get errors from mutt saying that the two new variables are invalid...

I am hoping to figure out how to get a email sent from a shell script with mutt, I looked into doing it with alpine, but did not find any instructions for alpine.

EDIT: current version of mutt for microcore 3.8.4 does not support smtp.

I've been given permission to release an update of mutt by the current maintainer, and will do so soon, it does support smtp and does not require sendmail to do so.
Thanks again for your help Juanito.


[0] Message Index

[#] Next page

Go to full version