msimerson / mail-dmarc

Mail::DMARC, a complete DMARC implementation in Perl
Other
33 stars 23 forks source link

Change validation result for RFC7489 6.6.3 step 6.2 #248

Closed dlucredativ closed 2 days ago

dlucredativ commented 1 month ago

RFC7489 states:

6.  If a retrieved policy record does not contain a valid "p" tag, or
    contains an "sp" tag that is not valid, then:

    1.  if a "rua" tag is present and contains at least one
        syntactically valid reporting URI, the Mail Receiver SHOULD
        act as if a record containing a valid "v" tag and "p=none"
        was retrieved, and continue processing;

    2.  otherwise, the Mail Receiver applies no DMARC processing to
           this message.

In case of 6.2 "no DMARC processing", the currently returned fail is a confusing piece of information.