Hi,
I have noticed that in the section which deals with members' anonymity (hide/show) there are three figure codes appended to the email addresses of my members. I had written my PHP script to recognise that the code "280" meant "HIDE" and "264" meant "SHOW". Everything was working well until I have just noticed a code appearing which I hadn't seen before ("314") which is another code meaning "HIDE" as well. This was obviously not being recognised by my PHP code and this member's anonymity was being compromised (or it would have been if I had 'gone live' and wasn't just at the testing stage).
You should have first read Defaults.py in mailman source code:
# Bitfield for user options. See DEFAULT_NEW_MEMBER_OPTIONS above to set # defaults for all new lists. Digests = 0 # handled by other mechanism, doesn't need a flag. DisableDelivery = 1 # Obsolete; use set/getDeliveryStatus() DontReceiveOwnPosts = 2 # Non-digesters only AcknowledgePosts = 4 DisableMime = 8 # Digesters only ConcealSubscription = 16 SuppressPasswordReminder = 32 ReceiveNonmatchingTopics = 64 Moderate = 128 DontReceiveDuplicates = 256
You can get 'HIDE' status by taking bit-by-bit AND operation like:
>>> 280 & 16 16 >>> 264 & 16 0 >>> 314 & 16 16
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp