boulder/core
Jacob Hoffman-Andrews 6f4966cc0f
Check email address validity in notify-mailer. (#4841)
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.
2020-06-04 18:28:02 -07:00
..
proto Upgrade to latest protoc and protoc-gen-go (#4794) 2020-04-23 18:54:44 -07:00
challenges.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
challenges_test.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
core_test.go Make authz2 the default storage format (#4476) 2019-10-21 15:29:15 -04:00
interfaces.go Check email address validity in notify-mailer. (#4841) 2020-06-04 18:28:02 -07:00
objects.go Switch to godoc-style comments. (#4760) 2020-04-08 17:22:40 -07:00
objects_test.go wfe: Use RawURLEncoding for authz2 challenge IDs (#4280) 2019-06-21 09:55:10 -04:00
util.go Block keys using hex(sha256(spki)). (#4745) 2020-04-09 09:41:33 -07:00
util_test.go Block keys using hex(sha256(spki)). (#4745) 2020-04-09 09:41:33 -07:00
va.go Consistently used stdlib context package (#4229) 2019-05-28 14:36:16 -04:00