%PDF- %PDF-
Direktori : /lib/mailman/Mailman/MTA/ |
Current File : //lib/mailman/Mailman/MTA/Manual.pyc |
� ��ac @ s� d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z y e e f Wn e k r� d Z d Z n Xd � Z d � Z e e e d � Z e d � Z d S( s6 Creation/deletion hooks for manual /etc/aliases files.i����N( t StringIO( t mm_cfg( t Message( t Utils( t get_switchboard( t _t C_( t makealiasesi i c C s d d d � � Y} | � S( Nt Dummyc B s e Z d � Z e d � Z RS( c S s d S( N( ( t self( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyt lock* s c S s d S( N( ( R t unconditionally( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyt unlock, s ( t __name__t __module__R t FalseR ( ( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyR ) s ( ( ( R ( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyt makelock( s c C s d S( N( ( ( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyt clear1 s c C s+ | d k r d S| j � } t | � t d � } | rc t � } | sZ | t d � IJn | } n( | sw t d � GHn t d � GHt j } xB t | � D]4 \ } } | | d I| t | � d I| IJq� W| s� | Jd St j d d � } t j | | t d � | j � t j � } | j | � d S( Ns -unsubscribes1 The mailing list `%(listname)s' has been created via the through-the-web interface. In order to complete the activation of this mailing list, the proper /etc/aliases (or equivalent) file must be updated. The program `newaliases' may also have to be run. Here are the entries for the /etc/aliases file: s� To finish creating your mailing list, you must edit your /etc/aliases (or equivalent) file by adding the following lines, and possibly running the `newaliases' program: s ## %(listname)s mailing listt :t t extrat owners3 Mailing list creation request for list %(listname)s( t Nonet internal_namet lenR R R t syst stdoutR R t get_site_emailR t UserNotificationt getvalueR t DEFAULT_SERVER_LANGUAGEt send( t mlistt cgit nolockt quiett listnamet fieldszt sfpt outfpt kt vt siteownert msg( ( s` /builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/MTA/Manual.pyt create7 s6 , c C s5 | j � } t | � t d � } | rJ t � } | t d � IJ| } n t d � GHt j } xB t | � D]4 \ } } | | d I| t | � d I| IJqk W| s� | Jd St j d d � } t j | | t d � | j � t j � } t j j d d � | d <t t j � } | j | d | g d d �d S( Ns -unsubscribesO The mailing list `%(listname)s' has been removed via the through-the-web interface. In order to complete the de-activation of this mailing list, the appropriate /etc/aliases (or equivalent) file must be updated. The program `newaliases' may also have to be run. Here are the entries in the /etc/aliases file that should be removed: s� To finish removing your mailing list, you must edit your /etc/aliases (or equivalent) file by removing the following lines, and possibly running the `newaliases' program: ## %(listname)s mailing listR R R R s2 Mailing list removal request for list %(listname)st localtimei t Datet recipst nodecorate( R R R R R R R R R R R R R R R t emailt formatdateR t OUTQUEUE_DIRt enqueue( R R! R$ R% R&