Is this in the mailman3 doc? Like for what failure should we retry or discard the mail etc.
On Tue, 12 Mar 2019, 04:02 Mark Sapiro, <mark@msapiro.net> wrote:
On 3/11/19 1:45 PM, Aaryan Bhagat wrote:
Are "temporary and permanent failures" mentioned in "bounce.py" in "mailman/src/mailman/runners/" the same as "soft and hard bounces" respectively?
No. A temporary failure is a 4xx (retryable) status and will cause mailman to retry periodically for a configured time (defaults I think are 15 minutes and 5 days). If the message is still not delivered after the 5 days or whatever time, it is considered a bounce at that point.
A permanent failure is a 5xx (failure) status and is recorded as a bounce. All 5xx failures or failure DSNs are considered bounces. "Soft" reasons like full mailbox or message looks like spam are not distinguished from "hard" reasons like no such user.
Whether or not a failure is considered retryable is up to the receiving MTA.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-leave@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3
Security Policy: https://wiki.list.org/x/QIA9