home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Komunik / sambar / sambar51p.exe / sysadmin / maillist / newlist.stm < prev    next >
Encoding:
Text File  |  2002-03-02  |  5.1 KB  |  162 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  4. <META HTTP-EQUIV="Expires" CONTENT="-1">
  5. </HEAD>
  6. <BODY bgcolor=#ffffff>
  7. <CENTER><FONT SIZE=6>Create a New Mailing List</FONT></CENTER>
  8. <BR>
  9. <SCRIPT language="JavaScript">
  10. <!--
  11.  
  12. var inValid = ":|/ ";
  13.  
  14. function Form_Validator(theForm)
  15. {
  16.     var alertstr = "Please correct the following\n";
  17.  
  18.     if (theForm.name.value == "")
  19.     {
  20.         alert(alertstr + "Enter a value for the \"Mailing List\" field.");
  21.         theForm.name.focus();
  22.         return (false);
  23.     }
  24.  
  25.     if (theForm.email.value == "")
  26.     {
  27.         alert(alertstr + "Enter a value for the \"List Administrators\" field.");
  28.         theForm.email.focus();
  29.         return (false);
  30.     }
  31.  
  32.     for (j = 0; j < theForm.name.value.length; j++)
  33.     {
  34.         if (inValid.indexOf(theForm.name.value.charAt(j)) != -1)
  35.         {
  36.             alert(alertstr + "The \"Mailing List\" contains invalid characters (:|/ )");
  37.             theForm.name.focus();
  38.             return (false);
  39.         }
  40.     }
  41. }
  42. //-->
  43. </SCRIPT>
  44. <BR>
  45. <FORM METHOD="POST" ACTION="/session/mlistcreate" TARGET="_top" onsubmit="return Form_Validator(this)">
  46. <INPUT TYPE="hidden" NAME="RCpage" VALUE="/sysadmin/maillist/index.htm">
  47.  
  48. <TABLE border=0 cellpadding=5 cellspacing=2 width=550>
  49. <TR valign=top>
  50. <TD align=right><B>Mailing List</B></TD>
  51. <TD><INPUT TYPE="text" NAME="name" VALUE="" SIZE=40 MAXLENGTH=200>
  52. <BR>
  53. <font size=-1><I>
  54. For machines hosting multiple domains, the mailing list name can include 
  55. the domain to allow for host-specific email addresses.  
  56. For example, the mailing list <CODE>all@sambar.com</CODE>
  57. and <CODE>all@sambar.org</CODE> are both hosted on the same machine
  58. but are separate mailing lists, whereas the mailing list <CODE>webmaster</CODE>
  59. results in mail to a mailing list of either domain being distributed to the
  60. same mailing list subscribers.</I></font>
  61. </TD>
  62. </TR>
  63. <TR VALIGN=top>
  64. <TD align=right><B>Allow users to subscribe?</B></TD>
  65. <TD><INPUT TYPE=radio NAME=newusers VALUE="yes" CHECKED> Yes
  66.     <INPUT TYPE=radio NAME=newusers VALUE="no"> No</TD>
  67. </TR>
  68. <TR VALIGN=top>
  69. <TD align=right><B>Who can post...</B></TD>
  70. <TD>
  71. <SELECT NAME="post">
  72. <OPTION VALUE=all> All Users
  73. <OPTION VALUE=subscribers SELECTED> List Subscribers
  74. <OPTION VALUE=administrators> List Administrators
  75. </SELECT>
  76. </TD>
  77. </TR>
  78. <TR VALIGN=top>
  79. <TD align=right><B>List Administrators</B></TD>
  80. <TD><INPUT TYPE="text" NAME="email" VALUE="" SIZE=40 MAXLENGTH=200><BR>
  81. <font size=-1><i>Enter a comma-separated list of e-mail addresses.</i></font>
  82. </TD>
  83. </TR>
  84. <TR VALIGN=top>
  85. <TD align=right><B>Outgoing Mail Account</B></TD>
  86. <TD><INPUT TYPE="text" NAME="sender" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  87. <font size=-1><i>Outgoing from <B>author</B>, <B>list</B> or specify 
  88. an e-mail address</i></font>
  89. </TD>
  90. </TR>
  91. <TR VALIGN=top>
  92. <TD align=right><B>Allow mail messages with attachments?</B></TD>
  93. <TD><INPUT TYPE=radio NAME=attachments VALUE="yes" CHECKED> Yes
  94.     <INPUT TYPE=radio NAME=attachments VALUE="no"> No<BR>
  95. <font size=-1><i>If attachments are not allowed, all multipart mail messages 
  96. are denied.  This may include MS Outlook HTML mail.</i></font>
  97. </TD>
  98. </TR>
  99. <TR VALIGN=top>
  100. <TD align=right><B>Send mail to <I>author</I> of mail message?</B></TD>
  101. <TD><INPUT TYPE=radio NAME=copyauthor VALUE="yes" CHECKED> Yes
  102.     <INPUT TYPE=radio NAME=copyauthor VALUE="no"> No<BR>
  103. <font size=-1><i>By not copying the <B>author</B> some bounce messages can be avoided</i></font>
  104. </TD>
  105. </TR>
  106. <TR VALIGN=top>
  107. <TD align=right><B>Reply-to Address</B></TD>
  108. <TD><INPUT TYPE="text" NAME="replyto" VALUE="author" SIZE=40 MAXLENGTH=40><BR>
  109. <font size=-1><i>Reply-to from <B>author</B>, <B>list</B> or specify 
  110. an e-mail address</i></font>
  111. </TD>
  112. </TR>
  113. <TR VALIGN=top>
  114. <TD align=right><B>Faulty addresses...</B></TD>
  115. <TD>
  116. <INPUT TYPE="radio" NAME="badaddr" VALUE="unsubscribe" CHECKED> Unsubscribe<BR>
  117. <INPUT TYPE="radio" NAME="badaddr" VALUE="forward"> Forward<BR>
  118. <INPUT TYPE="radio" NAME="badaddr" VALUE="both"> Both<BR>
  119. </TD>
  120. </TR>
  121. <TR VALIGN=top>
  122. <TD align=right><B>Maximum Users</B></TD>
  123. <TD>
  124. <INPUT TYPE="text" NAME="maxusers" VALUE="0"><BR>
  125. <font size=-1><i>The maximum users permitted to subscribe to the list.
  126. A value of zero (0) indicates unlimited number of users are allowed.</i></font>
  127. </TD>
  128. </TR>
  129. <TR VALIGN=top>
  130. <TD align=right><B>Maximum Message Size</B></TD>
  131. <TD>
  132. <INPUT TYPE="text" NAME="maxsize" VALUE="0"><BR>
  133. <font size=-1><i>The maximum message size (in bytes) permitted.
  134. A value of zero (0) indicates unlimited size messages may be sent.</i></font>
  135. </TD>
  136. </TR>
  137. <TR VALIGN=top>
  138. <TD align=right><B>Message Subject Prefix</B></TD>
  139. <TD><INPUT TYPE="text" NAME="prefix" VALUE="" SIZE=40 MAXLENGTH=40>
  140. </TD>
  141. </TR>
  142. <TR>
  143. <TR VALIGN=top>
  144. <TD align=right><B>Message Footer Message</B></TD>
  145. <TD><TEXTAREA NAME="footer" ROWS=4 COLS=60></TEXTAREA>
  146. </TD>
  147. </TR>
  148. <TR>
  149. <TD></TD>
  150. <TD><INPUT TYPE="submit" VALUE="Create Mailing List">
  151. <P>
  152. <font size=-1><I>Note: </I> Subscribe and unsubscribe messages can be placed
  153. in the <B>maillist/<I>listname</I></B> directory using the file 
  154. names <B>subscribe.txt</B> and <B>unsubscribe.txt</B>.</font>
  155. </TD>
  156. </TR>
  157. </TABLE>
  158. </FORM>
  159. </CENTER>
  160. </BODY>
  161. </HTML>
  162.