For a fedora desktop installation that cannot sendmail from command line

Fedora desktop and sendmail

If you can’t get working, you probably don’t have the sendmail service started. I don’t remember it being a service before systemd, but here’s how to make it work in Fedora 25 anyways.

sudo dnf -y install sendmail
sudo systemctl enable sendmail
sudo systemctl start sendmail