home *** CD-ROM | disk | FTP | other *** search
Wrap
<% #include </utility/security.fts> #include </utility/global.fts> #include </utility/theme.fts> #include </utility/ftgate.fts> var sys = new server.system var s = new server.smtp var id session.system.error=0 if (form.config=="1") { id = form.id s.id = id s.auth.validatesender = (form.validatesender=="on") s.auth.neverrelay = (form.neverrelay=="on") s.auth.verifyfrom = (form.verifyfrom=="on") s.auth.relaysenderlock= (form.relaysenderlock=="on") s.auth.required = form.required s.auth.specific = form.specific s.auth.name = form.name if (form.password!="*******") s.auth.password = form.password s.mapsrbl = form.mapsrbl s.mapsdul = form.mapsdul id = form.id if (form.redirect!="") output.redirect(form.redirect+"?id="+id+"&type=smtp") } else if (form.config=="2") { if (form.redirect!="") output.redirect(form.redirect+"?id="+form.id+"&type=smtp") } else { s.id = request.id id = request.id } %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <LINK REL=STYLESHEET HREF="/utility/main<%=nn4%>.css" TYPE="text/css"> <META name="GENERATOR" content="Microsoft Developer Studio"> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <TITLE>Services -- SMTP Security</TITLE> <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript"> <!-- var dir="<%=buttons%>"; var pro=<%=build()==FTGATE_PRO%>; <% if (netscape) { %> document.captureEvents(Event.KEYPRESS); document.onkeypress = keypress; function keypress(event) { if (event.which==13) { onApply(); return false; } return true; } <% } else { %> function keypress() { if (event.keyCode==13) { event.returnValue=null; onApply(); } } <% } %> function onLoad() { setPage(5, "SMTP Service"); document.ftgate.validatesender.focus(); } function isOK(form) { return true; } //--> </SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/cookies.js" TYPE="text/javascript"></SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/core.js" TYPE="text/javascript"></SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/time.js" TYPE="text/javascript"></SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/dialog.js" TYPE="text/javascript"></SCRIPT> </HEAD> <BODY BGCOLOR="white" onLoad="onLoad()" MARGINHEIGHT="0" MARGINWIDTH="0" onkeypress="keypress()"> <TABLE BORDER="0" BGCOLOR="<%=border%>" WIDTH="<%=bodywidth%>" HEIGHT="<%=bodyheight%>" CELLPADDING="0" CELLSPACING="0"><TR><TD> </TD><TD VALIGN="TOP"> <A HREF="index.fts"><SPAN ID="top">Services</SPAN></A><SPAN ID="top"> /</SPAN> <SPAN ID="topsel"><%=s.name%></SPAN> <FORM NAME="ftgate" METHOD="POST" onSubmit="return isOK(this)" ACTION="securitysmtp.fts"> <!-- hidden variables --> <INPUT TYPE="HIDDEN" NAME="config" VALUE="1"> <INPUT TYPE="HIDDEN" NAME="command" VALUE="1"> <INPUT TYPE="HIDDEN" NAME="id" VALUE="<%=id%>"> <INPUT TYPE="HIDDEN" NAME="redirect" VALUE=""> <!-- start of the tabs --> <% if (build()==FTGATE_PRO) { %> <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0"> <TR> <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/left.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD> <TD CLASS="navoff" WIDTH="50" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('smtp.fts')" CLASS="navoff">General</A></TD> <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD> <TD CLASS="navoff" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('attached.fts')" CLASS="navoff">Domains</A></TD> <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD> <TD CLASS="navon" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('securitysmtp.fts')" CLASS="navon">Security</A></TD> <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD> <TD CLASS="navoff" WIDTH="50" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('addresssmtp.fts')" CLASS="navoff">Addresses</A></TD> <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/right.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD> <TD WIDTH="<%=bodywidth-223%>" HEIGHT="18"> </TD> </TR> </TABLE> <% } else { %> <TABLE BORDER="0" WIDTH="100%" CELLSPACING="0" CELLPADDING="0"> <TR> <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/left.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD> <TD CLASS="navoff" WIDTH="50" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('smtp.fts')" CLASS="navoff">General</A></TD> <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD> <TD CLASS="navon" WIDTH="55" HEIGHT="18" ALIGN="CENTER"><A HREF="javascript:onLaunch('securitysmtp.fts')" CLASS="navon">Security</A></TD> <TD BGCOLOR="black" WIDTH="1" HEIGHT="18" ALIGN="CENTER"><IMG SRC="/images/1pixel.gif" WIDTH="1" HEIGHT="18"></TD> <TD CLASS="navoff" WIDTH="50" HEIGHT="18"ALIGN="CENTER"><A HREF="javascript:onLaunch('addresssmtp.fts')" CLASS="navoff">Addresses</A></TD> <TD WIDTH="5" HEIGHT="18"><IMG SRC="/images/right.gif" VSPACE="0" BORDER="0" WIDTH="5" HEIGHT="18"></TD> <TD WIDTH="<%=bodywidth-167%>" HEIGHT="18"> </TD> </TR> </TABLE> <% } %> <!-- end of the tabs --> <!-- start of the tab body --> <TABLE BORDER="0" BGCOLOR="<%=border%>" WIDTH="100%" CELLPADDING="0" CELLSPACING="0"><TR><TD> <TABLE <%=table%> CELLPADDING="0" CELLSPACING="0"> <!-- start of block --> <TR> <TD VALIGN="TOP"> <TABLE BORDER="0" WIDTH="100%"> <!-- sub table goes here --> <TR> <TD> <TABLE CLASS="box" WIDTH="100%"> <TR> <TD> <TABLE WIDTH="100%"> <TR> <TD> <TABLE BORDER="0" WIDTH="100%"> <TR> <TH>Relay Control</TH> </TR> <TR> <TD> By default <%=sys.serverid%> will only relay from machines included in the <A HREF="addresssmtp.fts?id=<%=id%>">Allowed Relay Address List</A> or those that have had a valid SMTP AUTH operation </TD> </TR> <TR> <TH>In addition you can:</TH> </TR> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="validatesender" onChange="setModified(true)" <% if (s.auth.validatesender) output.write("CHECKED") %>>Allow relay from POP3 validated machines </TD> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="neverrelay" onChange="setModified(true)" <% if (s.auth.neverrelay) output.write("CHECKED") %>>Prohibit relay messages from all sources </TD> </TR> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="relaysenderlock" onChange="setModified(true)" <% if (s.auth.relaysenderlock) output.write("CHECKED") %>>Only relay if sender's address is hosted by this server (<A HREF="addresssmtp.fts?id=<%=id%>">Address restrictions still apply</A>) </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <!-- sub table ends here --> <!-- sub table goes here --> <TR> <TD> <TABLE CLASS="box" WIDTH="100%"> <TR> <TD> <TABLE WIDTH="100%"> <TR> <TD> <TABLE BORDER="0" WIDTH="100%"> <TR> <TH>Validation</TH> </TR> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="verifyfrom" onChange="setModified(true)" <% if (s.auth.verifyfrom) output.write("CHECKED") %>>Validate that sender's domain exists </TD> </TR> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="mapsdul" onChange="setModified(true)" <% if (s.mapsdul) output.write("CHECKED") %>>Validate incoming servers with the MAPS DUL list </TD> </TR> <TR> <TD> <INPUT TYPE="CHECKBOX" NAME="mapsrbl" onChange="setModified(true)" <% if (s.mapsrbl) output.write("CHECKED") %>>Validate incoming servers with the MAPS RBL list </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <!-- sub table ends here --> <!-- sub table goes here --> <TR> <TD> <TABLE CLASS="box" WIDTH="100%"> <TR> <TD> <TABLE WIDTH="100%"> <TR> <TD> <TABLE BORDER="0" WIDTH="100%"> <TR> <TH>Access Control</TH> </TR> <TR> <TD COLSPAN="3"><INPUT TYPE="RADIO" NAME="required" onClick="setModified(true)" VALUE="0" <% if (s.auth.required==0) output.write("CHECKED") %>>Allow messages from all sources</TD> </TR> <TR> <TD COLSPAN="3"><INPUT TYPE="RADIO" NAME="required" onClick="setModified(true)" VALUE="1" <% if (s.auth.required) output.write("CHECKED") %>>Only allow messages from AUTHenticated sources</TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <!-- sub table ends here --> <!-- sub table goes here --> <TR> <TD> <TABLE CLASS="box" WIDTH="100%"> <TR> <TD> <TABLE WIDTH="100%"> <TR> <TD> <TABLE BORDER="0" WIDTH="100%"> <TR> <TH COLSPAN="3">SMTP AUTH</TH> </TR> <TR> <TD WIDTH="10"> </TD> <TD COLSPAN="2"><INPUT TYPE="RADIO" NAME="specific" onClick="setModified(true)" VALUE="0" <% if (s.auth.specific==0) output.write("CHECKED") %>>Allow AUTH logon with mailbox username and password</TD> </TR> <TR> <TD WIDTH="10"> </TD> <TD COLSPAN="2"><INPUT TYPE="RADIO" NAME="specific" onClick="setModified(true)" VALUE="1" <% if (s.auth.specific) output.write("CHECKED") %>>Only allow AUTHorization using the following name and password</TD> </TR> <TR> <TD WIDTH="10"> </TD> <TD>Name</TD><TD><INPUT TYPE="TEXT" NAME="name" SIZE="<%=size20%>" VALUE="<%=s.auth.name%>" onChange="setModified(true)"></TD> </TR> <TR> <TD WIDTH="10"> </TD> <TD>Password</TD><TD><INPUT TYPE="PASSWORD" NAME="password" SIZE="<%=size20%>" VALUE="*******"></TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> </TABLE> </TD> </TR> <!-- sub table ends here --> <!-- table footer goes here --> <TR> <TD ALIGN="RIGHT"> <A HREF="javascript:onClose()" onMouseDown="change('closeA', 'ok', 1)" onMouseOut="change('closeA', 'ok', 0)"><IMG SRC="<%=buttons%>ok.gif" NAME="closeA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Apply changes and close" HSPACE="5"></A> <A HREF="javascript:onCancel()" onMouseDown="change('cancelA', 'cancel', 1)" onMouseOut="change('cancelA', 'cancel', 0)"><IMG SRC="<%=buttons%>cancel.gif" NAME="cancelA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Cancel"></A> <A HREF="javascript:onApply()" onMouseDown="change('applyA', 'apply', 1)" onMouseOut="change('applyA', 'apply', 0)"><IMG SRC="<%=buttons%>apply.gif" NAME="applyA" BORDER="0" WIDTH="50" HEIGHT="20" ALT="Apply changes" HSPACE="5"></A> </TD> </TR> <!-- table footer ends here --> </TABLE> </TD> </TR> <!-- end of block --> </TABLE> <!-- end of the tab body --> </TD></TR></TABLE> <!-- footer starts here --> <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript"> <!-- var href="/services/securitysmtp.fts?id=<%=id%>"; var bodywidth=<%=bodywidth%>; //--> </SCRIPT> <SCRIPT LANGUAGE="JavaScript1.2" SRC="/utility/footer.js" TYPE="text/javascript"></SCRIPT> <!-- footer ends here --> </FORM> </TD><TD WIDTH="10"> </TD></TR></TABLE> </BODY> </HTML>