Commit graph

20 commits

Author SHA1 Message Date
Thomas Hochstein f1cf1258ac Fix copyright in version display.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2016-11-13 17:00:40 +01:00
Thomas Hochstein 2c2d7a35f6 Fix copyright and version in comment and POD, too.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2016-11-13 17:00:11 +01:00
Thomas Hochstein 136e4166ed Fix display of CNAME/A records in log file.
print_dns_result() will show the number of records
found _and_ put a heading for this type of record
into the logfile.

So we can't get both right (short of changing
print_dns_result(), what I don't like to do
just now): either the count will be too high,
as we can't subtract wrong records from it, or
the "heading" will follow after the list of
records in the log. So we'll have to live with
the former, until print_dns_result() can be
fixed.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2016-01-09 12:41:43 +01:00
Thomas Hochstein 2378aae83e Try to handle CNAMEs and resolve them to A records.
Change documentation accordingly.
Fixes #55.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2016-01-09 12:03:15 +01:00
Thomas Hochstein 240c126484 Allow setting an empty envelope-from using '-s'.
Change documentation accordingly.
Update version and copyright dates.
Fixes #54.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2016-01-09 11:19:36 +01:00
Thomas Hochstein ba787c2d08 Fix annoying error message (Release 0.6.1).
checkmail prints an error message like
  Argument "AI_NUMERICHOST" isn't numeric in subroutine
  entry at /usr/lib/perl5/Net/DNS/Resolver/Base.pm
  line 743.
every time. Change shebang to "perl -w" from "perl -W".

Update version number (in comment line too, where it
was stillt 0.5).

Update TODO and Changelog.

Include TODO in repository.

Release 0.6.1 (maintenance).

Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-12-04 16:49:10 +01:00
Thomas Hochstein 422d9071b8 Release v0.6
Update ChangeLog, bump version number.
Bump copyright date.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2011-10-24 22:34:42 +02:00
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 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 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 0bd5c08c20 Initial commit.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-01-15 09:01:52 +01:00