On 7/19/19 10:50 PM, Aaryan Bhagat wrote:
> 
> Currently, in the `mailman/src/mailman/runners/bounce.py` I do not see 
> whether the separation of bounces as `hard` and `soft` is implemented. 
> According to the previous version of Mailman, the `bounce_score` is increased 
> accordingly ( see the `Bounce processing` section of 
> [this](https://wiki.list.org/DOC/Mailman%202.1%20List%20Administrators%20Manual)
>  page ) depending upon the type of bounce. I intend to follow that 
> implementation. If not required I can drop that implementation and just 
> increase the `bounce_score` as an integer always.


Contrary to the documentation, Mailman has never distinguished between
"hard" and "soft" bounces. The recognizer used in Mailman 3,
flufl.bounce, implements essentially the same process as Mailman 2.1. It
distinguishes between permanent (5xx) failures and temporary (4xx)
failures, but not between various kinds of permanent failures, e.g.
unknown user vs full mailbox.

Mailman 2.1 has never actually scored "soft" bounces as 0.5. It scores
5xx bounces as 1.0 and ignores 4xx bounces.

The same should be done with Mailman 3. Distinguishing between "hard"
and "soft" 5xx bounces would require significant changes to flufl.bounce
and is outside the scope of your project.

-- 
Mark Sapiro <m...@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-le...@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

Reply via email to