Viewing File: /usr/local/cpanel/3rdparty/mailman/Mailman/MemberAdaptor.pyc
)hc @ s; d Z d Z d Z d Z d Z d Z d d d YZ d S(
s This is an interface to list-specific membership information.
This class should not be instantiated directly, but instead, it should be
subclassed for specific adaptation to membership databases. The default
MM2.0.x style adaptor is in OldStyleMemberships.py. Through the extend.py
mechanism, you can instantiate different membership information adaptors to
get info out of LDAP, Zope, other, or any combination of the above.
Members have three pieces of identifying information: a unique identifying
opaque key (KEY), a lower-cased email address (LCE), and a case-preserved
email (CPE) address. Adaptors must ensure that both member keys and lces can
uniquely identify a member, and that they can (usually) convert freely between
keys and lces. Most methods must accept either a key or an lce, unless
specifically documented otherwise.
The CPE is always used to calculate the recipient address for a message. Some
remote MTAs make a distinction based on localpart case, so we always send
messages to the case-preserved address. Note that DNS is case insensitive so
it doesn't matter what the case is for the domain part of an email address,
although by default, we case-preserve that too.
The adaptors must support the readable interface for getting information about
memberships, and may optionally support the writeable interface. If they do
not, then members cannot change their list attributes via Mailman's web or
email interfaces. Updating membership information in that case is the
backend's responsibility. Adaptors are allowed to support parts of the
writeable interface.
For any writeable method not supported, a NotImplementedError exception should
be raised.
i i i i i t
MemberAdaptorc B s e Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d Z d
Z d Z
d Z d
Z d Z e e e e f d Z d Z d Z d Z d Z d d Z d Z d Z d Z d Z d Z d Z d Z! RS( c C s
t d S( s4 Get the LCE for all the members of the mailing list.N( t NotImplementedError( t self( ( s; /usr/local/cpanel/3rdparty/mailman/Mailman/MemberAdaptor.pyt
getMembers>