From 3ca70b3a171547d6e9505098890944662ee0764f Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 14 Jun 2023 16:14:29 +0200 Subject: [PATCH] Fix variable names for SASL Auth --- README.md | 7 +++++-- templates/postfix/main.cf.j2 | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4a4780b..09845dd 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,10 @@ You can select via the variable `postfix_type` a pre-defined set of configuraion |--|--|--|--| | `postfix_smtpd_sasl_type` | string | | | | `postfix_smtpd_sasl_path` | string | | | -| `postfix_smtp_sasl_auth_enable` | bool | `no` | | +| `postfix_smtp_sasl_auth_enabled` | bool | `no` | | +| `postfix_smtp_sasl_auth_relay` | string | | Relay server which provides SASL-Auth | +| `postfix_smtp_sasl_auth_user` | string | | Username for SASL authentication | +| `postfix_smtp_sasl_auth_password` | string | | Password for SASL authenticatio | | `smtp_sasl_password_maps.type` | string | | Database type | -| `smtp_sasl_password_maps.map` | string | | File path | +| `smtp_sasl_password_maps.path` | string | | File path | diff --git a/templates/postfix/main.cf.j2 b/templates/postfix/main.cf.j2 index 2e1cb92..5fca90e 100644 --- a/templates/postfix/main.cf.j2 +++ b/templates/postfix/main.cf.j2 @@ -154,7 +154,7 @@ smtpd_sasl_exceptions_networks = {{ postfix_smtpd_sasl_exceptions_networks | joi {% endif %} {% endif %} -{% if postfix_smtp_sasl_auth is defined and postfix_smtp_sasl_auth %} +{% if postfix_smtp_sasl_auth_enabled is defined and postfix_smtp_sasl_auth_enabled %} ### SMTP Auth client side smtp_sasl_auth_enable = yes smtp_sasl_auth_soft_bounce = no