A secure, effective and simple way of getting mail off a system to your
mail hub. It contains no suid-binaries or other dangerous things - no mail
spool to poke around in, and no daemons running in the background. Mail is
simply forwarded to the configured mailhost. Extremely easy configuration.
This charm deploys a generic subordinate that can be related to other server charms to enable them to send e-mails. SSMTP is minimalistic MTA good enough for you to get e-mails out of the machine to another mailhost, which is perfect for simple notifications and to replace basic sendmail features.
Just deploy it and add a relation to other server unit:
juju deploy server
juju deploy ssmtp
juju add-relation server ssmtp
If your configuration templates are correct, from now on basic e-mail sending should work normally.
Author: Caio Begotti email@example.com