What minimal SMTP client will allow me to relay cron output to an external email address?
772
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.
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.
It's not really minimal, but it's there in virtually all Ubuntu repositories -- postfix.
I typically configure postfix to relay all my email to gmail, and I made a script to automate configuring postfix on new Ubuntu installations. Feel free to check this out to get the script.
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.
It's not really minimal, but it's there in virtually all Ubuntu repositories -- postfix.
I typically configure postfix to relay all my email to gmail, and I made a script to automate configuring postfix on new Ubuntu installations. Feel free to check this out to get the script.
On my fedora and centos box I run ssmtp which allows me to forward my cron and daily mail to my gmail account.
Works as well as expected and is easy to setup.