diff options
-rw-r--r-- | dmarc.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,7 +60,8 @@ def _feedback(root): adkim = _enum(root, 'adkim', Ealignment, mandatory=False) aspf = _enum(root, 'aspf', Ealignment, mandatory=False) p = _enum(root, 'p', Edisposition) - sp = _enum(root, 'sp', Edisposition) + # common deviation from spec + sp = _enum(root, 'sp', Edisposition, mandatory=False, default=p) pct = _integer(root, 'pct') nt = namedtuple('PolicyPublishedType', ['domain', 'adkim', 'aspf', 'p', 'sp', |