Saltstack formula to install postfix and forward mail through Gmail. Mostly following this tutorial.
Note
See the full Salt Formulas installation and usage instructions.
postfix-gmail
-----------
Installs postfix and configures SMTP relay through GMail.
Requires some pillars:
postfix-gmail:email
- your gmail emailpostfix-gmail:password
- your gmail password
Example:
salt-call state.sls postfix-gmail pillar='{"postfix-gmail":{"email":"me@gmail.com", "password":"my gmail password"}}'