[Tickets #12659] Horde SMTP sends empty EMail if PIPELINING is used...

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Sep 5 15:45:27 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12659
------------------------------------------------------------------------------
  Ticket             | 12659
  Created By         | wbreyha at gmx.net
  Summary            | Horde SMTP sends empty EMail if PIPELINING is used...
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


wbreyha at gmx.net (2013-09-05 15:45) wrote:

Hi!

We have Horde Webmail Edition 5.1.2 running. Today someone triggered  
the following bug....

Prerequisits: SMTP Server announcing PIPELINING

Write an Email and set one correct recipient and one which the SMTP  
Server will reject with "user unknown" or other 550 error code. Then  
send the EMail. The correct recipient will get an empty EMail.

Why... in Horde/Smtp.php::482ff you send all recipients and the final  
DATA together as usual with PIPELINING active. But then you catch the  
errors for the recipients. If there was an error on one recipient you  
do not send the body at line 519ff. But since there was one correct  
recipient the mailserver already responded with "354 send message  
body". Finally you send the "." without body and say QUIT. The empty  
EMail gets out to all correct recipients.

A first workarround would be to not use PIPELINING at all for  
submissions. Using PIPELINING makes it impossible to warn the user  
without sending the message to all correct recipients.

With kind regards,
Wolfgang Breyha





More information about the bugs mailing list