6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/31/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13832] Mailer - send FQDN with the HELO command
*
Your Email Address
*
Spam protection
Enter the letters below:
. ,. .. .. ,.__. \./ |_/ | | \./ | | | | \|__| | |__\
Comment
> 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers