mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-03 17:17:29 +00:00
queue: Send DSN for messages that time out in the queue
The queue currently only considers failed recipients when deciding whether to send a DSN or not. This is a bug, as recipients that time out are not taken into account. This patch fixes that issue by including both failed and pending recipients in the DSN. It also adds more comprehensive tests for this case, both in the queue and in the dsn generation code.
This commit is contained in:
@@ -10,11 +10,11 @@ Auto-Submitted: auto-replied
|
||||
Delivery to the following recipient(s) failed permanently:
|
||||
|
||||
- fail@testserver
|
||||
|
||||
|
||||
|
||||
----- Technical details -----
|
||||
|
||||
- "false" (PIPE) failed with error:
|
||||
- "false" (PIPE) failed permanently with error:
|
||||
exit status 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user