From 120067f7e7ccce2948352305ecfa34aa2e52b80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Tue, 8 Aug 2023 12:23:29 +0300 Subject: [PATCH] Replace email_with_domains -> email_with_domain in docs Fixes: #609 --- .mkdocs.yml | 2 +- docs/multiple-domains.md | 8 ++++---- .../table/{email_with_domains.md => email_with_domain.md} | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) rename docs/reference/table/{email_with_domains.md => email_with_domain.md} (89%) diff --git a/.mkdocs.yml b/.mkdocs.yml index 56d5b232..3e90eec1 100644 --- a/.mkdocs.yml +++ b/.mkdocs.yml @@ -60,7 +60,7 @@ nav: - reference/table/sql_query.md - reference/table/chain.md - reference/table/email_localpart.md - - reference/table/email_with_domains.md + - reference/table/email_with_domain.md - reference/table/auth.md - Authentication providers: - reference/auth/pass_table.md diff --git a/docs/multiple-domains.md b/docs/multiple-domains.md index f910213f..46fabf02 100644 --- a/docs/multiple-domains.md +++ b/docs/multiple-domains.md @@ -75,8 +75,8 @@ accept non-email usernames: authorize_sender { ... user_to_email chain { - step email_localpart_optional # remove domain from username if present - step email_with_domains $(local_domains) # expand username with all allowed domains + step email_localpart_optional # remove domain from username if present + step email_with_domain $(local_domains) # expand username with all allowed domains } } ``` @@ -141,8 +141,8 @@ mailboxes.** authorize_sender { ... user_to_email chain { - step email_localpart_optional # remove domain from username if present - step email_with_domains $(local_domains) # expand username with all allowed domains + step email_localpart_optional # remove domain from username if present + step email_with_domain $(local_domains) # expand username with all allowed domains } } } diff --git a/docs/reference/table/email_with_domains.md b/docs/reference/table/email_with_domain.md similarity index 89% rename from docs/reference/table/email_with_domains.md rename to docs/reference/table/email_with_domain.md index c9a56b68..6a719e0e 100644 --- a/docs/reference/table/email_with_domains.md +++ b/docs/reference/table/email_with_domain.md @@ -4,7 +4,7 @@ The table module `table.email_with_domain` appends one or more domains (allowing 1:N expansion) to the specified value. ``` -table.email_with_domains DOMAIN DOMAIN... { } +table.email_with_domain DOMAIN DOMAIN... { } ``` It can be used to implement domain-level expansion for aliases if used together @@ -14,7 +14,7 @@ with `table.chain`. Example: modify { replace_rcpt chain { step email_local_part - step email_with_domains example.org example.com + step email_with_domain example.org example.com } } ```