More strict retries.

This commit is contained in:
default 2023-08-09 20:04:57 +02:00
parent 203dd88389
commit fff4ff4261

View file

@ -1851,7 +1851,7 @@ void process_queue_item(xs_dict *q_item)
retries++;
/* error sending; requeue? */
if (status == 404 || status == 410)
if (status == 404 || status == 410 || status < 0)
/* explicit error: discard */
srv_log(xs_fmt("output message: fatal error %s %d", inbox, status));
else