Lightweight email delivery for an Ubuntu server

Nobody really wants to deal with email deliv­ery bey­ond relay­ing it off to a remote host these days. I mean, c’mon! It’s 2011, not 2001! Even the more con­fig­ur­able MTAs like Exim and Post­fix are overkill when you just want a sys­tem to be able to send email out. 

That’s why these days, I just install mailx and sSMTP.

sudo apt-get install bsd-mailx ssmtp

You’ll need to con­fig­ure sSMTP with at least the host­name of the remote serv­er to relay out­go­ing mail to, but oth­er­wise that’s it. Simple.