Wrong SMTP HELO for Microsoft Exchange (ispcmail.inc.php)
I edit the Interface config for sending mails via smtp. But mails like password reset didn't work. The problem is that ispconfig set as servername "ispconfigsite:8080" in SMTP Helo command. This is not allowed if the smtp server is Microsoft Exchange 2010 as in my situation. So i changed the following in ispcmail.inc.php:
from: 204 if(isset($_SERVER['HTTP_HOST'])) $this->smtp_helo = $_SERVER['HTTP_HOST']; 205 elseif(isset($_SERVER['SERVER_NAME'])) $this->smtp_helo = $_SERVER['SERVER_NAME'];
to 204 //if(isset($_SERVER['HTTP_HOST'])) $this->smtp_helo = $_SERVER['HTTP_HOST']; 205 if(isset($_SERVER['SERVER_NAME'])) $this->smtp_helo = $_SERVER['SERVER_NAME'];
Now the hostname is "ispconfigsite" only and thsi works fine.