From e8c5b7b2ff65a415212c2589256f7809e3ac3b2e Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Mon, 24 Oct 2011 22:27:01 +0200 Subject: [PATCH] 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 --- checkmail.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/checkmail.pl b/checkmail.pl index c89ca9f..271da4f 100644 --- a/checkmail.pl +++ b/checkmail.pl @@ -224,6 +224,9 @@ sub checksmtp { # connection failure? if ($success < 0) { $status = connection_failed(@message); + # reset status - the address has been checked and _is_ valid! + $status = 3; + print " > Address verification currently impossible. You'll have to try again or send a test mail ...\n" if !($options{'q'}); # verification impossible? } elsif ($success) { $status = 3;