From 587beb75b15eab259afc327f24083bfb156c7800 Mon Sep 17 00:00:00 2001 From: Sebastian Haas Date: Mon, 6 May 2024 23:45:10 +0200 Subject: [PATCH] fix typo in SRV validation message _.tcp => ._tcp --- webadmin/admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webadmin/admin.go b/webadmin/admin.go index ac3bbdc..3ccac8f 100644 --- a/webadmin/admin.go +++ b/webadmin/admin.go @@ -1393,7 +1393,7 @@ When enabling MTA-STS, or updating a policy, always update the policy first (thr instr := "Ensure DNS records like the following exist:\n\n" r.SRVConf.SRVs = map[string][]net.SRV{} for _, req := range reqs { - name := req.name + "_.tcp." + domain.ASCII + name := req.name + "._tcp." + domain.ASCII instr += fmt.Sprintf("\t%s._tcp.%-*s SRV 0 1 %d %s\n", req.name, len("_submissions")-len(req.name)+len(domain.ASCII+"."), domain.ASCII+".", req.port, req.host) r.SRVConf.SRVs[req.name] = unptr(req.srvs) if err != nil {