From 8d1e6a5b2d00e58f114ac8258e2a0872aa6ac24a Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 22 Mar 2017 18:52:22 +0100 Subject: [PATCH] Fix sasl_access info --- docs/u_and_e.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/u_and_e.md b/docs/u_and_e.md index aa9c2982..f348efee 100644 --- a/docs/u_and_e.md +++ b/docs/u_and_e.md @@ -69,20 +69,20 @@ docker-compose up -d This option is not best-practice and should only be implemented when there is no other option available to archive whatever you are trying to do. -Simply create a file `data/conf/postfix/check_sender_access` and enter the following content: +Simply create a file `data/conf/postfix/check_sasl_access` and enter the following content. This user must exist in your installation and needs to authenticate before sending mail. ``` user-to-allow-everything@example.com OK ``` -Open `data/conf/postfix/main.cf` and find `smtpd_sender_restrictions`. Prepend `check_sender_access hash:/opt/postfix/conf/check_sender_access` like this: +Open `data/conf/postfix/main.cf` and find `smtpd_sender_restrictions`. Prepend `check_sasl_access hash:/opt/postfix/conf/check_sasl_access` like this: ``` -smtpd_sender_restrictions = check_sender_access hash:/opt/postfix/conf/check_sender_access reject_authenticated_sender [...] +smtpd_sender_restrictions = check_sasl_access hash:/opt/postfix/conf/check_sasl_access reject_authenticated_sender_login_mismatch [...] ``` -Run postmap on check_sender_access: +Run postmap on check_sasl_access: ``` -docker-compose exec postfix-mailcow postmap /opt/postfix/conf/check_sender_access +docker-compose exec postfix-mailcow postmap /opt/postfix/conf/check_sasl_access ``` Restart the Postfix container.