Hi,
I'm trying to perform the same : send email locally.
In order to do that, I use "mutt" but the following error appears :
#mutt -d 5 -s "subject"
me@domain.tld < file.txt
Debugging at level 5.
Error sending message, child exited 127 (Exec error.).
Could not send the message.
Any clue please ?