Skip to content

Instantly share code, notes, and snippets.

@berserker1
Created March 27, 2019 19:06
Show Gist options
  • Save berserker1/fabce51665594faf31a7be208ba3472e to your computer and use it in GitHub Desktop.
Save berserker1/fabce51665594faf31a7be208ba3472e to your computer and use it in GitHub Desktop.
Current status of bounce processing in Mailman.

Bounce processes

  • File bounce.py in mailman/src/mailman/interfaces is an interface file which defines various class of bounce functions.Here the templates are to define a registration record and register bounce events.

  • File bounce.py in mailman/src/mailman/model is a model file for various functions, it works on the interfaces provided by the above files.

  • File bounce.py in mailman/src/mailman/runners/bounce.py runs the bounce runner.
    More info below link in the title Imp doc having Runners of mailman

    • Currently it is just finding out the temporary and permanent failures and storing the addresses to be processed.
  • File bounces.rst in mailman/src/mailman/app/docs/bounces.rst shows how a bounce message is generated and send to the original sender , how you can also send the error reasons in a dict and it will all be showed to the sender in an organized way.

  • File bounce.rst in mailman/src/mailman/model/docs shows how a bounce event is registered , it stores various info .

  • File test_bounces.py in mailman/src/mailman/app/tests tests the app.bounces funnctions.

  • File test_bounce.py in mailman/src/mailman/model/tests tests the bounce model objects .

  • File test_bounce.py in mailman/src/mailman/runners/tests tests the bounce runners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment