(#1031455).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11125
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Added configtest hook in src/configtest.php.
- Improved error handling for the help pages.
- Fixed possibility to use single quote in provider name (#1475744).
- Added configtest hook in src/configtest.php.
- Improved error handling for the help pages.
- Fixed possibility to use single quote in provider name (#1475744).
+ - Improve recovery when EHLO not supported on legacy SMTP servers
+ (#1031455).
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
// Read ehlo response
$tmp = $this->parse_ehlo_response($stream);
if ($this->errorCheck($tmp,$stream)) {
// Read ehlo response
$tmp = $this->parse_ehlo_response($stream);
if ($this->errorCheck($tmp,$stream)) {
- // fall back to HELO if EHLO is not supported
- if ($this->dlv_ret_nr == '500') {
+ // fall back to HELO if EHLO is not supported (error 5xx)
+ if ($this->dlv_ret_nr{0} == '5') {
fputs($stream, "HELO $helohost\r\n");
$tmp = fgets($stream,1024);
if ($this->errorCheck($tmp,$stream)) {
fputs($stream, "HELO $helohost\r\n");
$tmp = fgets($stream,1024);
if ($this->errorCheck($tmp,$stream)) {