mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-11-09 13:25:29 +08:00
Updated Order And Syntax Of SPF Records (#395)
* Updated order and syntax of SPF records. * Re-added the 'ra' field and corrected the order of the SPF records to have '-all' at the end.
This commit is contained in:
parent
67db7348e7
commit
8c224290aa
1 changed files with 2 additions and 2 deletions
|
|
@ -212,14 +212,14 @@ impl JMAP {
|
|||
records.push(DnsRecord {
|
||||
typ: "TXT".to_string(),
|
||||
name: format!("{server_name}."),
|
||||
content: "v=spf1 a -all ra=postmaster".to_string(),
|
||||
content: "v=spf1 a ra=postmaster -all".to_string(),
|
||||
});
|
||||
}
|
||||
|
||||
records.push(DnsRecord {
|
||||
typ: "TXT".to_string(),
|
||||
name: format!("{domain_name}."),
|
||||
content: "v=spf1 mx -all ra=postmaster".to_string(),
|
||||
content: "v=spf1 mx ra=postmaster -all".to_string(),
|
||||
});
|
||||
|
||||
// Add DMARC records
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue