From 742becd4a0aa2ca87935e2793700bef03e0ea823 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 24 Apr 2024 20:33:58 -0400 Subject: [PATCH] doc,email-validator: document the new NULLMX handling --- doc/man1/email-validator.1 | 10 ++++++---- email-validator.cabal | 11 +++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/doc/man1/email-validator.1 b/doc/man1/email-validator.1 index 1e0e144..605b570 100644 --- a/doc/man1/email-validator.1 +++ b/doc/man1/email-validator.1 @@ -33,10 +33,12 @@ grammar (see the \fB\-\-rfc5322\fR option). .IP \[bu] Confirmation of the existence of an \fIMX\fR record for the domain -part of the address. This is not required; in fact many domains accept -mail via an \fIA\fR record for e.g. example.com which is used in lieu -of an \fIMX\fR record. This behavior can be controlled via the -\fR\-\-accept\-a\fR flag. +part of the address. NULLMX (RFC7505) records are not accepted. This +is not required; in fact many domains accept mail via an \fIA\fR +record for (say) example.com which is used in lieu of an \fIMX\fR +record. This behavior can be controlled via the \fR\-\-accept\-a\fR +flag, but note that \fR\-\-accept\-a\fR is ignored for domains that +have NULLMX records. .P These checks are performed in parallel using the number of available diff --git a/email-validator.cabal b/email-validator.cabal index 6627128..3e975f3 100644 --- a/email-validator.cabal +++ b/email-validator.cabal @@ -23,10 +23,13 @@ description: * A syntax check using a regular expression, or the full RFC 5322 grammar (see the @--rfc5322@ option). - * Confirmation of the existence of an @MX@ record for the domain part of - the address. This is not required; in fact many domains accept mail - via an @A@ record for e.g. example.com which is used in lieu of an @MX@ - record. This behavior can be controlled via the @--accept-a@ flag. + * Confirmation of the existence of an @MX@ record for the domain + part of the address. NULLMX (RFC7505) records are not + accepted. This is not required; in fact many domains accept mail + via an @A@ record for (say) example.com which is used in lieu of + an @MX@ record. This behavior can be controlled via the + @--accept-a@ flag, but note that @--accept-a@ is ignored for + domains that have NULLMX records. These checks are performed in parallel using the number of available threads. To increase the number of threads, you can pass the -- 2.43.2