4 email-validator \- Perform basic syntax and deliverability checks on email addresses.
8 \fBemail-validator\fR [\fB\-ha\fR] [\fB-i \fIFILE\fR] [\fB-o \fIFILE\fR] \fI<input>\fR
13 The \fIinput\fR (default: stdin) should be a list of email addresses,
14 one per line. Empty lines will be ignored.
19 Valid email addresses will be written to the output file (default:
20 stdout), one per line.
25 We check the validity of an email address using three techniques:
28 We ensure that the length of local and domain parts is within the
32 A regular expression is used to check for invalid characters and syntax.
35 We confirm the existence of a MX record for the domain part of the
36 address. This is not required; in fact many domains accept mail via
37 an 'A' record for e.g. example.com which is used in lieu of an MX
38 record. This behavior can be controlled via the \fR\-a\fR flag.
41 These checks are performed in parallel using the number of available
46 .IP \fB\-\-accept-a\fR,\ \fB\-a\fR
47 Accept an 'A' record for the domain instead of requiring an MX record
50 .IP \fB\-\-input\fR,\ \fB\-i\fR
51 Specify the input file containing a list of email addresses, rather
52 than using stdin (the default).
54 .IP \fB\-\-output\fR,\ \fB\-o\fR
55 Specify the output file to which the good addresses will be written,
56 rather than using stdout (the default).
61 Send bugs to michael@orlitzky.com.