4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: http://michael.orlitzky.com/code/email-validator.xhtml
9 license-file: doc/LICENSE
12 doc/man1/email-validator.1
14 Perform basic syntax and deliverability checks on email addresses.
16 Validate an email address using three techniques:
18 * Ensuring that the length of local and domain parts is within the
21 * A syntax check using a regular expression, or the full RFC 5322
22 grammar (see the @--rfc5322@ option).
24 * Confirmation of the existence of an @MX@ record for the domain part of
25 the address. This is not required; in fact many domains accept mail
26 via an @A@ record for e.g. example.com which is used in lieu of an @MX@
27 record. This behavior can be controlled via the @--accept-a@ flag.
29 These checks are performed in parallel using the number of available
30 threads. To increase the number of threads, you can pass the
31 appropriate flag to the GHC runtime.
33 This will set the number of threads to 25:
36 $ email-validator -i addresses.csv +RTS -N25
41 The @input@ file (default: stdin) should be a list of email addresses,
42 one per line. Empty lines will be ignored.
46 Valid email addresses will be written to the output file (default:
47 stdout), one per line.
50 executable email-validator
57 email-validate == 2.*,
78 -fwarn-missing-signatures
83 -fwarn-incomplete-record-updates
84 -fwarn-monomorphism-restriction
99 type: exitcode-stdio-1.0
100 hs-source-dirs: src test
101 main-is: TestSuite.hs
104 bytestring == 0.10.*,
108 email-validate == 2.*,
110 parallel-io == 0.3.*,
116 -- It's not entirely clear to me why I have to reproduce all of this.
120 -fwarn-missing-signatures
121 -fwarn-name-shadowing
125 -fwarn-incomplete-record-updates
126 -fwarn-monomorphism-restriction
127 -fwarn-unused-do-bind
136 type: exitcode-stdio-1.0
141 -- Additional test dependencies.
144 -- It's not entirely clear to me why I have to reproduce all of this.
148 -fwarn-missing-signatures
149 -fwarn-name-shadowing
153 -fwarn-incomplete-record-updates
154 -fwarn-monomorphism-restriction
155 -fwarn-unused-do-bind
164 source-repository head
166 location: http://gitweb.michael.orlitzky.com/email-validator.git