<script type="text/javascript">
<!--- hide script from old browsers
function show_file(cmd)
{
	document.managerxform.cmd.value = 'do_manager_file';
	document.managerxform.file.value = cmd;
	document.managerxform.mytpl.value = 'manager_file.tpl';
	document.managerxform.submit();
}
// end hiding from old browsers -->
</script>


<table cellspacing="1" cellpadding="0">
<tr>
	<td align="center"><br>

	<table class="smb" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr>
		<td bgcolor="||color_menu||" colspan="2">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>	
				<th width="100%">WebMail Logs Files</th>
			</tr>
			</table>
		</td>
	</tr>
	<tr><td>
		<table cellpadding="0" cellspacing="0">
		<tr>
			<td align="center">
			<table>
			<tr>	<td colspan="5"><b>Basic Debugging Logs</b></td><tr>
			<tr>	<td align="right">Log Level:</td>
				<td>&nbsp;</td>
				<td><b>||ifequal||debug||true||debug||else||||log_level||||endif||</b></td>
				<td>&nbsp;</td>
				<td>log_level info</td>
				||ifnequal||no_log||true||
					<td><a href="javascript:show_file('webmail.log')">view</a></td>
				||endif||
			</tr>
	
			<tr>	<td align="right">Log Path:</td>
				<td>&nbsp;</td>
				<td><b>||log_path||</b></td>
				<td>&nbsp;</td>
				<td>log_path c:\webmail\</td>
			</tr>
			<tr>	<td align="right">Socket Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||debug_socket||||debug_socket||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>debug_socket c:\webmail\socket.log</td>
			</tr>
			<tr>	<td align="right">Webserver In Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||webserver_in||||webserver_in||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>webserver_in c:\webmail\web_in.log</td>
			</tr>
			<tr>	<td align="right">Webserver Out Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||webserver_out||||webserver_out||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>webserver_out c:\webmail\web_out.log</td>
			</tr>
			<tr>	<td align="right">Post Cmd Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||log_post||||log_post||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>log_post c:\webmail\post.log</td>
				||ifnempty||log_post||
					<td><a href="javascript:show_file('||log_post||')">view</a></td>
				||endif||
			</tr>



			<tr>	<td colspan="5"><b>Stat Logs</b></td><tr>
			<tr>	<td align="right">Login Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifequal||log_login_users||true||enabled||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>log_login_users true</td>
			</tr>
			<tr>	<td align="right">Sent Email Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifequal||log_sent_emails||true||enabled||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>log_sent_emails true</td>
			</tr>
			<tr>	<td align="right">SMTP Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||smtp_out||||smtp_out||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>smtp_out c:\webmail\smtp.log</td>
				||ifdef||smtp_out||
					<td><a href="javascript:show_file('||smtp_out||')">view</a></td>
				||endif||
			</tr>
			<tr>	<td align="right">Outgoing Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||outgoing||||outgoing||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>outgoing c:\webmail\stats.log</td>
				||ifdef||outgoing||
					<td><a href="javascript:show_file('||outgoing||')">view</a></td>
				||endif||

			</tr>
			<tr>	<td align="right">Ingoing Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||ingoing||||ingoing||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>ingoing c:\webmail\stats.log</td>
				||ifdef||ingoing||
					<td><a href="javascript:show_file('||ingoing||')">view</a></td>
				||endif||
			</tr>
			<tr>	<td colspan="5"><b>Command Logs</b></td><tr>
			<tr>	<td align="right">Command Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifdef||cmd_log||||cmd_log||||else||disabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>cmd_log c:\webmail\cmd.log</td>
				||ifdef||cmd_log||
					<td><a href="javascript:show_file('||cmd_log||')">view</a></td>
				||endif||
			</tr>
			<tr>	<td align="right">Slow Command Log:</td>
				<td>&nbsp;</td>
				<td><b>||ifequal||disable_slow_log||true||disabled||else||enabled||endif||</b></td>
				<td>&nbsp;</td>
				<td>disable_slow_log true</td>
				||ifequal||disable_slow_log||true||
				||else||
				<td><a href="javascript:show_file('slow.log')">view (slow.log)</a></td>
				||endif||
			</tr>

			</table>

			</td>
		</tr>
		</table>
	</td></tr>
	</table>
	</td>
</tr>		
</table>

||ifdef||result||
<br>
<table class="smb" bgcolor="||color_menu||">
<tr> <td bgcolor="ffffff">||result||</td></tr>
</table>
||endif||
