;ς
£)?Bc           @   sv   d  Z  d k l Z d k l Z l Z d k l Z d k l Z d k	 l
 Z
 d k l Z d Z d   Z d	   Z d
 S(   sN  
    subscribe [password] [digest|nodigest] [address=<address>]
        Subscribe to this mailing list.  Your password must be given to
        unsubscribe or change your options, but if you omit the password, one
        will be generated for you.  You may be periodically reminded of your
        password.

        The next argument may be either: `nodigest' or `digest' (no quotes!).
        If you wish to subscribe an address other than the address you sent
        this request from, you may specify `address=<address>' (no brackets
        around the email address, and no quotes!)
(   s	   parseaddr(   s   decode_headers   make_header(   s   Utils(   s   Errors(   s   UserDesc(   s   _i   c         C   s   t  t  Sd  S(   N(   s   _s   __doc__(   s   mlist(    (    s.   /var/mailman/Mailman/Commands/cmd_subscribe.pys   gethelp*   s    c         C   sΐ  |  i } t } t }
 t }	 t } d } xθ | D]ΰ } | i
 d  o | d }	 n³ | d j o
 | }
 n | d j o^ | i   d d f j o |  i i t d   t Sn | i   d j o
 d } qd } n1 |  i i t d   |  i i t |   t S| d 7} q. W| t j o | i } n |
 t j o t i   }
 n |	 t j o₯ t |  i d	  \ } }	 |	 o |  i i   }	 n |	 o |  i i t d
   t Sn t t |   } | i   } y | i d  } Wqϋt j
 o qϋXn | i   } t |	 | |
 |  } |  i i   } y | i" | |  Wndt# i$ j
 o! |  i i t d   t SnLt# i% j
 o! |  i i t d   t Snt# i& j
 o! |  i i t d   t Snξ t# i' j
 o! |  i i t d   t SnΏ t# i( j
 o! |  i i t d   t Sn t# i) j
 o! |  i i t d   t Sna t# i* j
 o d |  _+ nC t# i, j
 o |  i i t d   n X|  i i t d   d  S(   Ni    s   address=i   i   s   digests   nodigests   Bad digest specifier: %(arg)ss   Usage:s   froms#   No valid address found to subscribes   us-asciis   The email address you supplied is banned from this mailing list.
If you think this restriction is erroneous, please contact the list
owners at %(listowner)s.s`   Mailman won't accept the given email address as a valid address.
(E.g. it must have an @ in it.)sP   Your subscription is not allowed because
the email address you gave is insecure.s   You are already subscribed!s0   No one can subscribe to the digest of this list!s-   This list only supports digest subscriptions!sc   Your subscription request has been forwarded to the list administrator
at %(listowner)s for review.s   Subscription request succeeded.(-   s   ress   mlists   Nones   digests   passwords   addresss   realnames   argnums   argss   args
   startswiths   lowers   resultss   appends   _s   STOPs   gethelps   digest_is_defaults   Utilss   MakeRandomPasswords	   parseaddrs   msgs
   get_senders   make_headers   decode_headers   hs   __unicode__s   encodes   UnicodeErrors   GetOwnerEmails	   listowners   UserDescs   userdescs   remotes	   AddMembers   Errorss   MembershipIsBanneds   MMBadEmailErrors   MMHostileAddresss   MMAlreadyAMembers   MMCantDigestErrors   MMMustDigestErrors   MMSubscribeNeedsConfirmations   responds   MMNeedApproval(   s   ress   argss   userdescs   args	   listowners   digests   argnums   realnames   mlists   addresss   passwords   remotes   h(    (    s.   /var/mailman/Mailman/Commands/cmd_subscribe.pys   process/   s    	 


	N(   s   __doc__s   email.Utilss	   parseaddrs   email.Headers   decode_headers   make_headers   Mailmans   Utilss   Errorss   Mailman.UserDescs   UserDescs   Mailman.i18ns   _s   STOPs   gethelps   process(
   s	   parseaddrs   Errorss   processs   make_headers   Utilss   STOPs   gethelps   UserDescs   decode_headers   _(    (    s.   /var/mailman/Mailman/Commands/cmd_subscribe.pys   ?   s   	