SF.net SVN: tmda: [2076] trunk/tmda/bin/tmda-ofmipd

[email protected] Thu, 05 Oct 2006 21:32:29 -0700
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Revision: 2076
          http://svn.sourceforge.net/tmda/?rev=2076&view=rev
Author:   srwarren
Date:     2006-10-05 21:32:28 -0700 (Thu, 05 Oct 2006)

Log Message:
-----------
tmda-ofmipd: Don't trap exceptions that occur during the sending of email. asyncore now appears to do this for us, and sends that content of the exception back to the client.

Modified Paths:
--------------
    trunk/tmda/bin/tmda-ofmipd

Modified: trunk/tmda/bin/tmda-ofmipd
===================================================================
--- trunk/tmda/bin/tmda-ofmipd	2006-10-05 20:56:50 UTC (rev 2075)
+++ trunk/tmda/bin/tmda-ofmipd	2006-10-06 04:32:28 UTC (rev 2076)
@@ -838,14 +838,11 @@
 
             if not throttlescript or not os.system("%s %s" % (throttlescript,
                 self.__auth_username)):
-                try:
-                    status = self.__server.process_message(self.__peer,
-                                                           self.__mailfrom,
-                                                           self.__rcpttos,
-                                                           self.__data,
-                                                           self.__auth_username)
-                except:
-                    status = self.push('451 Internal exception in tmda-ofmipd')
+                status = self.__server.process_message(self.__peer,
+                                                       self.__mailfrom,
+                                                       self.__rcpttos,
+                                                       self.__data,
+                                                       self.__auth_username)
             else:
                 status = self.push('450 Outgoing mail quota exceeded')
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.