Ubuntu – What minimal SMTP client will allow me to relay cron output to an external email address

cronemailUbuntuunix

I would like to have cron output sent to an external email address, via a minimal SMTP client that sends via Gmail. I think I need this client to support TLS and /etc/aliases, and I would like configuration to be as simple as possible.

Best Answer

ssmtp seems to be abandoned. Generally people are using msmtp as an equivalent replacement. Here's a decent howto on how to use msmtp as your system mail transfer agent.

msmtp supports all the standard authentication and encryption protocols such as TLS.