X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fsmtp%2Fsmtpqueue.h;h=97b76e7901518838e9f00b6294a030c940bca048;hb=f76f3c0605ef8837dbba97014c1381365f3a82ba;hp=12b2ad387f1591e32f56996ea0411c211107d2f6;hpb=d50cb4fb0a9d5c05841dad2d2f8ce4c35e5a6847;p=citadel.git diff --git a/citadel/modules/smtp/smtpqueue.h b/citadel/modules/smtp/smtpqueue.h index 12b2ad387..97b76e790 100644 --- a/citadel/modules/smtp/smtpqueue.h +++ b/citadel/modules/smtp/smtpqueue.h @@ -21,17 +21,9 @@ /* SMTP CLIENT (Queue Management) STUFF */ /*****************************************************************************/ - - #define MaxAttempts 15 -typedef struct _delivery_attempt { - time_t when; - time_t retry; -}DeliveryAttempt; typedef struct _mailq_entry { - DeliveryAttempt Attempts[MaxAttempts]; - int nAttempts; StrBuf *Recipient; StrBuf *StatusMessage; int Status; @@ -58,7 +50,9 @@ typedef struct queueitem { * if null add a new one. */ MailQEntry *Current; - DeliveryAttempt LastAttempt; + time_t ReattemptWhen; + time_t Retry; + long ActiveDeliveries; StrBuf *EnvelopeFrom; StrBuf *BounceTo;