rc1 Possible confusion in Defaults.py comments
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Using Mailman version 2.0rc1, in Defaults.py, under Bounce processing defaults, one sees:
# 0 means do nothing
# 1 means disable and send admin a report,
# 2 means nuke'em (remove) and send admin a report,
# 3 means nuke 'em and don't report (whee:)
DEFAULT_AUTOMATIC_BOUNCE_ACTION = 1
and on the Bounce Options web page:
<table CELLSPACING="5">
<tr>
<td><INPUT name="automatic_bounce_action" type="RADIO" value="0" >Do nothing</td>
<td><INPUT name="automatic_bounce_action" type="RADIO" value="1" >Disable and notify me</td>
<td><INPUT name="automatic_bounce_action" type="RADIO" value="2" >Disable and DON'T notify me</td>
<td><INPUT name="automatic_bounce_action" type="RADIO" value="3" CHECKED >Remove and notify me</td>
</tr>
</table>
(Ie. from left to right, (0) do nothing, (1) disable and notify, (2) disable and DON'T notify, and (3) Remove and notify.
Changing the value of DEFAULT_AUTOMATIC_BOUNCE_ACTION in mm_cfg.py moves the radio button on the web page from left to right for 0, 1, 2, 3 as expected. However, the comments in Defaults.py do not seem to agree with the descriptions of options 2 and 3 on the web page. I have not checked the actual behavior of these options.
jam
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: OpenPGP encrypted mail preferred. See <http://www.gnupg.org/>
iEYEARECAAYFAjoGsw4ACgkQUEvv1b/iXy+WSgCdEeZSCGMLA2xyt58Lcs3HyAkb BPgAoIvUH5uNQXPP2RWAHXOnbBQULOrH =dPoa -----END PGP SIGNATURE-----
"jam" == John A Martin <jam@jamux.com> writes:
jam> Using Mailman version 2.0rc1, in Defaults.py, under Bounce
jam> processing defaults, one sees:
| # 0 means do nothing
| # 1 means disable and send admin a report,
| # 2 means nuke'em (remove) and send admin a report,
| # 3 means nuke 'em and don't report (whee:)
| DEFAULT_AUTOMATIC_BOUNCE_ACTION = 1
jam> and on the Bounce Options web page:
jam> (Ie. from left to right, (0) do nothing, (1) disable and
jam> notify, (2) disable and DON'T notify, and (3) Remove and
jam> notify.
Here's what the actual code does (see HandleBouncingAddress() in Mailiman/Bouncer.py):
0 = do nothing 1 = disable and notify 2 = disable and don't notify 3 = remove and notify
So it looks like the web page is right but the comment in Defaults.py.in are wrong. I'll fix those.
-Barry
participants (2)
-
barry@wooz.org
-
John A. Martin