mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
drop support for ADSP which since last November is no longer recommended per http://datatracker.ietf.org/doc/status-change-adsp-rfc5617-to-historic/
This commit is contained in:
parent
0f72f78eea
commit
126ea94ccf
@ -168,8 +168,7 @@ def build_zone(domain, zonefile, env, with_ns=True):
|
|||||||
m = re.match(r"(\S+)\s+IN\s+TXT\s+(\(.*\))\s*;", orf.read(), re.S)
|
m = re.match(r"(\S+)\s+IN\s+TXT\s+(\(.*\))\s*;", orf.read(), re.S)
|
||||||
records.append((m.group(1), "TXT", m.group(2)))
|
records.append((m.group(1), "TXT", m.group(2)))
|
||||||
|
|
||||||
# Append ADSP (RFC 5617) and DMARC records.
|
# Append a DMARC record.
|
||||||
records.append(("_adsp._domainkey", "TXT", '"dkim=all"'))
|
|
||||||
records.append(("_dmarc", "TXT", '"v=DMARC1; p=quarantine"'))
|
records.append(("_dmarc", "TXT", '"v=DMARC1; p=quarantine"'))
|
||||||
|
|
||||||
# Sort the records. The None records *must* go first. Otherwise it doesn't matter.
|
# Sort the records. The None records *must* go first. Otherwise it doesn't matter.
|
||||||
|
Loading…
Reference in New Issue
Block a user