mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-16 07:25:48 +08:00
Added JMAP SRV DNS record
This commit is contained in:
parent
4bf191f06b
commit
6f7f9d5fed
1 changed files with 5 additions and 0 deletions
|
@ -238,6 +238,11 @@ impl JMAP {
|
|||
}
|
||||
("http", _) if is_tls => {
|
||||
has_https = true;
|
||||
records.push(DnsRecord {
|
||||
typ: "SRV".to_string(),
|
||||
name: format!("_jmap._tcp.{domain_name}.",),
|
||||
content: format!("0 1 {port} {server_name}."),
|
||||
});
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue