Viewing File: /usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pyc

ó
*¿Úhc@sfdZddlmZddlmZddlmZddlmZdZdefd„ƒYZ	d
S(s)Administrative GUI for the autoresponder.iÿÿÿÿ(tmm_cfg(tUtils(t_(tGUIBasetlistnametlisturltrequestemailt
adminemailt
owneremailtAutoresponsecBs&eZd„Zdd„Zd„ZRS(cCsdtdƒfS(Nt	autoreplysAuto-responder(R(tself((s>/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pytGetConfigCategorysc
Cs4|dkrdStj}tdƒdtjtdƒtdƒfdtdƒfdtjd	|fdtd
ƒfdtjtdƒtdƒfdtdƒfd
tjd	|fdtdƒfdtjtdƒtdƒtdƒfdtdƒfdtjd	|fdtdƒfdtjddtdƒfgS(NR
sBAuto-responder characteristics.<p>

In the text fields below, string interpolation is performed with
the following key/value substitutions:
<p><ul>
    <li><b>listname</b> - <em>gets the name of the mailing list</em>
    <li><b>listurl</b> - <em>gets the list's listinfo URL</em>
    <li><b>requestemail</b> - <em>gets the list's -request address</em>
    <li><b>owneremail</b> - <em>gets the list's -owner address</em>
</ul>

<p>For each text field, you can either enter the text directly into the text
box, or you can specify a file on your local system to upload as the text.tautorespond_postingstNotYesisJShould Mailman send an auto-response to mailing list
             posters?tautoresponse_postings_textis3Auto-response text to send to mailing list posters.tautorespond_adminsWShould Mailman send an auto-response to emails sent to the
             -owner address?tautoresponse_admin_texts,Auto-response text to send to -owner emails.tautorespond_requestssYes, w/discardsYes, w/forwardsÿShould Mailman send an auto-response to emails sent to the
             -request address?  If you choose yes, decide whether you want
             Mailman to discard the original email, or forward it on to the
             system as a normal mail command.tautoresponse_request_texts.Auto-response text to send to -request emails.tautoresponse_graceperiodisíNumber of days between auto-responses to either the mailing
             list or -request/-owner address from the same poster.  Set to
             zero (or negative) for no grace period (i.e. auto-respond to
             every message).(tNoneRtTEXTFIELDWIDTHRtTogglet
FileUploadtRadiotNumber(RtmlisttcategorytsubcattWIDTH((s>/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pyt
GetConfigInfo!s6	
!		!			!		cCsW|dkr:|j||t||ƒ}|dkr:dSntj|||||ƒdS(NRRR(sautoresponse_postings_textsautoresponse_admin_textsautoresponse_request_text(t_convertStringtALLOWEDSRRt	_setValue(RRtpropertytvaltdoc((s>/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pyR#Xs	N(t__name__t
__module__RRR R#(((s>/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pyR	s	7N(slistnameRRRs
owneremail(
t__doc__tMailmanRRtMailman.i18nRtMailman.Gui.GUIBaseRR"R	(((s>/usr/local/cpanel/3rdparty/mailman/Mailman/Gui/Autoresponse.pyt<module>s
Back to Directory File Manager