Commit graph

16 commits

Author SHA1 Message Date
Thomas Hochstein e8c5b7b2ff Don't temp-fail on random address check.
If the address has successfully been checked,
but the subsequent check of a random address
is failing with a 4xx response (or a network
problem pp.), the address has been validated
and should be handled that way.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-10-24 22:27:34 +02:00
Thomas Hochstein 382c5a59e4 Fix a typo.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-10-24 22:26:53 +02:00
Thomas Hochstein f7d7d75555 Add .gitattributes
Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-07-24 12:33:18 +02:00
Thomas Hochstein 5327436fa4 Fix regexp for syntax-checking.
It was matching ""@domain; AFAIU RFC 5322,
only "something"@domain should be legal, but
not an empty quoted string.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-07-24 12:32:34 +02:00
Thomas Hochstein ea5d225aa4 Add syntax checking for mail addresses.
* Add check against regexp from
  http://www.regular-expressions.info/email.html
* Change documentation accordingly.
* Bump version number to 0.5

Fixes #11.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-07-24 00:53:16 +02:00
Thomas Hochstein 9518c39417 Documentation: Add note regarding shell expansion.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-07-24 00:07:54 +02:00
Thomas Hochstein c3b7d4b9a0 Release v0.4
Bump version number, amend changelog.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-17 23:34:57 +02:00
Thomas Hochstein 2121a934c3 Add overrides for configuration (MAIL FROM/EHLO).
New commandline options: -s <sender> and -e <EHLO>.
Change documentation accordingly.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-17 22:56:14 +02:00
Thomas Hochstein fd1fe450c1 Replace splitaddress() by Mail::Address.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 23:07:10 +02:00
Thomas Hochstein 9fc0e92776 -r: Create a really random localpart.
Add create_rand_addr().

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 23:06:42 +02:00
Thomas Hochstein f18dc26f65 Analyze failure codes, don't fail on temporary failures.
Add analyze_smtp_reply().

Fixes #8.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 23:05:59 +02:00
Thomas Hochstein 9f87e75729 Add changelog.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 22:48:36 +02:00
Thomas Hochstein 32301d53af Add documentation in POD format.
- Add POD.
- Drop checkmail.readme.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 21:11:43 +02:00
Thomas Hochstein 431fbb1233 Complete rewrite.
- use strict;
- modularize code
- refactor application logic
- more verbose output
- test MXes in order of precedence
- cope with multi-line responses
- slightly change meaning of exit status
- batch processing: set exit status to highest generated value

Fixes #9.
Fixes #10.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-16 21:11:23 +02:00
Thomas Hochstein dd6d3ea1aa Add .gitignore 2010-06-16 16:25:41 +02:00
Thomas Hochstein 0bd5c08c20 Initial commit.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-01-15 09:01:52 +01:00