SMTP-Client: fix reattempt control
authorWilfried Goesgens <dothebart@citadel.org>
Thu, 26 Jan 2012 22:11:25 +0000 (23:11 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Thu, 26 Jan 2012 22:11:25 +0000 (23:11 +0100)
commitf76f3c0605ef8837dbba97014c1381365f3a82ba
treee37792c5ee9b39a9da30210833789994b181bac1
parentd50cb4fb0a9d5c05841dad2d2f8ce4c35e5a6847
SMTP-Client: fix reattempt control

  - when failing correctly handle the Status-field
  - fix the handling of the QUEUE-Fields 'submitted' and 'attempted' so we can decide when to resend and when to give up properly.
citadel/modules/smtp/serv_smtpeventclient.c
citadel/modules/smtp/serv_smtpqueue.c
citadel/modules/smtp/smtpqueue.h