Stefan Förster wrote:
>
>I've had, for different reasons, a look at
>http://www.msapiro.net/scripts/set_nodups.py which contains the
>following line:
>
>mlist.setMemberOption(member, mm_cfg.DontReceiveDuplicates, 1)
>
>Since this is exactly what I am looking for (well, more or less), I'd
>like to ask where I can get a list of all parameters (I'm talking
>about "DontReceiveDuplicates" right now) which can be used to modify
>subscriber options.


in Defaults.py


# 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

# A mapping between short option tags and their flag
OPTINFO = {'hide'    : ConcealSubscription,
           'nomail'  : DisableDelivery,
           'ack'     : AcknowledgePosts,
           'notmetoo': DontReceiveOwnPosts,
           'digest'  : 0,
           'plain'   : DisableMime,
           'nodupes' : DontReceiveDuplicates
           }



-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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&amp;file=faq01.027.htp

Reply via email to