mox icon indicating copy to clipboard operation
mox copied to clipboard

Feature Request: option for server admin to receive copies of delivery failed messages>

Open x8x opened this issue 2 years ago • 1 comments

I have this issue with reputation IP, in this case the evil actor is https://www.proofpoint.com/ . I had a couple of these issues from different "private" lists, some are more responsive than others, some do not respond at all when notified.. It would be very helpful as administrator to have an option to receive delivery failed messages so that this errors can be proactively looked after before users getting bothered. Ideally a folder like "DMARK" and "TLSRPT" named maybe "SMTPRPT" ?

x8x avatar Oct 04 '23 07:10 x8x

What kind of delivery failures are these? Is proofpoint immediately responding with a permanent failure, so the user immediately gets a message back that delivery has failed? Or are they sending temporary errors, so the user gets a notification about delay, and later a message that mox is giving up?

Have you noticed your IP in any blocklist? Or is it only proofpoint with this behaviour?

Failed delivery attempts, both successful and failed, are tracked in a prometheus metric. You could set up more alerting on that metric. This is an example for temporary failures after the 3rd attempt: https://github.com/mjl-/mox/blob/main/prometheus.rules#L16 But you could also check for result="permerror". See https://github.com/mjl-/mox/blob/main/queue/queue.go#L58

mjl- avatar Oct 05 '23 21:10 mjl-