X-Git-Url: https://code.th-h.de/?p=mail%2Fcheckmail.git;a=blobdiff_plain;f=checkmail.pl;h=271da4f8eeff139e3919f9020ea7f297dfcdf0a4;hp=537d8f0241850c17ecea3897fdaade09d8afe74b;hb=e8c5b7b2ff65a415212c2589256f7809e3ac3b2e;hpb=5327436fa46c41f8cfdb1a97c4e97cfd91dc26d6 diff --git a/checkmail.pl b/checkmail.pl index 537d8f0..271da4f 100644 --- a/checkmail.pl +++ b/checkmail.pl @@ -224,10 +224,13 @@ 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; - print " > Address verificaton impossible. You'll have to send a test mail ...\n" if !($options{'q'}); + print " > Address verification impossible. You'll have to send a test mail ...\n" if !($options{'q'}); } } # if -r is not set or status was not set to 3: valid address