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
79 -fwarn-missing-signatures
84 -fwarn-incomplete-record-updates
85 -fwarn-monomorphism-restriction
100 type: exitcode-stdio-1.0
101 hs-source-dirs: src test
102 main-is: TestSuite.hs
120 -- It's not entirely clear to me why I have to reproduce all of this.
124 -fwarn-missing-signatures
125 -fwarn-name-shadowing
129 -fwarn-incomplete-record-updates
130 -fwarn-monomorphism-restriction
131 -fwarn-unused-do-bind
140 type: exitcode-stdio-1.0
145 -- Additional test dependencies.
148 -- It's not entirely clear to me why I have to reproduce all of this.
152 -fwarn-missing-signatures
153 -fwarn-name-shadowing
157 -fwarn-incomplete-record-updates
158 -fwarn-monomorphism-restriction
159 -fwarn-unused-do-bind
168 source-repository head
170 location: http://gitweb.michael.orlitzky.com/email-validator.git