Re: [Mailman-Users] problem sending multiple listserv commands viaemail

2011-11-01 Thread Richard Damon

On 11/1/11 4:55 PM, Mark Sapiro wrote:

Carl Zwanzig wrote:

In the case below, the first command attempted to subscribe an address
which is already a member so it failed and the remaining commands were
unprocessed.

Why is that an error?  I would expect it to ignored, just like setting a
property to it's current value.


Because Mailman/commands/cmd_subscribe.py distinguishes it from success
and calls it fatal. Granted, an argument could be made that it
shouldn't be fatal and similarly that unsubscribe of a non-member
address shouldn't be fatal either, but it isn't completely obvious
that that should be the case.

One issue I see with this behavior, is that this breaks the privacy that 
mailman gives to lists. The web interface is very careful to NOT let you 
know if a given address is subscribed or not (unless the list publishes 
its subscriber list). This gives a method that you can get a message to 
one email address indicating that another, unrelated, email address is 
subscribed to the list.


--
Richard Damon

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] problem sending multiple listserv commands viaemail

2011-11-01 Thread Mark Sapiro
Carl Zwanzig wrote:
>
>> In the case below, the first command attempted to subscribe an address
>> which is already a member so it failed and the remaining commands were
>> unprocessed.
>
>Why is that an error?  I would expect it to ignored, just like setting a 
>property to it's current value.


Because Mailman/commands/cmd_subscribe.py distinguishes it from success
and calls it fatal. Granted, an argument could be made that it
shouldn't be fatal and similarly that unsubscribe of a non-member
address shouldn't be fatal either, but it isn't completely obvious
that that should be the case.

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org