projects
/
mail
/
checkmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't temp-fail on random address check.
[mail/checkmail.git]
/
checkmail.pl
diff --git
a/checkmail.pl
b/checkmail.pl
index
537d8f0
..
271da4f
100644
(file)
--- a/
checkmail.pl
+++ b/
checkmail.pl
@@
-224,10
+224,13
@@
sub checksmtp {
# connection failure?
if ($success < 0) {
$status = connection_failed(@message);
# 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;
# verification impossible?
} elsif ($success) {
$status = 3;
- print " > Address verificaton impossible. You'll have to send a test mail ...\n" if !($options{'q'});
+ print " > Address verificat
i
on 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
}
}
# if -r is not set or status was not set to 3: valid address
This page took
0.010524 seconds
and
4
git commands to generate.