File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 5.11.6
4+
5+ - Remove inaccurate warning about SMTP-STS policy line endings
6+ - Clarify DMARC ` none ` policy warnings
7+
38## 5.11.5
49
510- Allow for matching subdomain or base domain when validating VMCs
Original file line number Diff line number Diff line change @@ -921,11 +921,11 @@ def parse_dmarc_record(
921921 allowed_values = dmarc_tags [tag ]["values" ]
922922 if tag == "p" and tag_value == "none" :
923923 warnings .append (
924- f"A p tag value of none has no effect on email sent as { domain } ."
924+ f"A p tag value of none makes DMARC ineffective on email sent as { domain } ."
925925 )
926926 if tag == "sp" and tag_value == "none" and explicit :
927927 warnings .append (
928- f"An sp tag value of none has no effect on email sent as a subdomain of { domain } ."
928+ f"An sp tag value of none makes DMARC ineffective on email sent as a subdomain of { domain } ."
929929 )
930930 if tag == "fo" :
931931 tag_value = tag_value .split (":" )
Original file line number Diff line number Diff line change @@ -379,7 +379,6 @@ def parse_mta_sts_policy(policy: str) -> OrderedDict:
379379 acceptable_keys = required_keys .copy ()
380380 acceptable_keys .append ("mx" )
381381 if "\n " in policy and "\r \n " not in policy :
382- warnings .append ("MTA-STS policy lines should end with CRLF not LF." )
383382 policy = policy .replace ("\n " , "\r \n " )
384383 lines = policy .split ("\r \n " )
385384 for i in range (len (lines )):
You can’t perform that action at this time.
0 commit comments