revert to old settings using sasl for auth with sendgrid [ci skip]
This commit is contained in:
parent
46fc529ee1
commit
22edf94910
2 changed files with 2 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ resource "kubernetes_config_map" "mailserver_env_config" {
|
|||
POSTFIX_MESSAGE_SIZE_LIMIT = 1024 * 1024 * 200 # 200 MB
|
||||
POSTFIX_REJECT_UNKNOWN_CLIENT_HOSTNAME = "1"
|
||||
TLS_LEVEL = "intermediate"
|
||||
DEFAULT_RELAY_HOST = "[smtp.sendgrid.net]:587"
|
||||
SPOOF_PROTECTION = "1"
|
||||
SSL_TYPE = "manual"
|
||||
SSL_CERT_PATH = "/tmp/ssl/tls.crt"
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
# 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
|
||||
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
|
||||
EOT
|
||||
}
|
||||
variable "postfix_cf_reference_DO_NOT_USE" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue