SPF Qualifier: None -> Neutral.
parent
21394f7d81
commit
d105fa2e38
|
@ -273,7 +273,7 @@ class DNSManager::Storage::Zone
|
|||
# `REDIRECT` modifier provided.
|
||||
enum Qualifier
|
||||
Pass # +
|
||||
None # ?
|
||||
Neutral # ?
|
||||
SoftFail # ~
|
||||
HardFail # -
|
||||
end
|
||||
|
@ -377,7 +377,7 @@ class DNSManager::Storage::Zone
|
|||
|
||||
# The `all` mechanism is the default behavior for email coming from non conforming
|
||||
# IP addresses, meaning senders not respecting the SPF record.
|
||||
property q : Qualifier = Qualifier::None
|
||||
property q : Qualifier = Qualifier::Neutral
|
||||
|
||||
def initialize(@name, @ttl, @target, @v, @mechanisms, @q)
|
||||
@rrtype = "SPF"
|
||||
|
@ -710,7 +710,7 @@ def qualifier_to_char(qualifier : DNSManager::Storage::Zone::SPF::Qualifier) : C
|
|||
case qualifier
|
||||
when .pass?
|
||||
'+'
|
||||
when .none?
|
||||
when .neutral?
|
||||
'?'
|
||||
when .soft_fail?
|
||||
'~'
|
||||
|
|
Loading…
Reference in New Issue