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 ashard
andsoft
is implemented. According to the previous version of Mailman, thebounce_score
is increased accordingly ( see theBounce processing
section of this page ) depending upon the type of bounce. I intend to follow that implementation. If not required I can drop that implementation and just increase thebounce_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 <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan