From: Thomas Hochstein Date: Mon, 24 Oct 2011 20:27:01 +0000 (+0200) Subject: Don't temp-fail on random address check. X-Git-Tag: v0.6~1 X-Git-Url: https://code.th-h.de/?p=mail%2Fcheckmail.git;a=commitdiff_plain;h=e8c5b7b2ff65a415212c2589256f7809e3ac3b2e;ds=sidebyside 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 --- 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;