provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
619 B

7 months ago
  1. # Set default values for all following accounts.
  2. defaults
  3. # Use the mail submission port 587 instead of the SMTP port 25.
  4. port 587
  5. # Always use TLS.
  6. tls on
  7. # Set a list of trusted CAs for TLS. The default is to use system settings, but
  8. # you can select your own file.
  9. tls_trust_file /etc/ssl/certs/ca-certificates.crt
  10. # The SMTP server of your ISP
  11. account alert
  12. host {{ alert.smtp.server }}
  13. from {{ env.fqdn }} <{{ alert.from }}>
  14. auth on
  15. user {{ alert.smtp.username }}
  16. password {{ alert.smtp.password }}
  17. # Set default account to isp
  18. account default: alert
  19. # Map local users to mail addresses
  20. aliases /etc/aliases