The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=889 
====================================================================== 
Reported By:                Emilio Gargiulo
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   889
Category:                   LMTP daemon
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
target:                      
Resolution:                 fixed
Fixed in Version:           3.0.0-rc3
====================================================================== 
Date Submitted:             12-Apr-11 23:20 CEST
Last Modified:              02-Jul-11 15:43 CEST
====================================================================== 
Summary:                    LMTP error: 500 Sender already received. Use RSET to
clear.
Description: 
Error "LMTP error: 500 Sender already received. Use RSET to clear." when
try to send two or more email in the same session.
====================================================================== 

---------------------------------------------------------------------- 
 (0003175) Emilio Gargiulo (reporter) - 13-Apr-11 17:07
 http://www.dbmail.org/mantis/view.php?id=889#c3175 
---------------------------------------------------------------------- 
Proposed patch:

--- lmtp.c.old  2011-04-12 11:51:00.020103999 +0200
+++ lmtp.c      2011-04-13 17:06:15.230103999 +0200
@@ -496,6 +496,10 @@
                        session->rcpt = g_list_next(session->rcpt);
                }
                dbmail_message_free(msg);
+               /* Reset the session after a successful delivery;
+                * MTA's like Exim prefer to immediately begin the
+                * next delivery without an RSET or a reconnect. */
+               lmtp_rset(session,TRUE);
                return 1;
 
        default: 

---------------------------------------------------------------------- 
 (0003201) Emilio Gargiulo (reporter) - 30-Jun-11 16:17
 http://www.dbmail.org/mantis/view.php?id=889#c3201 
---------------------------------------------------------------------- 
The patch resolve this issue.
It can be merged in main tree. 

---------------------------------------------------------------------- 
 (0003202) paul (administrator) - 02-Jul-11 15:43
 http://www.dbmail.org/mantis/view.php?id=889#c3202 
---------------------------------------------------------------------- 
patch applied. thanks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
12-Apr-11 23:20  Emilio GargiuloNew Issue                                    
13-Apr-11 17:07  Emilio GargiuloNote Added: 0003175                          
13-Apr-11 17:09  Emilio GargiuloFile Added: lmtp.patch                       
30-Jun-11 16:17  Emilio GargiuloNote Added: 0003201                          
02-Jul-11 15:43  paul           Note Added: 0003202                          
02-Jul-11 15:43  paul           Status                   new => resolved     
02-Jul-11 15:43  paul           Resolution               open => fixed       
02-Jul-11 15:43  paul           Fixed in Version          => 3.0.0-rc3       
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to