trusteddomainproject / OpenARC

Open source ARC implementation
BSD 2-Clause "Simplified" License
135 stars 45 forks source link

ignore unknown methods #116

Open seriv opened 6 years ago

seriv commented 6 years ago

Recreating a pull request as rebased on current 'develop' branch: If authentication milter put into the header "Authentication-Results" some method which is not defined in openarc-ar.c, we should not put "(null)=pass" or "(null)=softfail" into "ARC-Authentication-Results" header, to avoid creating non-valid ARC headers which cause problems like that of the issue of OpenDMARC https://github.com/trusteddomainproject/OpenDMARC/issues/31 and issue #113