Skip to content

Commit

Permalink
fix typo in SRV validation message
Browse files Browse the repository at this point in the history
_.tcp => ._tcp
  • Loading branch information
sehaas authored and mjl- committed May 7, 2024
1 parent a16c086 commit 587beb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webadmin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 587beb7

Please sign in to comment.