[Tickets #13832] Mailer - send FQDN with the HELO command

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jan 29 09:58:29 UTC 2015


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13832
------------------------------------------------------------------------------
  Ticket             | 13832
  Created By         | guillaume at majbe.net
  Summary            | Mailer - send FQDN with the HELO command
  Queue              | Horde Framework Packages
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


guillaume at majbe.net (2015-01-29 09:58) wrote:

The problem :
-----------------

sending e-mail with IMP returned an error because the SMTP Mailer  
didn't give the machine's FQDN in the HELO dialog - our MSA is a bit  
strict about that.

We properly positionned the /$conf['mailer']['params']['localhost']/  
option, but didn't get any positive feedback.

Investigations told that the file /usr/share/php/Horde/Smtp.php (  
Debian Wheezy ) stated :

  824     protected function _hello()
  825     {
  826         $ehlo = $host = gethostname();
  827         if ($host === false) {
  828             $ehlo = $_SERVER['SERVER_ADDR'];
  839             $host = 'localhost';
  830         }

A solution :
--------------

Line 826 : $ehlo = $host = $this->getParam('localhost');

I don't know if it is The Right Way To Do, but it does the job :)

I'd be thankful if you may correct it upstream.

Sincerely yours,
Guillaume.





More information about the bugs mailing list