mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-01 20:27:36 +03:00
parent
37bbd40189
commit
120067f7e7
3 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue