From d105fa2e38c48e259c172b1fd56a7ef57f238a06 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Wed, 6 Mar 2024 00:24:38 +0100 Subject: [PATCH] SPF Qualifier: None -> Neutral. --- src/storage/zone.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storage/zone.cr b/src/storage/zone.cr index eea9fce..f2a9c5b 100644 --- a/src/storage/zone.cr +++ b/src/storage/zone.cr @@ -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? '~'