re-enable waiting between mail resending attempts
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 11 Dec 2011 18:52:35 +0000 (19:52 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 11 Dec 2011 18:52:35 +0000 (19:52 +0100)
citadel/modules/smtp/serv_smtpqueue.c

index ce2d739bbf0ec3c9bd6856733ffafbc24d7c61cf..3057ae6ca2843c5fea644c412f9208dc3c7bca19 100644 (file)
@@ -665,7 +665,7 @@ void smtp_do_procmsg(long msgnum, void *userdata) {
 
        /*
         * Postpone delivery if we've already tried recently.
-        * /
+        */
        if (((time(NULL) - MyQItem->LastAttempt.when) < MyQItem->LastAttempt.retry) && (run_queue_now == 0)) {
                syslog(LOG_DEBUG, "SMTP client: Retry time not yet reached.\n");
 
@@ -679,7 +679,7 @@ void smtp_do_procmsg(long msgnum, void *userdata) {
                ////FreeQueItem(&MyQItem); TODO: DeleteEntryFromHash frees this?
                DeleteHashPos(&It);
                return;
-       }// TODO: reenable me.*/
+       }
 
        /*
         * Bail out if there's no actual message associated with this