install.fairie/home/dot_config/postfix/main.cf
Brian Zalewski 0932f983b8 Update 15 files
- /home/.chezmoitemplates/secrets/key-sendgrid-api-key
- /home/.chezmoidata.yaml
- /home/dot_config/postfix/private_sasl_passwd.tmpl
- /home/dot_config/postfix/main.cf
- /home/dot_config/slack-term/config.tmpl
- /home/dot_config/tabby/config.yaml.tmpl
- /home/dot_config/warp/private_mdm.xml.tmpl
- /home/dot_config/samba/config.tmpl
- /home/dot_config/npm/npmrc.tmpl
- /home/dot_config/ngrok/ngrok.yml.tmpl
- /home/dot_config/rclone/merge_private_rclone.conf.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_05-postfix.sh.tmpl
- /home/.chezmoitemplates/secrets/SENDGRID_API_KEY
- /docs/TODO.md
- /software.yml
2023-04-19 12:13:42 +00:00

17 lines
No EOL
766 B
CFEngine3

### INSTALL DOCTOR MANAGED ### START
# @file SendGrid Postfix configuration
# @brief Configures Postfix to use SendGrid as a relay host
# @description
# This configuration file is appended to `/etc/postfix/main.cf` by one of the scripts. It configures SendGrid
# as a relay host that Postfix can use. More details can be found in the
# [SendGrid documentation on integrating Postfix](https://docs.sendgrid.com/for-developers/sending-email/postfix).
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_security_level = encrypt
header_size_limit = 4096000
relayhost = [smtp.sendgrid.net]:587
### INSTALL DOCTOR MANAGED ### END