Commit graph

183 commits

Author SHA1 Message Date
81f5769ac8
Merge pull request #49 from gearheartio/feature/add-no_smtp_argument
Add no_smtp argument that allows us to validate only mx records witho…
2021-02-11 16:54:08 +01:00
Sergey Shevchenko
8f08c01523
Add no_smtp argument to README 2021-02-11 18:48:35 +04:00
a691f359bb
Simplify code on DNS name resolving 2021-02-11 15:10:31 +01:00
Sergey Shevchenko
607ae44ce8
Move no_smtp argumeent to the end of arguments list 2021-02-11 17:48:41 +04:00
Sergey Shevchenko
fea879a809
Add no_smtp argument that allows us to validate only mx records without SMTP request 2021-02-11 17:41:21 +04:00
c92bd0c5c0
Fix flake8 chimping out 2021-02-11 12:41:06 +01:00
e3653934a5
Prepare a new release, closes #46 2021-02-11 11:55:09 +01:00
4b71e4bf81
Merge pull request #48 from reinhard-mueller/master
Improve error reporting
2021-02-11 11:37:41 +01:00
Reinhard Müller
4ca02d4072 Fix typo 2021-02-10 17:52:10 +01:00
Reinhard Müller
b2cef9c8c2 Remove unused variable 2021-02-10 17:09:12 +01:00
Reinhard Müller
294c4e7174 Improve error reporting
* Unify error message format, always include SMTP status code
* Use "with SMTP" to properly close connection even in case of error
* Establish connection after setting debug level so this is debugged as
  well
* Properly handle SMTP error status codes on connection
* Don't return ambigious SMTP status codes, as they are not used anyway
2021-02-09 23:37:07 +01:00
0b2b1ba738
Fix #45, bump version 2021-02-08 14:19:59 +01:00
072a12f632
Update spam address 2021-01-06 20:41:20 +01:00
f94310b2c6
Preparing release 2020-11-26 16:29:39 +01:00
f6f46f90b6
Fixing yahoo errors, TLS hostnames must be without terminating dot 2020-11-26 16:22:18 +01:00
43a3a08499
Fix tests 2020-11-19 15:20:39 +01:00
d3ec33f878
Make logging less intrusive 2020-11-19 14:26:52 +01:00
877b301ed6
No stable python3.9 on travis yet 2020-10-11 14:09:27 +02:00
eea3f8429f
Add python3.9 support 2020-10-11 14:06:15 +02:00
e3fc691674
Fix travis and isort 2020-10-11 13:58:10 +02:00
35efbb7cd9
Updating to 0.2.10, see CHANGELOG.txt 2020-10-11 13:54:32 +02:00
f16d875a13
Don't close issues labeled as enhancement 2020-06-11 17:54:54 +02:00
abcb97e17c
Add stalebot 2020-06-11 17:50:17 +02:00
63f4661fd3
Fix README.rst (PITA) 2020-06-09 13:16:51 +02:00
cfff9168ad
Add debug example 2020-06-09 12:56:17 +02:00
31b4dff3b8
Adding debug parameter + preparing release 2020-06-09 12:34:51 +02:00
e5c0071471
Update README.md with FAQ 2020-04-26 19:37:42 +02:00
8df91e4f58
Preparing release, closes #16 2020-04-17 15:57:28 +02:00
8e0bb18cd0
Fixes a windows error mentioned in #16 2020-04-17 15:54:50 +02:00
20bf35ead8
Releasing 0.2.7 2020-04-14 12:27:50 +02:00
0dd9910eb2
Merge pull request #15 from reinhard-mueller/master
Increase consistency at handling domain literals
2020-04-14 12:25:01 +02:00
79e59ee4b7
Merge pull request #14 from reinhard-mueller/clean-setup
Clean up initial blacklist download on install
2020-04-14 12:24:30 +02:00
Reinhard Müller
182f793def Clean up initial blacklist download on install
Two essential changes were made to the process of initially downloading
the blacklist at install time, allowing the removal of a number of hacks
and workarounds:

1. Download the files *after* populating the build directory instead of
*before*. Thus, the files don't have to be included in MANIFEST.in, and
following from that, `setup.py sdist` needn't be tricked into not
including them in the source distribution.

2. Only import the updater module instead of the full validate_email
package, so `setup.py install` and friends don't depend on all the
requirements of the library.
2020-04-14 12:16:36 +02:00
Reinhard Müller
a18b9690e6 Increase consistency at handling domain literals 2020-04-14 10:45:30 +02:00
96a6939b6c
Add test for testing datadir not in sdist 2020-04-13 21:58:24 +02:00
f47ca3be93
Adding release 2020-04-13 10:58:38 +02:00
ea16e96db6
Merge pull request #11 from reinhard-mueller/master
Introduce "EmailAddress" class
2020-04-13 10:40:07 +02:00
Reinhard Müller
d7666bd6ad Introduce EmailAddress class
This unifies the tasks of splitting an email address into user and
domain parts as well as converting an international domain name into the
ASCII-compatible encoding (ACE).
2020-04-13 09:44:50 +02:00
e3d2bf24c7
Add a test for preinstalled data directory checking 2020-04-12 20:19:57 +02:00
e2f523d2b7
Read requirements either from package info or from requirements.txt 2020-04-12 19:29:11 +02:00
b3f0088e64
Fix datadir creation for good 2020-04-12 16:40:04 +02:00
c91830d860
Release 0.2.4 2020-04-12 14:42:20 +02:00
3c035aac9c
Remove LIB_PATH_DEFAULT creation, closes #13 2020-04-12 14:33:13 +02:00
9cdbf709a5
Bumping version, fixing auto blacklist downloading on wheel creation 2020-04-12 13:57:10 +02:00
eee41207b1
Add info 2020-04-12 09:26:13 +02:00
3c39f5e114
Use userid in the temp path 2020-04-11 23:40:39 +02:00
e1bcdb92e7
Fix installation + travis 2020-04-11 23:32:02 +02:00
6790ded356
Locking blacklist while reading, make it consistent amongst multiprocesses 2020-04-11 21:59:49 +02:00
dfd1d68c40
Replace MethodType to Callable 2020-04-11 17:54:34 +02:00
d57021e492
Fix README.rst
Bumping version

Updater: Reraise on any other HTTPError than 304

Adjust travis config

Adjust requirements.txt
2020-04-11 14:55:52 +02:00