<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript">
<!--
function setTitle(){
	||ifequal||top||_top||
		window.top.document.title = "||cust_title|| - ||current_user|| - Filtering Rules";
	||endif||
}
//-->
</script>
||just_include||configfcss.tpl||
<title>Filtering Rules</title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onload="setTitle();">
<form name="configform" method="post" action="||action||">
	<input type="hidden" name="force_connection" value="true" />
	<input type="hidden" name="host_name0" value="||host_name0||" />
	<input type="hidden" name="host_user0" value="||host_user0||" />
	<input type="hidden" name="host_prefix0" value="||host_prefix0||" />
	<input type="hidden" name="page" value="configf" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="bypass_filter_flags" value="true" />

	||ifdef||error||
		<center>
		<table border="1">
			<tr>
				<td><img src="||nwimg||/attention.gif" alt="Attention" /></td>
				<td bgcolor="ffffff">||error||</td>
			</tr>
		</table>
		</center>
	||endif||

	||ifdef||msg||
		<center>
		<table border="1">
			<tr>	<td bgcolor="ffffff">||msg||</td>
			</tr>
		</table>
		</center>
	||endif||

	<center>
	<p>&nbsp;</p>
	<table width="85%"><tr><td><table bgcolor="#eeeeff" cellspacing="0" cellpadding="2">
	<tr bgcolor="#D6D6CE">
		<th>New Mail Filtering Rules</th>
		<td align="right"><input type="image" name="saveconfig_filter" src="||nwimg||/save.gif" alt="Save" /></td>
	</tr>
	<tr>
		<td colspan="2">
			You can setup filtering rules to identify a particular message. Eg. if the "Subject"
			containg the word "Coffee" or if the message comes "From" the address "myfriend@home.com".<br />
			Once a message has been identified you can get the action to "Move" or "Copy" the message to the "Destination Folder"
			or "Forward" the message to the "Destination Address".
		</td>
	</tr>
	<tr><td colspan="2"><table border="1">
	<tr>
		<th>If Header</th>
		<th>Contains </th>
		<th>Action</th>
		<th>Destination Folder</th>
		<th>Destination Address</th>
		<th>Case Sensitive</th></tr>

		||begin_rules||
		<tr>
			<td>
				<select name="r_header||n||" size="1">
					<option value="(No Rule)">||r_headers||</option>
					<!--<option value="X-SpamDetect" ||ifequal||r_headers_x||X-SpamDetect||selected||endif||>X-SpamDetect</option>-->
					<!--<option value="X-Spam-Level" ||ifequal||r_headers_x||X-Spam-Level||selected||endif||>X-Spam-Level</option>-->
					<!--<option value="X-Spam-Score" ||ifequal||r_headers_x||X-Spam-Score||selected||endif||>X-Spam-Score</option>-->
					<!--<option value="X-ORBS-Stamp" ||ifequal||r_headers_x||X-ORBS-Stamp||selected||endif||>X-ORBS-Stamp</option>-->
					<!--<option value="Sender" ||ifequal||r_headers_x||Sender||selected||endif||>Sender</option>-->
					<!--<option value="List-Id" ||ifequal||r_headers_x||List-Id||selected||endif||>List-Id</option>-->
					<!--<option value="List-Post" ||ifequal||r_headers_x||List-Post||selected||endif||>List-Post</option>-->
				</select>
			</td>
			<td><input type="text" size="10" maxlength="256" name="r_contains||n||" value="||r_contains||" /></td>
			<td>
				<select name="r_action||n||" size="1">
					<option value="(No action)">||r_actions||</option>
				</select>
			</td>
			<td>
				<select name="r_dstfld||n||" size="1">
					<option>||r_folders||</option>
				</select>
			</td>
			<td><input type="text" size="20" maxlength="256" name="r_addr||n||" value="||r_addr||" /></td>
			<td align="center"><input type="checkbox" name="r_iscase||n||" ||ifequal||r_iscase||checked||checked="checked"||endif|| value="checked" /></td>
		</tr>
		||end_rules||
	</table></td></tr></table></td></tr></table>
	</center>
</form>
</body>
</html>
