Replace email_with_domains -> email_with_domain in docs

Fixes: #609
This commit is contained in:
Pēteris Caune 2023-08-08 12:23:29 +03:00
parent 37bbd40189
commit 120067f7e7
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
3 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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
}
}
}

View file

@ -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
}
}
```