A NOTE has been added to this issue. 
====================================================================== 
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:                     new
target:                      
====================================================================== 
Date Submitted:             12-Apr-11 23:20 CEST
Last Modified:              13-Apr-11 17:07 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: 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
12-Apr-11 23:20  Emilio GargiuloNew Issue                                    
13-Apr-11 17:07  Emilio GargiuloNote Added: 0003175                          
======================================================================

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

Reply via email to