migrate to mailgun as smtp relay as sendgrid got enshitified [ci skip]

This commit is contained in:
Viktor Barzin 2025-05-31 21:29:36 +00:00
parent 557ee47475
commit 1cc4482eb2
3 changed files with 34 additions and 2 deletions

View file

@ -2,7 +2,8 @@
# see defaults - https://github.com/docker-mailserver/docker-mailserver/blob/master/target/postfix/main.cf
variable "postfix_cf" {
default = <<EOT
relayhost = [smtp.sendgrid.net]:587
#relayhost = [smtp.sendgrid.net]:587
relayhost = [smtp.eu.mailgun.org]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd
smtp_sasl_security_options = noanonymous