This required a refactoring: Move validateEmail from the RA to ValidEmail in the `policy` package. I also moved `ValidDomain` from a method on PolicyAuthority to a standalone function so that ValidEmail can call it. notify-mailer will now log invalid addresses and skip them without attempting to send mail. Since @example.com addresses are invalid, I updated the notify-mailer test, which used a lot of such addresses. Also, now when notify-mailer receives an unrecoverable error sending mail, it logs the email address and what offset within the list it was. |
||
---|---|---|
.. | ||
proto | ||
challenges.go | ||
challenges_test.go | ||
core_test.go | ||
interfaces.go | ||
objects.go | ||
objects_test.go | ||
util.go | ||
util_test.go | ||
va.go |