mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
test_dns: add ADSP and DMARC tests, see #14
This commit is contained in:
parent
c403895f95
commit
c722625041
@ -29,6 +29,8 @@ def test(server, description):
|
|||||||
(hostname, "MX", "10 " + primary_hostname + "."),
|
(hostname, "MX", "10 " + primary_hostname + "."),
|
||||||
(hostname, "TXT", "\"v=spf1 mx -all\""),
|
(hostname, "TXT", "\"v=spf1 mx -all\""),
|
||||||
("mail._domainkey." + hostname, "TXT", "\"v=DKIM1; k=rsa; s=email; \" \"p=__KEY__\""),
|
("mail._domainkey." + hostname, "TXT", "\"v=DKIM1; k=rsa; s=email; \" \"p=__KEY__\""),
|
||||||
|
("_adsp._domainkey." + hostname, "TXT", "\"dkim=all\""),
|
||||||
|
("_dmarc." + hostname, "TXT", "\"v=DMARC1; p=quarantine\""),
|
||||||
]
|
]
|
||||||
return test2(tests, server, description)
|
return test2(tests, server, description)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user