4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: https://michael.orlitzky.com/code/email-validator.xhtml
7 bug-reports: mailto:michael@orlitzky.com
9 license: AGPL-3.0-or-later
10 license-file: doc/LICENSE
14 doc/man1/email-validator.1
16 Perform basic syntax and deliverability checks on email addresses.
18 Validate an email address using three techniques:
20 * Ensuring that the length of local and domain parts is within the
23 * A syntax check using a regular expression, or the full RFC 5322
24 grammar (see the @--rfc5322@ option).
26 * Confirmation of the existence of an @MX@ record for the domain part of
27 the address. This is not required; in fact many domains accept mail
28 via an @A@ record for e.g. example.com which is used in lieu of an @MX@
29 record. This behavior can be controlled via the @--accept-a@ flag.
31 These checks are performed in parallel using the number of available
32 threads. To increase the number of threads, you can pass the
33 appropriate flag to the GHC runtime.
35 This will set the number of threads to 25:
38 $ email-validator +RTS -N25 < addresses.csv
43 The @input@ (via stdin) should be a list of email addresses,
44 one per line. Empty lines will be ignored.
48 Valid email addresses will be written to stdout, one per line.
51 executable email-validator
83 type: exitcode-stdio-1.0
84 hs-source-dirs: src test
85 default-language: Haskell2010
102 type: exitcode-stdio-1.0
104 default-language: Haskell2010
108 -- Additional test dependencies.
112 source-repository head
114 location: https://gitweb.michael.orlitzky.com/email-validator.git