![](https://secure.gravatar.com/avatar/57d4a16205f08542f455a3f1a15ab2ce.jpg?s=120&d=mm&r=g)
I started up a couple mailman lists on Sunday, with about 600 total subscribers. Since then I have gotten around 450 bounce messages that don't seem to be handled by the automatic bounce processor in Mailman. Is there a way to teach Mailman about these messages so it handles them automatically?
(I checked the archives about this and although I found some threads discussing it there didn't seem to be any resolution that I could find...)
Please help!
-- Robin Dunn Software Craftsman robin@AllDunn.com http://AllDunn.com/robin/ http://AllDunn.com/wxPython/ Check it out!
![](https://secure.gravatar.com/avatar/da883e723f3f11043aa4199c7f3071b1.jpg?s=120&d=mm&r=g)
On Tue, Feb 29, 2000 at 03:07:38PM -0800, Robin Dunn wrote:
The CVS version of Mailman seems to be considerably better at bounce handling than the earlier versions. Even better, in addition to the bounce formats it already understands, it is cleaner to add new modules to catch other bounces.
Jim
-- Jim Tittsler, Tokyo Python Starship http://starship.python.org/crew/jwt/
![](https://secure.gravatar.com/avatar/aa0e0e703efae81ac45446671e2519e1.jpg?s=120&d=mm&r=g)
<quote name="Robin Dunn" date="951833258" email="robin@alldunn.com">
Were those bounces on the mailinglist or on the -owner addrs? Mailman sends all bounces to the -owner addrs because it's possible Mailman accidently declares a non-bounce message as a bounce.
You'll need to dive into the code to to this.
The Mailman 1.2 beta is a lot better at this than Mailman 1.1 is. In Mailman 1.2b1 (latest CVS snapshot, ran by www.python.org), there is a directory in the distribution, called Mailman/Bouncers. You will see a couple of modules there, all with a 'process' function. The BouncerAPI modules will 'pipe' all email to those functions, returning either a list of bouncing addrs or None. You can add a module this way:
1) Create a module called Zmailer (for example), with a 'process'
function. That function should return either a list of all bounced
messages in an email or None and it takes an instance of mimetools.
This 'process' function takes two arguments; the former is an
instance of the MailList class, the latter is an instance of
the mimetools.Message class.
2) Go to the pipeline list on lines 37-44 in
Mailman/Bouncers/BouncerAPI.py,
3) Add the name of your module there.
4) Post the result at mailman-developers@python.org ;).
Note that this is all Mailman 1.2b1!
</quote>
Hope this helps!
regards, Gerrit.
-- -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com Version: 3.12 GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y -----END GEEK CODE BLOCK-----
![](https://secure.gravatar.com/avatar/da883e723f3f11043aa4199c7f3071b1.jpg?s=120&d=mm&r=g)
On Tue, Feb 29, 2000 at 03:07:38PM -0800, Robin Dunn wrote:
The CVS version of Mailman seems to be considerably better at bounce handling than the earlier versions. Even better, in addition to the bounce formats it already understands, it is cleaner to add new modules to catch other bounces.
Jim
-- Jim Tittsler, Tokyo Python Starship http://starship.python.org/crew/jwt/
![](https://secure.gravatar.com/avatar/aa0e0e703efae81ac45446671e2519e1.jpg?s=120&d=mm&r=g)
<quote name="Robin Dunn" date="951833258" email="robin@alldunn.com">
Were those bounces on the mailinglist or on the -owner addrs? Mailman sends all bounces to the -owner addrs because it's possible Mailman accidently declares a non-bounce message as a bounce.
You'll need to dive into the code to to this.
The Mailman 1.2 beta is a lot better at this than Mailman 1.1 is. In Mailman 1.2b1 (latest CVS snapshot, ran by www.python.org), there is a directory in the distribution, called Mailman/Bouncers. You will see a couple of modules there, all with a 'process' function. The BouncerAPI modules will 'pipe' all email to those functions, returning either a list of bouncing addrs or None. You can add a module this way:
1) Create a module called Zmailer (for example), with a 'process'
function. That function should return either a list of all bounced
messages in an email or None and it takes an instance of mimetools.
This 'process' function takes two arguments; the former is an
instance of the MailList class, the latter is an instance of
the mimetools.Message class.
2) Go to the pipeline list on lines 37-44 in
Mailman/Bouncers/BouncerAPI.py,
3) Add the name of your module there.
4) Post the result at mailman-developers@python.org ;).
Note that this is all Mailman 1.2b1!
</quote>
Hope this helps!
regards, Gerrit.
-- -----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com Version: 3.12 GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y -----END GEEK CODE BLOCK-----
participants (3)
-
Gerrit Holl
-
Jim Tittsler
-
Robin Dunn