Ticket #17 (closed defect: fixed)
Patch — Re-queue message after encountering a temporary delivery error.
| Reported by: | fs | Owned by: | amcgregor |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.1 |
| Component: | dispatcher | Version: | 2.0.4 |
| Keywords: | patch | Cc: |
Description
Currently, if an exception occurs while sending the mail to the mail hub (e.g. connection refused, mail server refuses recipients, ...) the mail is lost!
While a proper solution would require some more advanced queue management this ticket is about the 'easy cases' when the error is only temporary and can be resolved just by waiting for a short time.
The patch attached catches some specific exceptions, freezes the worker thread for a second and puts the current message back into the queue.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
