From 244fc1179f920c48445041bb92edcc5d79d604ac Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 Jul 2007 18:41:43 +0000 Subject: [PATCH] https://bugs.cacert.org/view.php?id=436 --- www/index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 39a2878..00d7636 100644 --- a/www/index.php +++ b/www/index.php @@ -484,7 +484,13 @@ if($checkemail != "OK") { $id = 1; - $_SESSION['_config']['errmsg'] .= _("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid")."
\n$checkemail
\n"; + if (substr($checkemail, 0, 1) == "4") + { + $_SESSION['_config']['errmsg'] .= _("The mail server responsible for your domain indicated a temporary failure. This may be due to anti-SPAM measures, such as \"greylisting\". Please try again in a few minutes."); + } else { + $_SESSION['_config']['errmsg'] .= _("Email Address given was invalid, or a test connection couldn't be made to your server, or the server rejected the email address as invalid"); + } + $_SESSION['_config']['errmsg'] .= "
\n$checkemail
\n"; } }