6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12853] Cannot send a message
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..__.. .. .. , _/ | || || | \./ ./__.|__||__||__| |
Comment
> Hello, > > As a follow to my post : [horde] IMP 6.1.5 Can't send a message via > smtp (issue with HEHLO error 502) > > I tried to send a message without success. The logs says : > > "DEBUG: HORDE [imp] Une erreur est survenue lors de l'envoi du > message : End data with <CR><LF>.<CR><LF> [pid 16646 on line 27 of > "/www/horde5/pear/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"] > 2013-11-21T10:45:02+01:00 DEBUG: HORDE [imp] Unexpected output when > creating AJAX reponse:" > > Given that my smtp server doesn't support the EHLO, it is the case > 502 that is applied. > Nevertheless I added the line 368 for testing HELO outside the > "catch" and in this case all works very fine. > > I configured my backend with [smtp][debug]. > > Here is the output of the smtp debug : > > Thu, 21 Nov 2013 10:51:44 +0100 > S: 220 ************************************ > C: EHLO inf-webmail > S: 502 5.5.2 Error: command not recognized > C: HELO inf-webmail > C: MAIL FROM:<gerard.breiner@ias.u-psud.fr> > S: 250 inf-mail.ias.u-psud.fr > C: RCPT TO:<gerard.breiner@ias.u-psud.fr> > S: 250 2.1.0 Ok > C: DATA > S: 250 2.1.5 Ok > C: RSET > S: 354 End data with <CR><LF>.<CR><LF> > C: QUIT >>> Slow Command: 30,018 seconds >>> ERROR: Server read/timeout error. > > Piece of Smtp.php > > 367 $this->_connection->write('EHLO ' . $ehlo); > 368 //$this->_connection->write('HELO ' . $ehlo); > 369 try { > 370 $resp = $this->_getResponse(250); > 371 foreach ($resp as $val) { > 372 $tmp = explode(' ', $val, 2); > 373 $this->_extensions[$tmp[0]] = empty($tmp[1]) > 374 ? true > 375 : $tmp[1]; > 376 } > 377 } catch (Horde_Smtp_Exception $e) { > 378 switch ($e->getSmtpCode()) { > 379 case 502: > 380 // Old server - doesn't support EHLO > 381 $this->_connection->write('HELO '.$host); > 382 print "CASE 502\n".$host; > 383 $this->_extensions = array(); > 384 break; > 385 > 386 default: > 387 $this->logout(); > 388 throw $e; > 389 > 390 } > > Many thanks in advance . > > Best regards. > > Gérard Breiner > Institut d'Astrophysique Spatiale > Bât 121 > FR:91405 Orsay Campus
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