webadmin: allow accessing tls reports for mail host policy domain (tlsa)

instead of requiring policy domains to be configured recipient domains.
when accessing TLS reports, always do it under path #tlsrpt/reports, not under #domain/.../tlsrpt.
This commit is contained in:
Mechiel Lukkien
2023-11-12 14:58:46 +01:00
parent 6e6f716e91
commit 2265769b8e
3 changed files with 48 additions and 18 deletions

View File

@ -56,6 +56,26 @@
}
]
},
{
"Name": "ParseDomain",
"Docs": "ParseDomain parses a domain, possibly an IDNA domain.",
"Params": [
{
"Name": "domain",
"Typewords": [
"string"
]
}
],
"Returns": [
{
"Name": "r0",
"Typewords": [
"Domain"
]
}
]
},
{
"Name": "DomainLocalparts",
"Docs": "DomainLocalparts returns the encoded localparts and accounts configured in domain.",
@ -2545,7 +2565,7 @@
"Docs": "",
"Typewords": [
"{}",
"int32"
"int64"
]
}
]